ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
PixelNtupleTracks Class Reference

#include <PixelNtupleTracks.h>

Collaboration diagram for PixelNtupleTracks:

Public Member Functions

 PixelNtupleTracks (std::string input, std::string collection)
 
virtual ~PixelNtupleTracks ()
 
virtual Int_t GetEntry (Long64_t entry)
 
virtual Long64_t LoadTree (Long64_t entry)
 
void Init (TTree *tree)
 
virtual void Loop ()
 
Bool_t Notify ()
 
virtual void Show (Long64_t entry=-1)
 
double GetGeVpT (int ihit)
 
double GetGeVGlobalpT ()
 
double GetLorAlpha (int ihit)
 
double GetRealAlpha (int ihit)
 
double GetAlphaMeas (int ihit)
 
double GetTilt ()
 
int GetDetType (int ihit)
 
double GetTrkEta (int ihit)
 
double GetMicronDigResEta (int ihit)
 
double GetMicronDigResPhi (int ihit)
 
double GetMicronResEta (int ihit)
 
double GetMicronResPhi (int ihit)
 
double GetMicronErrEta (int ihit)
 
double GetMicronErrPhi (int ihit)
 
double GetDeltaRow (int ihit)
 
double GetDeltaCol (int ihit)
 
double GetOmegaEta (int ihit)
 
double GetOmegaPhi (int ihit)
 
double GetBiasVolt (int ihit)
 
int GetEtaModule (int ihit)
 
int GetPhiModule (int ihit)
 
Double_t GetPullPhi (int ihit)
 
Double_t GetPullEta (int ihit)
 
float GetCharge (int ihit)
 

Public Attributes

TTree * fChain {}
 
Int_t fCurrent {}
 pointer to the analyzed TTree or TChain More...
 
Float_t RecTheta {}
 current Tree number in a TChain More...
 
Float_t RecQoverP {}
 
Int_t nPixelHits {}
 
Int_t nSCTHits {}
 
Int_t nTRTHits {}
 
std::vector< float > * PixPullPhi {}
 
std::vector< float > * PixPullEta {}
 
std::vector< float > * PixResPhi {}
 
std::vector< float > * PixResEta {}
 
std::vector< int > * PixDetType {}
 
std::vector< float > * PixCharge {}
 
std::vector< float > * PixTLorPhi {}
 
std::vector< float > * PixBiasVolt {}
 
std::vector< float > * PixDigResPhi {}
 
std::vector< float > * PixDigResEta {}
 
std::vector< float > * PixErrPhi {}
 
std::vector< float > * PixErrEta {}
 
std::vector< int > * PixEtaModule {}
 
std::vector< int > * PixPhiModule {}
 
std::vector< int > * PixDeltaRow {}
 
std::vector< int > * PixDeltaCol {}
 
std::vector< float > * PixOmegaPhi {}
 
std::vector< float > * PixOmegaEta {}
 
std::vector< float > * PixTrkAngle {}
 
std::vector< float > * PixTrkEta {}
 
std::vector< float > * PixTrkPt {}
 
TBranch * b_Reconstructed_theta {}
 
TBranch * b_Reconstructed_Q_over_p {}
 
TBranch * b_number_Pixel_measurements {}
 
TBranch * b_number_SCT_measurements {}
 
TBranch * b_number_TRT_measurements {}
 
TBranch * b_PixPullPhi {}
 
TBranch * b_PixPullEta {}
 
TBranch * b_PixResPhi {}
 
TBranch * b_PixResEta {}
 
TBranch * b_PixDetType {}
 
TBranch * b_PixCharge {}
 
TBranch * b_PixTLorPhi {}
 
TBranch * b_PixBiasVolt {}
 
TBranch * b_PixDigResPhi {}
 
TBranch * b_PixDigResEta {}
 
TBranch * b_PixErrPhi {}
 
TBranch * b_PixErrEta {}
 
TBranch * b_PixEtaModule {}
 
TBranch * b_PixPhiModule {}
 
TBranch * b_PixDeltaRow {}
 
TBranch * b_PixDeltaCol {}
 
TBranch * b_PixOmegaPhi {}
 
TBranch * b_PixOmegaEta {}
 
TBranch * b_PixTrkAngle {}
 
TBranch * b_PixTrkEta {}
 
TBranch * b_PixTrkPt {}
 

Detailed Description

Definition at line 23 of file PixelNtupleTracks.h.

Constructor & Destructor Documentation

◆ PixelNtupleTracks()

PixelNtupleTracks::PixelNtupleTracks ( std::string  input,
std::string  collection 
)

◆ ~PixelNtupleTracks()

virtual PixelNtupleTracks::~PixelNtupleTracks ( )
virtual

Member Function Documentation

◆ GetAlphaMeas()

double PixelNtupleTracks::GetAlphaMeas ( int  ihit)
inline

Definition at line 305 of file PixelNtupleTracks.h.

305  {
306  return 180. * (*PixTrkAngle)[ihit] / M_PI;
307  }

◆ GetBiasVolt()

double PixelNtupleTracks::GetBiasVolt ( int  ihit)
inline

Definition at line 329 of file PixelNtupleTracks.h.

329 { return (*PixBiasVolt)[ihit]; }

◆ GetCharge()

float PixelNtupleTracks::GetCharge ( int  ihit)
inline

Definition at line 334 of file PixelNtupleTracks.h.

334 { return (*PixCharge)[ihit]; }

◆ GetDeltaCol()

double PixelNtupleTracks::GetDeltaCol ( int  ihit)
inline

Definition at line 326 of file PixelNtupleTracks.h.

326 { return (*PixDeltaCol)[ihit]; }

◆ GetDeltaRow()

double PixelNtupleTracks::GetDeltaRow ( int  ihit)
inline

Definition at line 325 of file PixelNtupleTracks.h.

325 { return (*PixDeltaRow)[ihit]; }

◆ GetDetType()

int PixelNtupleTracks::GetDetType ( int  ihit)
inline

Definition at line 313 of file PixelNtupleTracks.h.

313  {
314  if( abs( (*PixDetType)[ihit]) < 100) return (*PixDetType)[ihit];
315  else return abs( (*PixDetType)[ihit] ) - 96;
316  }

◆ GetEntry()

virtual Int_t PixelNtupleTracks::GetEntry ( Long64_t  entry)
virtual

◆ GetEtaModule()

int PixelNtupleTracks::GetEtaModule ( int  ihit)
inline

Definition at line 330 of file PixelNtupleTracks.h.

330 { return (*PixEtaModule)[ihit]; }

◆ GetGeVGlobalpT()

double PixelNtupleTracks::GetGeVGlobalpT ( )
inline

Definition at line 289 of file PixelNtupleTracks.h.

289 { return fabs(sin(RecTheta)/RecQoverP)/1000;}

◆ GetGeVpT()

double PixelNtupleTracks::GetGeVpT ( int  ihit)
inline

Definition at line 285 of file PixelNtupleTracks.h.

285  {
286  return (*PixTrkPt)[ihit] / 1000.;
287  }

◆ GetLorAlpha()

double PixelNtupleTracks::GetLorAlpha ( int  ihit)
inline

Definition at line 291 of file PixelNtupleTracks.h.

291  {
292  return 180. * atan((*PixTLorPhi)[ihit]) / M_PI;
293  /*double LorAngle = 0;
294  if( GetDetType(ihit) < 3) LorAngle = -180. * 0.224/ M_PI;
295  return LorAngle;*/
296  }

◆ GetMicronDigResEta()

double PixelNtupleTracks::GetMicronDigResEta ( int  ihit)
inline

Definition at line 319 of file PixelNtupleTracks.h.

319 { return (*PixDigResEta)[ihit]*1000; }

◆ GetMicronDigResPhi()

double PixelNtupleTracks::GetMicronDigResPhi ( int  ihit)
inline

Definition at line 320 of file PixelNtupleTracks.h.

320 { return (*PixDigResPhi)[ihit]*1000; }

◆ GetMicronErrEta()

double PixelNtupleTracks::GetMicronErrEta ( int  ihit)
inline

Definition at line 323 of file PixelNtupleTracks.h.

323 { return (*PixErrEta)[ihit]*1000; }

◆ GetMicronErrPhi()

double PixelNtupleTracks::GetMicronErrPhi ( int  ihit)
inline

Definition at line 324 of file PixelNtupleTracks.h.

324 { return (*PixErrPhi)[ihit]*1000; }

◆ GetMicronResEta()

double PixelNtupleTracks::GetMicronResEta ( int  ihit)
inline

Definition at line 321 of file PixelNtupleTracks.h.

321 { return (*PixResEta)[ihit]*1000; }

◆ GetMicronResPhi()

double PixelNtupleTracks::GetMicronResPhi ( int  ihit)
inline

Definition at line 322 of file PixelNtupleTracks.h.

322 { return (*PixResPhi)[ihit]*1000; }

◆ GetOmegaEta()

double PixelNtupleTracks::GetOmegaEta ( int  ihit)
inline

Definition at line 327 of file PixelNtupleTracks.h.

327 { return (*PixOmegaEta)[ihit]; }

◆ GetOmegaPhi()

double PixelNtupleTracks::GetOmegaPhi ( int  ihit)
inline

Definition at line 328 of file PixelNtupleTracks.h.

328 { return (*PixOmegaPhi)[ihit]; }

◆ GetPhiModule()

int PixelNtupleTracks::GetPhiModule ( int  ihit)
inline

Definition at line 331 of file PixelNtupleTracks.h.

331 { return (*PixPhiModule)[ihit]; }

◆ GetPullEta()

Double_t PixelNtupleTracks::GetPullEta ( int  ihit)
inline

Definition at line 333 of file PixelNtupleTracks.h.

333 { return (*PixPullEta)[ihit]; }

◆ GetPullPhi()

Double_t PixelNtupleTracks::GetPullPhi ( int  ihit)
inline

Definition at line 332 of file PixelNtupleTracks.h.

332 { return (*PixPullPhi)[ihit]; }

◆ GetRealAlpha()

double PixelNtupleTracks::GetRealAlpha ( int  ihit)
inline

Definition at line 298 of file PixelNtupleTracks.h.

298  {
299  //return GetAlphaMeas(ihit) - GetLorAlpha(ihit);
300  double tan_angle = tan((*PixTrkAngle)[ihit]);
301  double tan_angle_corr = tan_angle - (*PixTLorPhi)[ihit];
302  return 180. * atan(tan_angle_corr) / M_PI;
303  }

◆ GetTilt()

double PixelNtupleTracks::GetTilt ( )
inline

Definition at line 309 of file PixelNtupleTracks.h.

309  {
310  return 180.*20.0 / M_PI;
311  }

◆ GetTrkEta()

double PixelNtupleTracks::GetTrkEta ( int  ihit)
inline

Definition at line 318 of file PixelNtupleTracks.h.

318 { return (*PixTrkEta)[ihit]; }

◆ Init()

void PixelNtupleTracks::Init ( TTree *  tree)

◆ LoadTree()

virtual Long64_t PixelNtupleTracks::LoadTree ( Long64_t  entry)
virtual

◆ Loop()

virtual void PixelNtupleTracks::Loop ( )
virtual

◆ Notify()

Bool_t PixelNtupleTracks::Notify ( )

◆ Show()

virtual void PixelNtupleTracks::Show ( Long64_t  entry = -1)
virtual

Member Data Documentation

◆ b_number_Pixel_measurements

TBranch* PixelNtupleTracks::b_number_Pixel_measurements {}

Definition at line 181 of file PixelNtupleTracks.h.

◆ b_number_SCT_measurements

TBranch* PixelNtupleTracks::b_number_SCT_measurements {}

Definition at line 182 of file PixelNtupleTracks.h.

◆ b_number_TRT_measurements

TBranch* PixelNtupleTracks::b_number_TRT_measurements {}

Definition at line 183 of file PixelNtupleTracks.h.

◆ b_PixBiasVolt

TBranch* PixelNtupleTracks::b_PixBiasVolt {}

Definition at line 199 of file PixelNtupleTracks.h.

◆ b_PixCharge

TBranch* PixelNtupleTracks::b_PixCharge {}

Definition at line 196 of file PixelNtupleTracks.h.

◆ b_PixDeltaCol

TBranch* PixelNtupleTracks::b_PixDeltaCol {}

Definition at line 216 of file PixelNtupleTracks.h.

◆ b_PixDeltaRow

TBranch* PixelNtupleTracks::b_PixDeltaRow {}

Definition at line 215 of file PixelNtupleTracks.h.

◆ b_PixDetType

TBranch* PixelNtupleTracks::b_PixDetType {}

Definition at line 192 of file PixelNtupleTracks.h.

◆ b_PixDigResEta

TBranch* PixelNtupleTracks::b_PixDigResEta {}

Definition at line 202 of file PixelNtupleTracks.h.

◆ b_PixDigResPhi

TBranch* PixelNtupleTracks::b_PixDigResPhi {}

Definition at line 201 of file PixelNtupleTracks.h.

◆ b_PixErrEta

TBranch* PixelNtupleTracks::b_PixErrEta {}

Definition at line 204 of file PixelNtupleTracks.h.

◆ b_PixErrPhi

TBranch* PixelNtupleTracks::b_PixErrPhi {}

Definition at line 203 of file PixelNtupleTracks.h.

◆ b_PixEtaModule

TBranch* PixelNtupleTracks::b_PixEtaModule {}

Definition at line 207 of file PixelNtupleTracks.h.

◆ b_PixOmegaEta

TBranch* PixelNtupleTracks::b_PixOmegaEta {}

Definition at line 220 of file PixelNtupleTracks.h.

◆ b_PixOmegaPhi

TBranch* PixelNtupleTracks::b_PixOmegaPhi {}

Definition at line 219 of file PixelNtupleTracks.h.

◆ b_PixPhiModule

TBranch* PixelNtupleTracks::b_PixPhiModule {}

Definition at line 208 of file PixelNtupleTracks.h.

◆ b_PixPullEta

TBranch* PixelNtupleTracks::b_PixPullEta {}

Definition at line 189 of file PixelNtupleTracks.h.

◆ b_PixPullPhi

TBranch* PixelNtupleTracks::b_PixPullPhi {}

Definition at line 188 of file PixelNtupleTracks.h.

◆ b_PixResEta

TBranch* PixelNtupleTracks::b_PixResEta {}

Definition at line 191 of file PixelNtupleTracks.h.

◆ b_PixResPhi

TBranch* PixelNtupleTracks::b_PixResPhi {}

Definition at line 190 of file PixelNtupleTracks.h.

◆ b_PixTLorPhi

TBranch* PixelNtupleTracks::b_PixTLorPhi {}

Definition at line 197 of file PixelNtupleTracks.h.

◆ b_PixTrkAngle

TBranch* PixelNtupleTracks::b_PixTrkAngle {}

Definition at line 221 of file PixelNtupleTracks.h.

◆ b_PixTrkEta

TBranch* PixelNtupleTracks::b_PixTrkEta {}

Definition at line 222 of file PixelNtupleTracks.h.

◆ b_PixTrkPt

TBranch* PixelNtupleTracks::b_PixTrkPt {}

Definition at line 223 of file PixelNtupleTracks.h.

◆ b_Reconstructed_Q_over_p

TBranch* PixelNtupleTracks::b_Reconstructed_Q_over_p {}

Definition at line 164 of file PixelNtupleTracks.h.

◆ b_Reconstructed_theta

TBranch* PixelNtupleTracks::b_Reconstructed_theta {}

Definition at line 162 of file PixelNtupleTracks.h.

◆ fChain

TTree* PixelNtupleTracks::fChain {}

Definition at line 26 of file PixelNtupleTracks.h.

◆ fCurrent

Int_t PixelNtupleTracks::fCurrent {}

pointer to the analyzed TTree or TChain

Definition at line 27 of file PixelNtupleTracks.h.

◆ nPixelHits

Int_t PixelNtupleTracks::nPixelHits {}

Definition at line 58 of file PixelNtupleTracks.h.

◆ nSCTHits

Int_t PixelNtupleTracks::nSCTHits {}

Definition at line 59 of file PixelNtupleTracks.h.

◆ nTRTHits

Int_t PixelNtupleTracks::nTRTHits {}

Definition at line 60 of file PixelNtupleTracks.h.

◆ PixBiasVolt

std::vector<float>* PixelNtupleTracks::PixBiasVolt {}

Definition at line 76 of file PixelNtupleTracks.h.

◆ PixCharge

std::vector<float>* PixelNtupleTracks::PixCharge {}

Definition at line 73 of file PixelNtupleTracks.h.

◆ PixDeltaCol

std::vector<int>* PixelNtupleTracks::PixDeltaCol {}

Definition at line 93 of file PixelNtupleTracks.h.

◆ PixDeltaRow

std::vector<int>* PixelNtupleTracks::PixDeltaRow {}

Definition at line 92 of file PixelNtupleTracks.h.

◆ PixDetType

std::vector<int>* PixelNtupleTracks::PixDetType {}

Definition at line 69 of file PixelNtupleTracks.h.

◆ PixDigResEta

std::vector<float>* PixelNtupleTracks::PixDigResEta {}

Definition at line 79 of file PixelNtupleTracks.h.

◆ PixDigResPhi

std::vector<float>* PixelNtupleTracks::PixDigResPhi {}

Definition at line 78 of file PixelNtupleTracks.h.

◆ PixErrEta

std::vector<float>* PixelNtupleTracks::PixErrEta {}

Definition at line 81 of file PixelNtupleTracks.h.

◆ PixErrPhi

std::vector<float>* PixelNtupleTracks::PixErrPhi {}

Definition at line 80 of file PixelNtupleTracks.h.

◆ PixEtaModule

std::vector<int>* PixelNtupleTracks::PixEtaModule {}

Definition at line 84 of file PixelNtupleTracks.h.

◆ PixOmegaEta

std::vector<float>* PixelNtupleTracks::PixOmegaEta {}

Definition at line 97 of file PixelNtupleTracks.h.

◆ PixOmegaPhi

std::vector<float>* PixelNtupleTracks::PixOmegaPhi {}

Definition at line 96 of file PixelNtupleTracks.h.

◆ PixPhiModule

std::vector<int>* PixelNtupleTracks::PixPhiModule {}

Definition at line 85 of file PixelNtupleTracks.h.

◆ PixPullEta

std::vector<float>* PixelNtupleTracks::PixPullEta {}

Definition at line 66 of file PixelNtupleTracks.h.

◆ PixPullPhi

std::vector<float>* PixelNtupleTracks::PixPullPhi {}

Definition at line 65 of file PixelNtupleTracks.h.

◆ PixResEta

std::vector<float>* PixelNtupleTracks::PixResEta {}

Definition at line 68 of file PixelNtupleTracks.h.

◆ PixResPhi

std::vector<float>* PixelNtupleTracks::PixResPhi {}

Definition at line 67 of file PixelNtupleTracks.h.

◆ PixTLorPhi

std::vector<float>* PixelNtupleTracks::PixTLorPhi {}

Definition at line 74 of file PixelNtupleTracks.h.

◆ PixTrkAngle

std::vector<float>* PixelNtupleTracks::PixTrkAngle {}

Definition at line 98 of file PixelNtupleTracks.h.

◆ PixTrkEta

std::vector<float>* PixelNtupleTracks::PixTrkEta {}

Definition at line 99 of file PixelNtupleTracks.h.

◆ PixTrkPt

std::vector<float>* PixelNtupleTracks::PixTrkPt {}

Definition at line 100 of file PixelNtupleTracks.h.

◆ RecQoverP

Float_t PixelNtupleTracks::RecQoverP {}

Definition at line 41 of file PixelNtupleTracks.h.

◆ RecTheta

Float_t PixelNtupleTracks::RecTheta {}

current Tree number in a TChain

Definition at line 39 of file PixelNtupleTracks.h.


The documentation for this class was generated from the following file:
PixelNtupleTracks::PixDetType
std::vector< int > * PixDetType
Definition: PixelNtupleTracks.h:69
PixelNtupleTracks::PixEtaModule
std::vector< int > * PixEtaModule
Definition: PixelNtupleTracks.h:84
PixelNtupleTracks::PixErrPhi
std::vector< float > * PixErrPhi
Definition: PixelNtupleTracks.h:80
PixelNtupleTracks::PixTrkAngle
std::vector< float > * PixTrkAngle
Definition: PixelNtupleTracks.h:98
PixelNtupleTracks::PixResPhi
std::vector< float > * PixResPhi
Definition: PixelNtupleTracks.h:67
PixelNtupleTracks::PixErrEta
std::vector< float > * PixErrEta
Definition: PixelNtupleTracks.h:81
PixelNtupleTracks::PixPullEta
std::vector< float > * PixPullEta
Definition: PixelNtupleTracks.h:66
M_PI
#define M_PI
Definition: ActiveFraction.h:11
PixelNtupleTracks::PixOmegaPhi
std::vector< float > * PixOmegaPhi
Definition: PixelNtupleTracks.h:96
PixelNtupleTracks::PixPhiModule
std::vector< int > * PixPhiModule
Definition: PixelNtupleTracks.h:85
drawFromPickle.atan
atan
Definition: drawFromPickle.py:36
PixelNtupleTracks::RecTheta
Float_t RecTheta
current Tree number in a TChain
Definition: PixelNtupleTracks.h:39
PixelNtupleTracks::RecQoverP
Float_t RecQoverP
Definition: PixelNtupleTracks.h:41
PixelNtupleTracks::PixResEta
std::vector< float > * PixResEta
Definition: PixelNtupleTracks.h:68
PixelNtupleTracks::PixOmegaEta
std::vector< float > * PixOmegaEta
Definition: PixelNtupleTracks.h:97
PixelNtupleTracks::PixTrkPt
std::vector< float > * PixTrkPt
Definition: PixelNtupleTracks.h:100
drawFromPickle.tan
tan
Definition: drawFromPickle.py:36
PixelNtupleTracks::PixDigResEta
std::vector< float > * PixDigResEta
Definition: PixelNtupleTracks.h:79
PixelNtupleTracks::PixDeltaRow
std::vector< int > * PixDeltaRow
Definition: PixelNtupleTracks.h:92
PixelNtupleTracks::PixCharge
std::vector< float > * PixCharge
Definition: PixelNtupleTracks.h:73
PixelNtupleTracks::PixPullPhi
std::vector< float > * PixPullPhi
Definition: PixelNtupleTracks.h:65
PixelNtupleTracks::PixDeltaCol
std::vector< int > * PixDeltaCol
Definition: PixelNtupleTracks.h:93
PixelNtupleTracks::PixTLorPhi
std::vector< float > * PixTLorPhi
Definition: PixelNtupleTracks.h:74
PixelNtupleTracks::PixBiasVolt
std::vector< float > * PixBiasVolt
Definition: PixelNtupleTracks.h:76
PixelNtupleTracks::PixDigResPhi
std::vector< float > * PixDigResPhi
Definition: PixelNtupleTracks.h:78
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36
PixelNtupleTracks::PixTrkEta
std::vector< float > * PixTrkEta
Definition: PixelNtupleTracks.h:99