_HADES_CLASS_DESCRIPTION HMdcCal1Sim Data object for a Mdc cell containing digitized drift times from simulation This class inherits from the class HMdcCal1 used for real data. As additional data elements the track numbers of the two hits are stored and a status number set by the digitizer. The track number of the hits can be accessed via the inline functions void setNTrack1(const Int_t nTrack1) of time1 void setNTrack2(const Int_t nTrack2) of time2 Int_t getNTrack1(void) const of time1 Int_t getNTrack2(void) const of time2 and the status via the inline functions void setStatus1(const Int_t flag) of time1 Int_t getStatus1() const of time1 void setStatus2(const Int_t flag) of time2 Int_t getStatus2() const of time2 void setAngle1 (const Float_t angle1) of time1 void setAngle2 (const Float_t angle2) of time2 Float_t getAngle1(void) of time1 Float_t getAngle2(void) of time2 void setMinDist1 (const Float_t mindist1)of time1 void setMinDist2 (const Float_t mindist2)of time2 Float_t getMinDist1(void) of time1 Float_t getMinDist2(void) of time2 void setError1 (const Float_t error1) of time1 void setError2 (const Float_t error2) of time2 Float_t getError1(void) of time1 Float_t getError2(void) of time2 void setTof1 (const Float_t tof1) of time1 void setTof2 (const Float_t tof2) of time2 void setWireOffset1 (const Float_t off1) of time1 void setWireOffset2 (const Float_t off2) of time2 Float_t getTof1(void) of time1 Float_t getTof2(void) of time2 Float_t getWireOffset1(void) of time1 Float_t getWireOffset2(void) of time2 void setTrackList(Int_t* array) array of tracks[5] can be coppied to TrackList void getTrackList(Int_t* array) array of tracks[5] can be filled from TrackList void setStatusList(Int_t* array) array of status[5] can be coppied to StatusList void getStatusList(Int_t* array) array of status[5] can be filled from StatusList Int_t getNTracks() returns number of tracks in track list, can be used for loops for(Int_t i=0;i<(HMdcCal1Sim*)cal->getNTracks();i++) { (HMdcCal1Sim*)cal->getTrackFromList(i);} Int_t* getStatusList(){return (Int_t*)listStatus;} Int_t* getTrackList() {return (Int_t*)listTrack;} Int_t getTrackFromList (Int_t element){return listTrack [element];} Int_t getStatusFromList(Int_t element){return listStatus[element];} According to the two different TDC modes the HMdcCal1Sim category is filled. MODE 1 (two times LEADING EDGE of the TDC signal) nHits == -2 for 2 valid hits == -1 for 1 valid hit == 0 for a not filled hit (e.g. 1 hit was kicked out by efficiency) status1 == 1 for a valid first hit == 2 for a valid first hit caused by noise == -3 for a not valid hit == 0 for REAL data (embedding) or no hit status2 == 1 for a valid second hit == 2 for a valid first hit caused by noise == -3 for a not valid hit == 0 for REAL data (embedding) or no hit angle1 == impact of track1 or -99 if not filled angle2 == impact of track2 or -99 if not filled minDist1== minimum distance of track1 or -99 if not filled minDist2== minimum distance of track2 or -99 if not filled error1 == error of time1 error2 == error of time1 of the second valid hit or -99 if not filled tof1 == tof of time1 tof2 == tof of time1 of the second valid hit or -99 if not filled wireOff1== signal time on wire of track1 or -99 if not filled wireOff2== signal time on wire of track2 or -99 if not filled nTrack1 == track number of the first valid hit == -99 if not filled nTrack2 == track number of the second valid hit == -99 if not filled time1 == drift time1 of the first valid hit == -999 if not filled time2 == drift time1 of the second valid hit == -999 if not filled listTrack[5] : contains the track number of the first 5 hits per cell == -99 if no hit was filled listStatus[5]: contains the status flags of the first 5 hits per cell == -1 if hit was kicked out by cell efficiency cut == -2 if hit was kicked out by layer efficiency cut == 1 if hit is valid == 2 if hit is noise == 3 if hit is REAL data (embedding) == 0 if no hit was filled both lists will be filled even if no vaild hit was found MODE 2 (LEADING AND TRAILING EDGE of the TDC signal) nHits == +2 for 2 valid hits == 0 for not filled hit (e.g. 1 hit was kicked out by efficiency) status1 == 1 for a valid first hit == 2 for a valid first hit caused by noise == -3 for a not valid hit == 0 for REAL data (embedding) or no hit status2 == 1 for a valid first hit == 2 for a valid first hit caused by noise == -3 for a not valid hit == 0 for REAL data (embedding) or no hit angle1 == impact of track1 or -99 if not filled angle2 == impact of track1 or -99 if not filled minDist1== minimum distance of track1 or -99 if not filled minDist2== minimum distance of track1 or -99 if not filled error1 == error of time1 or -99 if not filled error2 == error of time2 or -99 if not filled tof1 == tof of time1 or -99 if not filled tof2 == tof of time2 or -99 if not filled wireOff1== signal time on wire of track1 or -99 if not filled wireOff2== signal time on wire of track1 or -99 if not filled nTrack1 == track number of first valid hit == -99 if not filled nTrack2 == track number of first valid hit == -99 if not filled time1 == drift time1 of the first valid hit == -999 if not filled time2 == drift time2 of the first valid hit == -999 if not filled listTrack[5] : contains the track number of the first 5 hits per cell == -99 if no hit was filled listStatus[5]: contains the status flags of the first 5 hits per cell == -1 if hit was kicked out by cell efficiency cut == -2 if hit was kicked out by layer efficiency cut == 1 if hit is valid == 2 if hit is noise == 3 if hit is REAL data (embedding) == 0 if no hit was filled both lists will be filled even if no vaild hit was found
HMdcCal1Sim() | |
HMdcCal1Sim(const HMdcCal1Sim&) | |
virtual | ~HMdcCal1Sim() |
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 |
void | clear() |
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 |
void | HMdcCal1::getAddress(Int_t& s, Int_t& m, Int_t& l, Int_t& c) |
Float_t | getAngle1() const |
Float_t | getAngle2() const |
Int_t | HMdcCal1::getCell() const |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
Float_t | getError1() const |
Float_t | getError2() const |
virtual const char* | TObject::GetIconName() const |
Int_t | HMdcCal1::getLayer() const |
Float_t | getMinDist1() const |
Float_t | getMinDist2() const |
Int_t | HMdcCal1::getModule() const |
virtual const char* | TObject::GetName() const |
Int_t | HMdcCal1::getNHits() const |
Int_t | getNTrack1() const |
Int_t | getNTrack2() const |
Int_t | getNTracks() |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
Int_t | HMdcCal1::getSector() const |
Int_t | getStatus() const |
Int_t | getStatus1() const |
Int_t | getStatus2() const |
Int_t | getStatusFromList(Int_t element) |
Int_t* | getStatusList() |
void | getStatusList(Int_t* array) |
Float_t | HMdcCal1::getTime1() const |
Float_t | HMdcCal1::getTime2() const |
virtual const char* | TObject::GetTitle() const |
Float_t | getTof1() const |
Float_t | getTof2() const |
Int_t | getTrackFromList(Int_t element) |
Int_t* | getTrackList() |
void | getTrackList(Int_t* array) |
virtual UInt_t | TObject::GetUniqueID() const |
Float_t | getWireOffset1() const |
Float_t | getWireOffset2() const |
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() |
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) |
HMdcCal1Sim& | operator=(const HMdcCal1Sim&) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
virtual void | TObject::Print(Option_t* option = "") const |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
void | TObject::ResetBit(UInt_t f) |
void | resetStatusList(Int_t stat = 0) |
void | resetTrackList(Int_t track = -99) |
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 | HMdcCal1::setAddress(const Int_t s, const Int_t m, const Int_t l, const Int_t c) |
void | setAngle1(const Float_t f) |
void | setAngle2(const Float_t f) |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
void | HMdcCal1::setCell(const Int_t c) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
void | setError1(const Float_t f) |
void | setError2(const Float_t f) |
void | HMdcCal1::setLayer(const Int_t l) |
void | setMinDist1(const Float_t f) |
void | setMinDist2(const Float_t f) |
void | HMdcCal1::setModule(const Int_t m) |
void | HMdcCal1::setNHits(const Int_t n) |
void | setNTrack1(const Int_t n) |
void | setNTrack2(const Int_t n) |
static void | TObject::SetObjectStat(Bool_t stat) |
void | HMdcCal1::setSector(const Int_t s) |
void | setStatus1(const Int_t f) |
void | setStatus2(const Int_t f) |
void | setStatusList(Int_t* array) |
void | setStatusList(Int_t i, Int_t stat) |
void | HMdcCal1::setTime1(const Float_t t) |
void | HMdcCal1::setTime2(const Float_t t) |
void | setTof1(const Float_t f) |
void | setTof2(const Float_t f) |
void | setTrackList(Int_t* array) |
void | setTrackList(Int_t i, Int_t track) |
virtual void | TObject::SetUniqueID(UInt_t uid) |
void | setWireOffset1(const Float_t f) |
void | setWireOffset2(const Float_t f) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& 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 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 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 | angle1 | impact angle1 in cell system 0-90 [degree] |
Float_t | angle2 | impact angle2 in cell system 0-90 [degree] |
Int_t | HMdcCal1::cell | cell number in wire plane |
Float_t | error1 | error of time1 [ns] |
Float_t | error2 | error of time2 [ns] |
Int_t | HMdcCal1::layer | layer number [0-5] |
Int_t | listStatus[5] | list of status for 5 tracks |
Int_t | listTrack[5] | list of 5 tracknumbers (GEANT) for tracks |
Float_t | minDist1 | minimum distance to sense wire for track1 [mm] |
Float_t | minDist2 | minimum distance to sense wire for track2 [mm] |
Int_t | HMdcCal1::module | module number [0-3] |
Int_t | HMdcCal1::nHits | number of hits in this cell |
Int_t | nTrack1 | number of Track for first hit |
Int_t | nTrack2 | number of Track for second hit |
Int_t | HMdcCal1::sector | sector number [0-5] |
Int_t | status1 | status of cell (positive if ok, negative if it should not be used) |
Int_t | status2 | status of cell (positive if ok, negative if it should not be used) |
Float_t | HMdcCal1::time1 | drift time of first hit [ns] |
Float_t | HMdcCal1::time2 | drift time of second hit (2 leading edge mode) or trailing edge of signal [ns] |
Float_t | tof1 | tof of track1 [ns] |
Float_t | tof2 | tof of track2 [ns] |
Float_t | wireOff1 | signal time on the wire of track1 [ns] |
Float_t | wireOff2 | signal time on the wire of track2 [ns] |