Public Member Functions | Protected Attributes | List of all members
flat::FlatMuId Class Reference

Flat encoding of SRMuId. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/FlatMaker/FlatMuId.h"

Public Member Functions

 FlatMuId (const std::string &prefix, TTree *tr, const IBranchPolicy *policy)
 
 ~FlatMuId ()
 
void Fill (const caf::SRMuId &sr)
 

Protected Attributes

int pdg
 
float pid
 
float scatllh
 
float dedxllh
 
float len
 
float measfrac
 
int cont
 

Detailed Description

Flat encoding of SRMuId.

Definition at line 20 of file FlatMuId.h.

Constructor & Destructor Documentation

flat::FlatMuId::FlatMuId ( const std::string prefix,
TTree *  tr,
const IBranchPolicy policy 
)

Definition at line 2526 of file FlatRecord.cxx.

References compare_h5_caf::branch, make_root_from_grid_output::measfrac, flat::FlatBpfId::pdg, and flat::FlatBpfId::pid.

2527 {
2528  branch(tr, prefix+"pdg", &pdg, policy);
2529  branch(tr, prefix+"pid", &pid, policy);
2530  branch(tr, prefix+"scatllh", &scatllh, policy);
2531  branch(tr, prefix+"dedxllh", &dedxllh, policy);
2532  branch(tr, prefix+"len", &len, policy);
2533  branch(tr, prefix+"measfrac", &measfrac, policy);
2534  branch(tr, prefix+"cont", &cont, policy);
2535 }
const XML_Char int len
Definition: expat.h:262
float dedxllh
Definition: FlatMuId.h:32
float scatllh
Definition: FlatMuId.h:31
float measfrac
Definition: FlatMuId.h:34
const XML_Char * prefix
Definition: expat.h:380
flat::FlatMuId::~FlatMuId ( )

Definition at line 2537 of file FlatRecord.cxx.

2538 {
2539 }

Member Function Documentation

void flat::FlatMuId::Fill ( const caf::SRMuId sr)

Definition at line 2541 of file FlatRecord.cxx.

References caf::SRMuId::cont, caf::SRMuId::dedxllh, caf::SRMuId::len, caf::SRMuId::measfrac, make_root_from_grid_output::measfrac, caf::SRMuId::pdg, flat::FlatBpfId::pdg, caf::SRMuId::pid, flat::FlatBpfId::pid, and caf::SRMuId::scatllh.

2542 {
2543  pdg = sr.pdg;
2544  pid = sr.pid;
2545  scatllh = sr.scatllh;
2546  dedxllh = sr.dedxllh;
2547  len = sr.len;
2548  measfrac = sr.measfrac;
2549  cont = sr.cont;
2550 }
const XML_Char int len
Definition: expat.h:262
float measfrac
Fraction of planes used to measure dE/dx.
Definition: SRMuId.h:24
float dedxllh
Definition: FlatMuId.h:32
float scatllh
Definition: FlatMuId.h:31
float len
Track length of identified track.
Definition: SRMuId.h:23
int pdg
PDG code of identified track, pion or muon.
Definition: SRMuId.h:19
int cont
True if track is contained as defined by ReMId.
Definition: SRMuId.h:25
float dedxllh
Log-likelihood value from dE/dx.
Definition: SRMuId.h:22
float measfrac
Definition: FlatMuId.h:34
float pid
PID value output by kNN.
Definition: SRMuId.h:20
float scatllh
Log-likelihood value from scattering angle.
Definition: SRMuId.h:21

Member Data Documentation

int flat::FlatMuId::cont
protected

Definition at line 35 of file FlatMuId.h.

float flat::FlatMuId::dedxllh
protected

Definition at line 32 of file FlatMuId.h.

float flat::FlatMuId::len
protected

Definition at line 33 of file FlatMuId.h.

float flat::FlatMuId::measfrac
protected

Definition at line 34 of file FlatMuId.h.

int flat::FlatMuId::pdg
protected

Definition at line 29 of file FlatMuId.h.

float flat::FlatMuId::pid
protected

Definition at line 30 of file FlatMuId.h.

float flat::FlatMuId::scatllh
protected

Definition at line 31 of file FlatMuId.h.


The documentation for this class was generated from the following files: