|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef PixelNtupleTracks_h
13 #define PixelNtupleTracks_h
301 double tan_angle_corr = tan_angle - (*PixTLorPhi)[ihit];
302 return 180. *
atan(tan_angle_corr) /
M_PI;
306 return 180. * (*PixTrkAngle)[ihit] /
M_PI;
310 return 180.*20.0 /
M_PI;
339 #ifdef PixelNtupleTracks_cxx
343 mychain =
new TChain(collection.c_str());
344 if(
input.find(
".root") != std::string::npos ){
345 if(mychain->AddFile(
input.c_str()) == 0){
346 std::cout <<
"Failing to add " <<
input <<
347 " to the chain..." << std::endl;
351 std::ifstream myfile(
input.c_str());
352 if (myfile.is_open()){
354 getline(myfile,
input);
355 if(myfile.eof())
break;
356 mychain->AddFile(
input.c_str());
360 std::cout <<
"Failing to open " <<
input <<
"..." << std::endl;
385 if (centry < 0)
return centry;
386 if (!
fChain->InheritsFrom(TChain::Class()))
return centry;
706 for (Long64_t jentry=0; jentry<
nentries;jentry++) {
708 if (ientry < 0)
break;
715 #endif // #ifdef PixelNtupleTracks_cxx
double GetOmegaPhi(int ihit)
double GetAlphaMeas(int ihit)
std::vector< int > * PixDetType
double GetGeVpT(int ihit)
TBranch * b_number_Pixel_measurements
Double_t GetPullPhi(int ihit)
TBranch * b_Reconstructed_theta
std::vector< int > * PixEtaModule
double GetLorAlpha(int ihit)
std::vector< float > * PixErrPhi
std::vector< float > * PixTrkAngle
Int_t fCurrent
pointer to the analyzed TTree or TChain
std::vector< float > * PixResPhi
std::vector< float > * PixErrEta
virtual void Show(Long64_t entry=-1)
std::vector< float > * PixPullEta
double GetDeltaRow(int ihit)
std::vector< float > * PixOmegaPhi
double GetMicronDigResPhi(int ihit)
std::vector< int > * PixPhiModule
double GetDeltaCol(int ihit)
virtual ~PixelNtupleTracks()
float GetCharge(int ihit)
Float_t RecTheta
current Tree number in a TChain
double GetMicronResEta(int ihit)
double GetTrkEta(int ihit)
Double_t GetPullEta(int ihit)
int GetEtaModule(int ihit)
TBranch * b_number_TRT_measurements
double GetMicronErrPhi(int ihit)
virtual Int_t GetEntry(Long64_t entry)
std::vector< float > * PixResEta
std::vector< float > * PixOmegaEta
TBranch * b_number_SCT_measurements
double GetRealAlpha(int ihit)
std::vector< float > * PixTrkPt
std::vector< float > * PixDigResEta
TBranch * b_Reconstructed_Q_over_p
std::vector< int > * PixDeltaRow
std::vector< float > * PixCharge
virtual Long64_t LoadTree(Long64_t entry)
double GetBiasVolt(int ihit)
int GetPhiModule(int ihit)
double GetMicronDigResEta(int ihit)
std::vector< float > * PixPullPhi
std::vector< int > * PixDeltaCol
double GetMicronErrEta(int ihit)
std::vector< float > * PixTLorPhi
std::vector< float > * PixBiasVolt
std::vector< float > * PixDigResPhi
double GetOmegaEta(int ihit)
std::vector< float > * PixTrkEta
PixelNtupleTracks(std::string input, std::string collection)
double GetMicronResPhi(int ihit)