MyTrack Class Reference

#include <MyTrack.h>

Inheritance diagram for MyTrack:

MyParticle List of all members.

Public Member Functions

 MyTrack (void)
 Default constructor.
 MyTrack (const TLorentzVector &p, const double &charge, const int &index, const int &vertex_index, const int &SCThit, const int &Phit, const int &BLayerhit, const int &TRThit, const int &MDThit, const int &CSChit_eta, const int &TGChit_eta, const int &RPChit_eta, const int &CSChit_phi, const int &TGChit_phi, const int &RPChit_phi, const double &d0, const double &z0, const double &chi2, const double &nDoF, const std::vector< double > *trackIsolationEnergy=0)
virtual ~MyTrack ()
int SCThit (void) const
 Destructor get SCT hits.
int Phit (void) const
 get Phit hits
int BLayerhit (void) const
 get BLayerhits hits
int TRThit (void) const
 get TRT hits
int MDThit (void) const
 get MDT hits
int CSChit_eta (void) const
 get CSC hits (eta)
int TGChit_eta (void) const
 get TGC hits (eta)
int RPChit_eta (void) const
 get RPC hits (eta)
int CSChit_phi (void) const
 get CSC hits (phi)
int TGChit_phi (void) const
 get TGC hits (phi)
int RPChit_phi (void) const
 get RPC hits (phi)
double d0 (void) const
 get impact paramter
double z0 (void) const
 get impact paramter
double chi2 (void) const
 get chi2 of track fit
double nDoF (void) const
 get number of degrees of freedom
double trackIsolationEnergy (const int &delta_R_index) const

Private Member Functions

void init (const int &SCThit, const int &Phit, const int &BLayerhit, const int &TRThit, const int &MDThit, const int &CSChit_eta, const int &TGChit_eta, const int &RPChit_eta, const int &CSChit_phi, const int &TGChit_phi, const int &RPChit_phi, const double &d0, const double &z0, const double &chi2, const double &nDoF, const std::vector< double > *trackIsolationEnergy)

Private Attributes

int m_SCThit
int m_Phit
int m_BLayerhit
int m_TRThit
int m_MDThit
int m_CSChit_eta
int m_TGChit_eta
int m_RPChit_eta
int m_CSChit_phi
int m_TGChit_phi
int m_RPChit_phi
double m_d0
double m_z0
double m_chi2
double m_nDoF
double m_trackIsolationEnergy [5]

Detailed Description

This class stores track data.

Date:
26.0.7.2007
Author:
Oliver.Kortner

Definition at line 33 of file MyTrack.h.


Constructor & Destructor Documentation

MyTrack::MyTrack ( const TLorentzVector &  p,
const double &  charge,
const int &  index,
const int &  vertex_index,
const int &  SCThit,
const int &  Phit,
const int &  BLayerhit,
const int &  TRThit,
const int &  MDThit,
const int &  CSChit_eta,
const int &  TGChit_eta,
const int &  RPChit_eta,
const int &  CSChit_phi,
const int &  TGChit_phi,
const int &  RPChit_phi,
const double &  d0,
const double &  z0,
const double &  chi2,
const double &  nDoF,
const std::vector< double > *  trackIsolationEnergy = 0 
) [inline]

Constructor.

Parameters:
p Four momentum of the track jet.
index Index of the track in the original vector.
vertex_index Index of the track in the vertex vector.
track_*hit Number of hits in sub detector.
track_d0 .
track_z0 .
track_chi2 .
track_nDoF .

Definition at line 39 of file MyTrack.h.


Member Function Documentation

double MyTrack::trackIsolationEnergy ( const int &  delta_R_index  )  const [inline]

get the transverse energy of tracks around the track. delta_R_index = 0: a cone of 0.01, delta_R_index = 1: a cone of 0.2, delta_R_index = 2: a cone of 0.3, delta_R_index = 3: a cone of 0.4, delta_R_index = 4: a cone of 0.45,

Definition at line 230 of file MyTrack.ixx.


The documentation for this class was generated from the following files:
Generated on Tue Oct 21 11:50:48 2008 for NtupleAnalysis by  doxygen 1.5.1