#include <ClusterNtuple.h>
Definition at line 22 of file ClusterNtuple.h.
◆ clean()
| void ClusterSeg::ClusterNtuple::clean |
( |
std::vector< Cluster * > & | clusters | ) |
|
|
static |
◆ fill() [1/3]
| void ClusterSeg::ClusterNtuple::fill |
( |
const Cluster & | cluster | ) |
|
Definition at line 54 of file ClusterNtuple.cxx.
54 {
65 }
static const int CLUSTERSIZE
bool isMatch[CLUSTERSIZE]
◆ fill() [2/3]
| void ClusterSeg::ClusterNtuple::fill |
( |
const double & | fillVal, |
|
|
FillType | theFillType ) |
Definition at line 67 of file ClusterNtuple.cxx.
67 {
72 }
73
78 }
79
84 }
85
90 }
91
92 }
double chi2T[CLUSTERSIZE]
double residual[CLUSTERSIZE]
double residualT[CLUSTERSIZE]
◆ fill() [3/3]
| void ClusterSeg::ClusterNtuple::fill |
( |
const std::vector< Cluster * > & | clusters | ) |
|
Definition at line 50 of file ClusterNtuple.cxx.
50 {
51 for(
const auto& it: clusters)
fill(*it);
52 }
void fill(const double &fillVal, FillType theFillType)
◆ init()
| void ClusterSeg::ClusterNtuple::init |
( |
| ) |
|
◆ initForRead()
| void ClusterSeg::ClusterNtuple::initForRead |
( |
TTree & | tree | ) |
|
◆ initForWrite()
| void ClusterSeg::ClusterNtuple::initForWrite |
( |
TTree & | tree | ) |
|
Definition at line 17 of file ClusterNtuple.cxx.
17 {
20 tree.Branch(
"x",&
x,
"x[nclusters]/D");
21 tree.Branch(
"y",&
y,
"y[nclusters]/D");
22 tree.Branch(
"z",&
z,
"z[nclusters]/D");
23 tree.Branch(
"isPhi",&
isPhi,
"isPhi[nclusters]/O");
24 tree.Branch(
"techIndex",&
tIndex,
"techIndex[nclusters]/I");
25 tree.Branch(
"phiIndex",&
pIndex,
"phiIndex[nclusters]/I");
26 tree.Branch(
"isMatch",&
isMatch,
"isMatch[nclusters]/O");
27 tree.Branch(
"barcode",&
barcode,
"barcode[nclusters]/I");
29 tree.Branch(
"chi2",&
chi2,
"chi2[ntracks]/D");
31 tree.Branch(
"chi2T",&
chi2T,
"chi2T[ntracksT]/D");
36 }
◆ read()
| bool ClusterSeg::ClusterNtuple::read |
( |
std::vector< Cluster * > & | clusters | ) |
|
Definition at line 102 of file ClusterNtuple.cxx.
102 {
105 if(
log.level()<=MSG::DEBUG)
log << MSG::DEBUG <<
" ntuple not initialized for reading " <<
endmsg;
106 return false;
107 }
108
112 }
113
114 return true;
115 }
IMessageSvc * getMessageSvc(bool quiet=false)
◆ reset()
| void ClusterSeg::ClusterNtuple::reset |
( |
| ) |
|
◆ barcode
◆ chi2
◆ chi2T
◆ CLUSTERSIZE
| const int ClusterSeg::ClusterNtuple::CLUSTERSIZE = 50000 |
|
static |
◆ isMatch
◆ isPhi
◆ nclusters
| int ClusterSeg::ClusterNtuple::nclusters |
◆ nMDT
| int ClusterSeg::ClusterNtuple::nMDT |
◆ nMDTT
| int ClusterSeg::ClusterNtuple::nMDTT |
◆ ntracks
| int ClusterSeg::ClusterNtuple::ntracks |
◆ ntracksT
| int ClusterSeg::ClusterNtuple::ntracksT |
◆ pIndex
◆ residual
| double ClusterSeg::ClusterNtuple::residual[CLUSTERSIZE] |
◆ residualT
| double ClusterSeg::ClusterNtuple::residualT[CLUSTERSIZE] |
◆ tIndex
The documentation for this struct was generated from the following files: