Version: 0 Written by Rene Brun, Federico Carminati, and Roberto Barbera Version: 1 Modified and documented by Bjorn S. Nilsen July 11 1999 AliITShit is the hit class for the ITS. Hits are the information that comes from a Monte Carlo at each step as a particle mass through sensitive detector elements as particles are transported through a detector./*
This show the relasionships between the ITS hit class and the rest of Aliroot.
*/Inline Member functions: AliITShit() The default creator of the AliITShit class. ~AliITShit() The default destructor of the AliITShit class. int GetTrack() See AliHit for a full description. Returns the track number fTrack for this hit. SetTrack(int track) See AliHit for a full description. Sets the track number fTrack for this hit. Int_t GetTrackStatus() Returns the value of the track status flag fStatus. This flag indicates the track status at the time of creating this hit. It is made up of the following 8 status bits from highest order to lowest order bits 0 : IsTrackAlive(): IsTrackStop():IsTrackDisappeared(): IsTrackOut():IsTrackExiting():IsTrackEntering():IsTrackInside() . See AliMC for a description of these functions. If the function is true then the bit is set to one, otherwise it is zero. Bool_t StatusInside() Returns kTRUE if the particle producing this hit is still inside the present volume. Returns kFalse if this particle will be in another volume. {bit IsTrackInside is set or not} Bool_t StatusEntering() Returns kTRUE if the particle producing this hit is has just enterd the present volume. Returns kFalse otherwise. {bit IsTrackEntering is set or not} Bool_t StatusExiting() Returns kTRUE if the particle producing this hit is will exit the present volume. Returns kFalse otherwise. {bit IsTrackExiting is set or not} Bool_t StatusOut() Returns kTRUE if the particle producing this hit is goint exit the simulation. Returns kFalse otherwise. {bit IsTrackOut is set or not} Bool_t StatusDisappeared() Returns kTRUE if the particle producing this hit is going to "disappear" for example it has interacted producing some other particles. Returns kFalse otherwise. {bit IsTrackOut is set or not} Bool_t StatusStop() Returns kTRUE if the particle producing this hit is has dropped below its energy cut off producing some other particles. Returns kFalse otherwise. {bit IsTrackOut is set or not} Bool_t StatuAlives() Returns kTRUE if the particle producing this hit is going to continue to be transported. Returns kFalse otherwise. {bit IsTrackOut is set or not} Int_t GetLayer() Returns the layer number, fLayer, for this hit. Int_t GetLadder() Returns the ladder number, fLadder, for this hit. Int_t GetDetector() Returns the detector number, fDet, for this hit. GetDetectorID(Int_t &layer, Int_t &ladder, Int_t &detector) Returns the layer, ladder, and detector numbers, fLayer fLadder fDet, in one call. Float_t GetIonization() Returns the energy lost, fDestep, by the particle creating this hit, in the units defined by the Monte Carlo. GetPositionG(Float_t &x, Float_t &y, Float_t &z) Returns the global position, fX fY fZ, of this hit, in the units define by the Monte Carlo. GetPositionG(Double_t &x, Double_t &y, Double_t &z) Returns the global position, fX fY fZ, of this hit, in the units define by the Monte Carlo. GetPositionG(Float_t &x, Float_t &y, Float_t &z, Float_t &tof) Returns the global position and time of flight, fX fY fZ fTof, of this hit, in the units define by the Monte Carlo. GetPositionG(Double_t &x,Double_t &y,Double_t &z,Double_t &tof) Returns the global position and time of flight, fX fY fZ fTof, of this hit, in the units define by the Monte Carlo. GetPositionL(Double_t &x,Double_t &y,Double_t &z) Returns the local position, fX fY fZ, of this hit in the coordiante of this module, in the units define by the Monte Carlo. GetPositionG(Double_t &x,Double_t &y,Double_t &z,Double_t &tof) Returns the local position and time of flight, fX fY fZ fTof, of this hit in the coordinates of this module, in the units define by the Monte Carlo. Float_t GetXG() Returns the global x position in the units defined by the Monte Carlo. Float_t GetYG() Returns the global y position in the units defined by the Monte Carlo. Float_t GetYG() Returns the global z position in the units defined by the Monte Carlo. Float_t GetTOF() Returns the time of flight, fTof, of this hit, in the units defined by the Monte Carlo. GetMomentumG(Float_t &px, Float_t &py, Float_t &pz) Returns the global momentum, fPx fPy fPz, of the particle that made this hit, in the units define by the Monte Carlo. GetMomentumG(Double_t &px,Double_t &py,Double_t &pz) Returns the global momentum, fPx fPy fPz, of the particle that made this hit, in the units define by the Monte Carlo. GetMomentumL(Double_t &px,Double_t &py,Double_t &pz) Returns the momentum, fPx fPy fPz in coordinate appropreate for this specific module, in the units define by the Monte Carlo. Float_t GetPXG() Returns the global X momentum in the units defined by the Monte Carlo. Float_t GetPYG() Returns the global Y momentum in the units defined by the Monte Carlo. Float_t GetPZG() Returns the global Z momentum in the units defined by the Monte Carlo.
AliITShit() | |
AliITShit(const AliITShit& h) | |
AliITShit(Int_t shunt, Int_t track, Int_t* vol, Float_t* hits) | |
AliITShit(Int_t shunt, Int_t track, Int_t* vol, Float_t edep, Float_t tof, TLorentzVector& x, TLorentzVector& x0, TLorentzVector& p) | |
virtual | ~AliITShit() |
void | TObject::AbstractMethod(const char* method) const |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual void | TObject::Browse(TBrowser* b) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TObject::Clear(Option_t* = "") |
virtual TObject* | TObject::Clone(const char* newname = "") const |
virtual Int_t | TObject::Compare(const TObject* obj) const |
virtual void | TObject::Copy(TObject& object) const |
virtual void | TObject::Delete(Option_t* option = "")MENU |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | TObject::Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | TObject::Dump() constMENU |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
virtual Int_t | GetDetector() const |
virtual void | GetDetectorID(Int_t& layer, Int_t& ladder, Int_t& det) const |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
virtual const char* | TObject::GetIconName() const |
virtual Float_t | GetIonization() const |
virtual Int_t | GetLadder() const |
virtual Int_t | GetLayer() const |
virtual Int_t | GetModule() |
virtual void | GetMomentumG(Float_t& px, Float_t& py, Float_t& pz) const |
virtual void | GetMomentumG(Double_t& px, Double_t& py, Double_t& pz) const |
virtual const char* | TObject::GetName() const |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
virtual TParticle* | GetParticle() const |
virtual void | GetPositionG(Float_t& x, Float_t& y, Float_t& z) const |
virtual void | GetPositionG(Double_t& x, Double_t& y, Double_t& z) const |
virtual void | GetPositionG(Float_t& x, Float_t& y, Float_t& z, Float_t& tof) const |
virtual void | GetPositionG(Double_t& x, Double_t& y, Double_t& z, Double_t& t) const |
virtual void | GetPositionG0(Float_t& x, Float_t& y, Float_t& z, Float_t& tof) const |
virtual void | GetPositionG0(Double_t& x, Double_t& y, Double_t& z, Double_t& tof) const |
virtual void | GetPositionL(Float_t& x, Float_t& y, Float_t& z) |
virtual void | GetPositionL(Double_t& x, Double_t& y, Double_t& z) |
virtual void | GetPositionL(Float_t& x, Float_t& y, Float_t& z, Float_t& tof) |
virtual void | GetPositionL(Double_t& x, Double_t& y, Double_t& z, Double_t& t) |
virtual void | GetPositionL0(Double_t& x, Double_t& y, Double_t& z, Double_t& t) |
virtual Float_t | GetPXG() const |
virtual Float_t | GetPYG() const |
virtual Float_t | GetPZG() const |
virtual const char* | TObject::GetTitle() const |
virtual Float_t | GetTOF() const |
virtual Int_t | AliHit::GetTrack() const |
virtual Int_t | GetTrackStatus() const |
virtual Int_t | GetTrackStatus0() const |
virtual UInt_t | TObject::GetUniqueID() const |
virtual Float_t | GetXG() const |
virtual Float_t | GetXL() |
virtual Float_t | GetYG() const |
virtual Float_t | GetYL() |
virtual Float_t | GetZG() const |
virtual Float_t | GetZL() |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TObject::Hash() const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual void | TObject::Inspect() constMENU |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | TObject::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TObject::IsSortable() const |
Bool_t | TObject::IsZombie() const |
virtual void | TObject::ls(Option_t* option = "") const |
void | TObject::MayNotUse(const char* method) const |
virtual Bool_t | TObject::Notify() |
void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::operator delete[](void* ptr, void* vp) |
void* | TObject::operator new(size_t sz) |
void* | TObject::operator new(size_t sz, void* vp) |
void* | TObject::operator new[](size_t sz) |
void* | TObject::operator new[](size_t sz, void* vp) |
AliITShit& | operator=(const AliITShit& h) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
void | Print(ostream* os) const |
virtual void | Print(Option_t* option = "") const |
void | Read(istream* is) |
virtual Int_t | Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
void | TObject::ResetBit(UInt_t f) |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
virtual void | SetEdep(Float_t de) |
virtual void | SetModule(Int_t mod) |
virtual void | SetMomentum(TLorentzVector& p) |
static void | TObject::SetObjectStat(Bool_t stat) |
virtual void | SetPosition(TLorentzVector& x) |
virtual void | SetShunt(Int_t shunt) |
virtual void | SetStartPosition(TLorentzVector& x) |
virtual void | SetStartStatus(Int_t stat) |
virtual void | SetStartTime(Float_t t) |
virtual void | SetStatus(Int_t stat) |
virtual void | SetTime(Float_t t) |
virtual void | AliHit::SetTrack(Int_t track) |
virtual void | TObject::SetUniqueID(UInt_t uid) |
virtual void | ShowMembers(TMemberInspector&) |
Bool_t | StatusAlive() const |
Bool_t | StatusDisappeared() const |
Bool_t | StatusEntering() const |
Bool_t | StatusExiting() const |
Bool_t | StatusInside() const |
Bool_t | StatusOut() const |
Bool_t | StatusStop() const |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
virtual Int_t | AliHit::Track() const |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
virtual Float_t | AliHit::X() const |
virtual Float_t | AliHit::Y() const |
virtual Float_t | AliHit::Z() const |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
void | TObject::MakeZombie() |
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
Float_t | fDestep | Energy deposited in the current step |
Int_t | fModule | Module number |
Float_t | fPx | PX of particle at the point of the hit |
Float_t | fPy | PY of particle at the point of the hit |
Float_t | fPz | PZ of particle at the point of the hit |
Int_t | fStatus | Track Status |
Int_t | fStatus0 | Track Status of Starting point |
Float_t | fTof | Time of flight at the point of the hit |
Int_t | AliHit::fTrack | Track number |
Float_t | AliHit::fX | X position of the hit |
Float_t | AliHit::fY | Y position of the hit |
Float_t | AliHit::fZ | Z position of the hit |
Float_t | ft0 | Starting point of this step |
Float_t | fx0 | Starting point of this step |
Float_t | fy0 | Starting point of this step |
Float_t | fz0 | Starting point of this step |
Inheritance Chart: | ||||||||||||||||
|
Default Constructor Zero data member just to be safe. Intputs: none. Outputs: none. Return: A default created AliITShit class.
Create ITS hit The creator of the AliITShit class. The variables shunt and track are passed to the creator of the AliHit class. See the AliHit class for a full description. In the units of the Monte Carlo Inputs: Int_t shunt See AliHit Int_t track Track number, see AliHit Int_t *vol Array of integer hit data, vol[0] module vol[1] not used vol[2] not used vol[3] Set of status bits vol[4] Set of status bits at start Float_t edep The energy deposited GeV during the transport of this step Float_t tof The time of flight of this particle at this step TLorenzVector &x The Global position of this step [cm] TLorenzVector &x0 The Global position of where this step started from [cm] TLorenzVector &p The Global momentum of the particle at this step [GeV/c] Outputs: none. Return: A default created AliITShit class.
Create ITS hit The creator of the AliITShit class. The variables shunt and track are passed to the creator of the AliHit class. See the AliHit class for a full description. the integer array *vol contains, in order, fLayer = vol[0], fDet = vol[1], fLadder = vol[2], fStatus = vol[3]. The array *hits contains, in order, fX = hits[0], fY = hits[1], fZ = hits[2], fPx = hits[3], fPy = hits[4], fPz = hits[5], fDestep = hits[6], and fTof = hits[7]. In the units of the Monte Carlo Intputs: Int_t shunt See AliHit Int_t track Track number, see AliHit Int_t *vol Array of integer hit data, vol[0] module number vol[1] not used vol[2] not used vol[3] Set of status bits vol[4] Set of status bits at start Float_t *hits Array of hit information hits[0] X global position of this hit hits[1] Y global position of this hit hits[2] Z global position of this hit hits[3] Px global position of this hit hits[4] Py global position of this hit hits[5] Pz global position of this hit hits[6] Energy deposited by this step hits[7] Time of flight of this particle at this step hits[8] X0 global position of start of step hits[9] Y0 global position of start of step hits[10] Z0 global position of start of step hits[11] Time of flight of this particle before step Outputs: none. Return: A standard created AliITShit class.
The standard copy constructor Inputs: AliITShit &h the sourse of this copy Outputs: none. Return: A copy of the sourse hit h
The standard = operator Inputs: AliITShit &h the sourse of this copy Outputs: none. Return: A copy of the sourse hit h
Returns the position and time of flight of this hit in the local coordinates of this module, and in the units of the Monte Carlo. Inputs: none. Outputs: Float_t x Global position of this hit [cm] Float_t y Global position of this hit [cm] Float_t z Global poistion of this hit [cm] Float_t tof Time of flight of particle at this hit Return: none.
Returns the initial position and time of flight of this hit in the local coordinates of this module, and in the units of the Monte Carlo. Inputs: none. Outputs: Double_t x Global position of this hit [cm] Double_t y Global position of this hit [cm] Double_t z Global poistion of this hit [cm] Double_t tof Time of flight of particle at this hit Return: none.
Returns the pointer to the TParticle for the particle that created this hit. From the TParticle all kinds of information about this particle can be found. See the TParticle class. Inputs: none. Outputs: none. Return: The TParticle of the track that created this hit.
Standard output format for this class. Inputs: ostream *os The output stream Outputs: none. Return: none.
Standard input format for this class. Inputs: istream *is the input stream Outputs: none. Return: none.
Get Hit information functions. virtual int GetTrack() const {return fTrack;} // define in AliHit virtual void SetTrack(int track) const {fTrack=track;) // AliHit
{fModule=mod;}
returns the position in the Global frame
returns the position in the Global frame
Returns particle 3 position at this hit in global coordinates.
Returns particle 3 position at this hit in global coordinates.
Returns particle 3 position at this hit in global coordinates.
returns the initial position in the Global frame and the time of flight
Returns particle 3 position at this hit in local coordinates.
Get Monti Carlo information about hit.
returns the particle momentum in the Global frame