|
ATLAS Offline Software
|
Go to the documentation of this file.
10 m_includingDAFdata(includingDAFdata)
16 TFile *
f = (TFile*)gROOT->GetListOfFiles()->FindObject(
"TrkValidation.root");
18 f =
new TFile(
"TrkValidation.root");
19 f->cd(
"TrkValidation.root:/FitterValidation");
44 delete fChain->GetCurrentFile();
50 fChain->SetBranchStatus(
"*",0);
51 fChain->SetBranchStatus(
"RunNumber",1);
52 fChain->SetBranchStatus(
"EventNumber",1);
53 fChain->SetBranchStatus(
"TrackID",1);
54 fChain->SetBranchStatus(
"IterationIndex",1);
55 fChain->SetBranchStatus(
"nHits",1);
56 fChain->SetBranchStatus(
"DetectorType",1);
57 fChain->SetBranchStatus(
"outlierFlag",1);
58 fChain->SetBranchStatus(
"HitX",1);
59 fChain->SetBranchStatus(
"HitY",1);
60 fChain->SetBranchStatus(
"HitZ",1);
61 fChain->SetBranchStatus(
"HitLocal1",1);
62 fChain->SetBranchStatus(
"HitLocal2",1);
63 fChain->SetBranchStatus(
"HitSurfaceX",1);
64 fChain->SetBranchStatus(
"HitSurfaceY",1);
65 fChain->SetBranchStatus(
"HitSurfaceZ",1);
66 fChain->SetBranchStatus(
"TrackX",1);
67 fChain->SetBranchStatus(
"TrackY",1);
68 fChain->SetBranchStatus(
"TrackZ",1);
69 fChain->SetBranchStatus(
"TrackMomentumX",1);
70 fChain->SetBranchStatus(
"TrackMomentumY",1);
71 fChain->SetBranchStatus(
"TrackMomentumZ",1);
72 fChain->SetBranchStatus(
"TrackLocal1",1);
73 fChain->SetBranchStatus(
"TrackLocal2",1);
75 fChain->SetBranchStatus(
"CompROTnContainedROTs",1);
76 fChain->SetBranchStatus(
"CompROTcontainedROTsAssgnProbs",1);
80 fChain->SetBranchStatus(
"CompROTcontainedROTsHitLocal1",1);
81 fChain->SetBranchStatus(
"CompROTcontainedROTsHitLocal2",1);
82 fChain->SetBranchStatus(
"CompROTcontainedROTsHitSurfaceX",1);
83 fChain->SetBranchStatus(
"CompROTcontainedROTsHitSurfaceY",1);
84 fChain->SetBranchStatus(
"CompROTcontainedROTsHitSurfaceZ",1);
102 if (centry < 0)
return centry;
103 if (
fChain->IsA() != TChain::Class())
return centry;
122 if (
tree == 0)
return;
248 std::cout<<
"setting branches to DAF data"<< std::endl;
346 std::cout<<
"getting branches to DAF data"<< std::endl;
406 Int_t nbytes = 0,
nb = 0;
407 for (Long64_t jentry=0; jentry<
nentries;jentry++) {
409 if (ientry < 0)
break;
TBranch * b_ID_of_track_in_event
vector< float > * residualLocX
vector< float > * HitLocal1
vector< float > * TrackLocal2
vector< float > * TrackMomentumZ
TBranch * b_Number_of_measurements_on_track
vector< float > * HitSurfaceY
TBranch * b_CompROTindexOfMaxAssgnProb
vector< int > * outlierFlag
vector< float > * HitRadius
TBranch * b_TrackMomentumY
vector< float > * HitSurfaceRadius
vector< int > * CompROTnContainedROTs
vector< float > * PixPullPhi
vector< float > * SCTPull
vector< float > * TrackLocal1
TBranch * b_TrackMomentumZ
vector< float > * PixPullEta
virtual Int_t GetEntry(Long64_t entry)
TrackDataNtupleTree(TTree *tree=0, bool includingDAFdata=false)
vector< float > * pullLocX
vector< float > * HitLocal2
TBranch * b_TrackMomentumX
vector< float > * HitSurfaceTheta
virtual void Show(Long64_t entry=-1)
virtual Int_t Cut(Long64_t entry)
vector< float > * HitSurfaceZ
virtual ~TrackDataNtupleTree()
vector< float > * residualLocY
TBranch * b_CompROTmaxAssgnProb
vector< float > * HitSurfaceX
vector< int > * CompROTindexOfMaxAssgnProb
vector< float > * TRTPull
Int_t RunNumber
current Tree number in a TChain
vector< float > * TrackMomentumY
virtual Long64_t LoadTree(Long64_t entry)
vector< float > * PixResPhi
vector< int > * DetectorType
vector< float > * CompROTmaxAssgnProb
Int_t fCurrent
pointer to the analyzed TTree or TChain
vector< float > * PixResEta
TBranch * b_Iteration_of_a_track
virtual void Init(TTree *tree)
vector< float > * HitSurfacePhi
TBranch * b_CompROTnContainedROTs
vector< float > * pullLocY
vector< float > * TrackMomentumX