22#include <TChainElement.h>
27#pragma link C++ class std::vector<int> +;
28#pragma link C++ class std::vector<double> +;
29#pragma link C++ class std::vector<float> +; Loader
60 std::vector<std::vector<float> > *
NN_phi;
139 virtual Int_t
Cut(Long64_t entry);
143 virtual void Loop(
int nParticlesTraining,
bool useTrackEstimate, TString outFileName);
145 virtual void Show(Long64_t entry = -1);
154#ifdef writeNtuple_cxx
158 : m_PixChargeList(nullptr),
166 TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject(
"AnalysisSkeleton.aan.root");
168 f =
new TFile(
"AnalysisSkeleton.aan.root");
170 tree = (TTree*)
f->Get(
"Validation/NNinput");
175 tree2 =
new TChain(
"Validation/PixelRIOs");
176 TIter
next(
static_cast<TChain*
>(
tree)->GetListOfFiles());
178 while( ( obj =
static_cast<TChainElement*
> (
next()) ) ) {
191 delete fChain->GetCurrentFile();
198 return fChain->GetEntry(entry);
204 Long64_t centry =
fChain->LoadTree(entry);
205 if (centry < 0)
return centry;
206 if (!
fChain->InheritsFrom(TChain::Class()))
return centry;
423 float PixTLorPhi = 0.;
424 float PixTLorEta = -1000.;
425 float PixBiasVolt = -1000.;
426 float PixTemp = -1000.;
427 float PixDepVolt = -1000.;
445 int ECBarrel =
fOther->PixECBarrel->at(clus);
455 PixDetType = 100+
Layer;
458 if( ECBarrel == -2 ){
459 PixDetType = -100-
Layer;
std::vector< int > * m_PixIsFake
if the cluster is marked as fake UNIT:1:yes
virtual void FillClusterInfo(int clus)
std::vector< float > * m_PixFirstRow
lower row of the pixels contained in the cluster UNIT:index
std::vector< float > * m_PixBiasVolt
Bias voltage (from conditions service) UNIT:V ?
std::vector< float > * m_PixLocY
local y coordinate of the cluster UNIT:mm
std::vector< float > * m_PixDepVolt
Depletion voltage (from conditions service) UNIT:kV?
TBranch * b_NN_matrixOfToT
writeNtuple(TTree *tree=0)
virtual void InitializeVectors()
std::vector< float > * m_PixGloX
global X position of the cluster UNIT:mm
std::vector< float > * m_PixLocX
local x coordinate of the cluster UNIT:mm
std::vector< std::vector< float > > * NN_positionX
TBranch * b_NN_columnWeightedPosition
std::vector< std::vector< float > > * NN_position_idY
writeNtuple & operator=(const writeNtuple &)=delete
std::vector< float > * m_PixTrkQ
charge of the associated track UNIT:+/-1
std::vector< float > * m_PixGloY
global Y position of the cluster UNIT:mm
std::vector< double > * NN_localRowWeightedPosition
std::vector< int > * m_PixDeltaCol_t
Pixel cluster size eta or column UNIT:mm.
std::vector< float > * m_PixPullEta
TBranch * b_NN_ClusterPixBarrelEC
std::vector< float > * m_PixTrkClusGroupSize
total size of the cluster UNIT:cells
std::vector< float > * m_PixTrkEta
track incidence pseudorapidity in local module reference frame
std::vector< float > * m_PixTrkThetaI
track incidence angle on the module (eta-normal plane) in local reference frame UNIT:rad
std::vector< float > * m_PixDigResEta
local eta residual obtained from using the cluster digital coords UNIT:mm
std::vector< float > * m_PixOmegaEta_t
Pixel charge sharing variable, eta clustering UNIT:1.
TBranch * b_NN_position_idX
std::vector< int > * m_PixHasGanged
if the cluster contains ganged pixels UNIT:1:yes
std::vector< std::vector< float > > * NN_positionY
virtual Long64_t LoadTree(Long64_t entry)
std::vector< float > * m_PixTLorEta
tangent of the lorentz angle (local y direction - should be 0!) UNIT:1
std::vector< float > * m_PixTrkAngle
track incidence angle on the module (rphi plane) in local reference frame UNIT:rad
TBranch * b_NN_position_idY
std::vector< float > * m_PixTrkPt
track transverse momentum at module
std::vector< float > * NN_thetaBS
std::vector< float > * m_PixErrEta
PixelCluster position error (local y) UNIT:mm.
std::vector< float > * m_PixCharge
total charge of the cluster UNIT:?
std::vector< float > * NN_etaModule
std::vector< float > * m_PixResEta
local eta residual obtained from using the cluster digital coords UNIT:mm
std::vector< int > * NN_ClusterPixBarrelEC
std::vector< int > * m_PixDeltaRow_t
Pixel cluster size phi or row UNIT:mm.
std::vector< int > * NN_sizeX
TBranch * b_NN_useTrackInfo
TBranch * b_NN_ClusterPixLayer
std::vector< int > * m_PixEtaModule_t
eta index of the module associated to the cluster
virtual void ResetVectors()
std::vector< int > * NN_columnWeightedPosition
std::vector< int > * m_PixDetType
Layer information (0, 1, 2 for barrel, 100, 101, 102 for endcap A side, -100, -101,...
Int_t fCurrent
pointer to the analyzed TTree or TChain
virtual Int_t Cut(Long64_t entry)
TBranch * b_NN_vectorOfPitchesY
std::vector< float > * m_PixErrPhi
PixelCluster position error (local x) UNIT:mm.
std::vector< bool > * NN_useTrackInfo
TString m_pathWeightsWithTracks
std::vector< int > * m_PixLVL1A
lower level1 accept among the pixel of the cluster
std::vector< int > * m_PixToT
ToTal time over threshold (ToT) of the cluster UNIT:?
std::vector< std::vector< float > > * NN_phi
std::vector< int > * m_PixPhiModule_t
phi index of the module associated to the cluster
std::vector< double > * NN_localColumnWeightedPosition
TBranch * b_NN_localRowWeightedPosition
std::vector< int > * NN_ClusterPixLayer
std::vector< float > * m_PixDeltaEta_t
Pixel cluster size eta, in cell units UNIT:cells.
std::vector< float > * m_PixPullPhi
std::vector< std::vector< float > > * NN_position_idX
std::vector< float > * NN_phiBS
std::vector< float > * m_PixDeltaPhi_t
Pixel cluster size phi, in cell units UNIT:cells.
std::vector< int > * NN_sizeY
std::vector< float > * m_PixDigResPhi
local phi residual obtained using the cluster digital coordinates UNIT:mm
TBranch * b_NN_localColumnWeightedPosition
virtual Int_t GetEntry(Long64_t entry)
std::vector< float > * m_PixTLorPhi
tangent of the lorentz angle (local x direction) UNIT:1
std::vector< float > * m_PixOmegaPhi_t
Pixel charge sharing variable, phi clustering UNIT:1.
virtual void Show(Long64_t entry=-1)
virtual void Loop(int nParticlesTraining, bool useTrackEstimate, TString outFileName)
TChain * tree2
pointer to the analyzed TTree or TChain
std::vector< std::vector< float > > * NN_matrixOfToT
std::vector< float > * m_PixEta_t
pseudorapidity calculated from module position
std::vector< std::vector< float > > * m_PixChargeList
Charge of the pixel UNIT:electrons.
std::vector< std::vector< float > > * NN_theta
std::vector< float > * m_PixFirstCol
lower column of the pixels contained in the cluster UNIT:index
writeNtuple(const writeNtuple &)=delete
RIOs * fOther
current Tree number in a TChain
std::vector< int > * NN_rowWeightedPosition
std::vector< float > * m_PixTemp
Temperature (from conditions service) UNIT:K ?
std::vector< std::vector< float > > * NN_vectorOfPitchesY
std::vector< float > * m_PixResPhi
local phi residual obtained using the cluster digital coordinates UNIT:mm
std::vector< float > * m_PixGloZ
global Z position of the cluster UNIT:mm
TString m_pathWeightsWithoutTracks
TBranch * b_NN_rowWeightedPosition