AMSDST
Public Member Functions | Public Attributes | Private Member Functions | List of all members
myTrTrack Class Reference

#include <myTrTrack.h>

Inheritance diagram for myTrTrack:
myTrTrackBase myObject

Public Member Functions

 myTrTrack ()
 Constructor.
 
 ~myTrTrack ()
 Default destructor.
 
virtual Double_t costheta ()
 
virtual Double_t cossqtheta ()
 
virtual Double_t sintheta ()
 
virtual Double_t sinphi ()
 
virtual Float_t GetQ ()
 Get Charge estimated by the Tracker.
 
virtual Float_t GetInnerQ ()
 Get Charge estimated by the Inner-Tracker.
 
virtual Float_t GetLayerJQ (int i_layer)
 Get Charge estimated by the i-Tracker Layer (0,1,2,3,4,5,6,7,8)
 
virtual Int_t GetBitPatternJ ()
 It returns the BIT Mask of the layers J scheme (1-9) with hit. bit_num <==> layer_num-1.
 
int HasExtLayers ()
 Check for the presence of external layers; returns 0- noext layer; 1 Layer 1; 2 Layer 9; 3 Layer 1& Layer 9.
 
bool TestHitLayerJ (int layJ)
 Return true if the track hit on lajer layJ (J-scheme) exists.
 
Double_t TkBeta (Double_t MASS)
 
Short_t span ()
 code for track span. 0=fullspan, 1=inner_L1, 2=inner(L2)+L9, 3=inner(noL2)+L9, 4=inner(L2), 5=inner(noL2) if kDef==0 will return -999
 
virtual void Clear (Option_t *option="")
 
 ClassDef (myTrTrack, 9)
 
 ClassDef (myTrTrackBase, 1)
 
 ClassDef (myObject, 4)
 
short int iPart ()
 
short int iMySelf ()
 
void SetPart (short int ipart)
 
void SetMySelf (short int imyself)
 

Public Attributes

Int_t BitPatternXYJ
 
Short_t Nhits
 
Short_t NhitsX
 
Short_t NhitsY
 
Short_t NhitsXY
 
Double32_t Rigidity
 
Double32_t ErrRinv
 
Double32_t Chisq
 
Double32_t NormChisqX
 
Double32_t NormChisqY
 
Double32_t Theta
 
Double32_t Phi
 
Float_t Q
 
Float_t InnerQ
 
Float_t LayerJQ [9]
 
Double32_t TrackXOnLayer [9]
 X coord of extrapolation to each layer.
 
Double32_t TrackYOnLayer [9]
 Y coord of extrapolation to each layer.
 
Int_t BitPatternJ
 
Int_t kDef
 
Short_t i_part
 id of particle object it belongs
 
Short_t i_myself
 id of the object itself in gbatch
 

Private Member Functions

virtual void init ()
 

Detailed Description

Definition at line 9 of file myTrTrack.h.

Constructor & Destructor Documentation

myTrTrack::myTrTrack ( )

Constructor.

Definition at line 17 of file myTrTrack.cxx.

References PRINTDEBUG.

myTrTrack::~myTrTrack ( )

Default destructor.

Definition at line 26 of file myTrTrack.cxx.

References PRINTDEBUG.

Member Function Documentation

myTrTrackBase::ClassDef ( myTrTrackBase  ,
 
)
inherited
myObject::ClassDef ( myObject  ,
 
)
inherited
myTrTrack::ClassDef ( myTrTrack  ,
 
)
void myTrTrack::Clear ( Option_t *  option = "")
virtual

Implements myTrTrackBase.

Definition at line 34 of file myTrTrack.cxx.

References PRINTDEBUG.

virtual Double_t myTrTrack::cossqtheta ( )
inlinevirtual

Definition at line 36 of file myTrTrack.h.

References costheta().

virtual Double_t myTrTrack::costheta ( )
inlinevirtual

Definition at line 35 of file myTrTrack.h.

References Theta.

Referenced by cossqtheta().

virtual Int_t myTrTrack::GetBitPatternJ ( )
inlinevirtual

It returns the BIT Mask of the layers J scheme (1-9) with hit. bit_num <==> layer_num-1.

Definition at line 47 of file myTrTrack.h.

References myTrTrackBase::BitPatternJ.

virtual Float_t myTrTrack::GetInnerQ ( )
inlinevirtual

Get Charge estimated by the Inner-Tracker.

Definition at line 43 of file myTrTrack.h.

References InnerQ.

virtual Float_t myTrTrack::GetLayerJQ ( int  i_layer)
inlinevirtual

Get Charge estimated by the i-Tracker Layer (0,1,2,3,4,5,6,7,8)

Definition at line 45 of file myTrTrack.h.

References LayerJQ.

virtual Float_t myTrTrack::GetQ ( )
inlinevirtual

Get Charge estimated by the Tracker.

Definition at line 41 of file myTrTrack.h.

References Q.

int myTrTrack::HasExtLayers ( )
inline

Check for the presence of external layers; returns 0- noext layer; 1 Layer 1; 2 Layer 9; 3 Layer 1& Layer 9.

Definition at line 50 of file myTrTrack.h.

References myTrTrackBase::BitPatternJ.

short int myObject::iMySelf ( )
inlineinherited

Definition at line 22 of file myObject.h.

References myObject::i_myself.

Referenced by myEvent::pmyTrdKFromTrdTrackByMySelf().

void myTrTrack::init ( )
privatevirtual

Implements myTrTrackBase.

Definition at line 64 of file myTrTrack.cxx.

References PRINTDEBUG.

short int myObject::iPart ( )
inlineinherited

Definition at line 21 of file myObject.h.

References myObject::i_part.

void myObject::SetMySelf ( short int  imyself)
inlineinherited

Definition at line 30 of file myObject.h.

References myObject::i_myself.

void myObject::SetPart ( short int  ipart)
inlineinherited

Definition at line 24 of file myObject.h.

References myObject::i_part.

virtual Double_t myTrTrack::sinphi ( )
inlinevirtual

Definition at line 38 of file myTrTrack.h.

References Phi.

virtual Double_t myTrTrack::sintheta ( )
inlinevirtual

Definition at line 37 of file myTrTrack.h.

References Theta.

Short_t myTrTrack::span ( )

code for track span. 0=fullspan, 1=inner_L1, 2=inner(L2)+L9, 3=inner(noL2)+L9, 4=inner(L2), 5=inner(noL2) if kDef==0 will return -999

Definition at line 88 of file myTrTrack.cxx.

References PRINTDEBUG.

bool myTrTrack::TestHitLayerJ ( int  layJ)
inline

Return true if the track hit on lajer layJ (J-scheme) exists.

Definition at line 53 of file myTrTrack.h.

References myTrTrackBase::BitPatternJ.

Double_t myTrTrack::TkBeta ( Double_t  MASS)

Definition at line 74 of file myTrTrack.cxx.

Member Data Documentation

Int_t myTrTrackBase::BitPatternJ
inherited

Definition at line 12 of file myTrTrackBase.h.

Referenced by GetBitPatternJ(), HasExtLayers(), and TestHitLayerJ().

Int_t myTrTrack::BitPatternXYJ

Definition at line 17 of file myTrTrack.h.

Double32_t myTrTrack::Chisq

Definition at line 25 of file myTrTrack.h.

Double32_t myTrTrack::ErrRinv

Definition at line 24 of file myTrTrack.h.

Short_t myObject::i_myself
inherited

id of the object itself in gbatch

Definition at line 19 of file myObject.h.

Referenced by myObject::iMySelf(), and myObject::SetMySelf().

Short_t myObject::i_part
inherited

id of particle object it belongs

Definition at line 18 of file myObject.h.

Referenced by myObject::iPart(), and myObject::SetPart().

Float_t myTrTrack::InnerQ

Definition at line 32 of file myTrTrack.h.

Referenced by GetInnerQ().

Int_t myTrTrackBase::kDef
inherited

Definition at line 15 of file myTrTrackBase.h.

Float_t myTrTrack::LayerJQ[9]

Definition at line 33 of file myTrTrack.h.

Referenced by GetLayerJQ().

Short_t myTrTrack::Nhits

Definition at line 18 of file myTrTrack.h.

Short_t myTrTrack::NhitsX

Definition at line 19 of file myTrTrack.h.

Short_t myTrTrack::NhitsXY

Definition at line 21 of file myTrTrack.h.

Short_t myTrTrack::NhitsY

Definition at line 20 of file myTrTrack.h.

Double32_t myTrTrack::NormChisqX

Definition at line 26 of file myTrTrack.h.

Double32_t myTrTrack::NormChisqY

Definition at line 27 of file myTrTrack.h.

Double32_t myTrTrack::Phi

Definition at line 29 of file myTrTrack.h.

Referenced by sinphi().

Float_t myTrTrack::Q

Definition at line 31 of file myTrTrack.h.

Referenced by GetQ().

Double32_t myTrTrack::Rigidity

Definition at line 23 of file myTrTrack.h.

Double32_t myTrTrack::Theta

Definition at line 28 of file myTrTrack.h.

Referenced by costheta(), and sintheta().

Double32_t myTrTrack::TrackXOnLayer[9]

X coord of extrapolation to each layer.

Definition at line 58 of file myTrTrack.h.

Double32_t myTrTrack::TrackYOnLayer[9]

Y coord of extrapolation to each layer.

Definition at line 59 of file myTrTrack.h.


The documentation for this class was generated from the following files: