Hall C ROOT/C++ Analyzer (hcana)
|
Class representing a single raw TDC hit.
Definition at line 7 of file THcRawTdcHit.h.
Public Member Functions | |
virtual void | Clear (Option_t *opt="") |
Clears variables before next event. More... | |
UInt_t | GetNHits () const |
Gets the number of set hits. More... | |
Int_t | GetRefDiffTime () const |
Int_t | GetRefTime () const |
Gets reference time. In channels. More... | |
Int_t | GetTime (UInt_t iHit=0) const |
Gets TDC time. In channels. More... | |
Int_t | GetTimeRaw (UInt_t iHit=0) const |
Gets raw TDC time. In channels. More... | |
Bool_t | HasRefTime () const |
Queries whether reference time has been set. More... | |
THcRawTdcHit & | operator= (const THcRawTdcHit &right) |
Assignment operator. More... | |
void | SetRefDiffTime (Int_t refDiffTime) |
void | SetRefTime (Int_t refTime) |
Sets reference time. In channels. More... | |
void | SetTime (Int_t time) |
Sets raw TDC time from the modules. In channels. More... | |
THcRawTdcHit () | |
Constructor. More... | |
virtual | ~THcRawTdcHit () |
Destructor. More... | |
Public Member Functions inherited from TObject | |
void | AbstractMethod (const char *method) const |
virtual void | AppendPad (Option_t *option="") |
virtual void | Browse (TBrowser *b) |
virtual const char * | ClassName () const |
virtual TObject * | Clone (const char *newname="") const |
virtual Int_t | Compare (const TObject *obj) const |
virtual void | Copy (TObject &object) const |
virtual void | Delete (Option_t *option="") |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | Draw (Option_t *option="") |
virtual void | DrawClass () const |
virtual TObject * | DrawClone (Option_t *option="") const |
virtual void | Dump () const |
virtual void | Error (const char *method, const char *msgfmt,...) const |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual const char * | GetName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
virtual ULong_t | Hash () const |
virtual void | Info (const char *method, const char *msgfmt,...) const |
virtual Bool_t | InheritsFrom (const char *classname) const |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
virtual void | Inspect () const |
void | InvertBit (UInt_t f) |
virtual Bool_t | IsEqual (const TObject *obj) const |
virtual Bool_t | IsFolder () const |
Bool_t | IsOnHeap () const |
virtual Bool_t | IsSortable () const |
Bool_t | IsZombie () const |
virtual void | ls (Option_t *option="") const |
void | MayNotUse (const char *method) const |
virtual Bool_t | Notify () |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
void | operator delete (void *ptr) |
void | operator delete[] (void *ptr) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
TObject & | operator= (const TObject &rhs) |
virtual void | Paint (Option_t *option="") |
virtual void | Pop () |
virtual void | Print (Option_t *option="") const |
virtual Int_t | Read (const char *name) |
virtual void | RecursiveRemove (TObject *obj) |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
virtual void | SetDrawOption (Option_t *option="") |
virtual void | SetUniqueID (UInt_t uid) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
TObject () | |
TObject (const TObject &object) | |
virtual void | UseCurrentStyle () |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
virtual | ~TObject () |
Protected Attributes | |
Double_t | fChannelToTimeFactor |
Bool_t | fHasRefTime |
UInt_t | fNHits |
Int_t | fRefDiffTime |
Int_t | fRefTime |
Int_t | fTime [fMaxNHits] |
Static Protected Attributes | |
static const UInt_t | fMaxNHits = 128 |
Additional Inherited Members | |
Public Types inherited from TObject | |
enum | EStatusBits |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Public Attributes inherited from TObject | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
#include <THcRawTdcHit.h>
THcRawTdcHit::THcRawTdcHit | ( | ) |
Constructor.
Definition at line 83 of file THcRawTdcHit.cxx.
|
virtual |
Destructor.
Definition at line 107 of file THcRawTdcHit.cxx.
Clears variables before next event.
[in] | opt | Maybe used in base clas... Not sure. |
Reimplemented from TObject.
Definition at line 110 of file THcRawTdcHit.cxx.
UInt_t THcRawTdcHit::GetNHits | ( | ) | const |
Gets the number of set hits.
Definition at line 204 of file THcRawTdcHit.cxx.
Int_t THcRawTdcHit::GetRefDiffTime | ( | ) | const |
Definition at line 186 of file THcRawTdcHit.cxx.
Int_t THcRawTdcHit::GetRefTime | ( | ) | const |
Gets reference time. In channels.
std::runtime_error | No reference time was set. |
Definition at line 174 of file THcRawTdcHit.cxx.
Gets TDC time. In channels.
[in] | iHit | Sequential number of requested hit. |
Returned time is corrected for reference time, if available.
Definition at line 165 of file THcRawTdcHit.cxx.
Gets raw TDC time. In channels.
[in] | iHit | Sequential number of requested hit. |
std::out_of_range | Tried to access nonexisting hit. |
Returns 0 if tried to access first hit but no hits are set.
Definition at line 148 of file THcRawTdcHit.cxx.
Bool_t THcRawTdcHit::HasRefTime | ( | ) | const |
Queries whether reference time has been set.
Definition at line 199 of file THcRawTdcHit.cxx.
THcRawTdcHit & THcRawTdcHit::operator= | ( | const THcRawTdcHit & | right | ) |
Assignment operator.
[in] | right | Raw TDC hit to be assigned. |
Definition at line 90 of file THcRawTdcHit.cxx.
Definition at line 143 of file THcRawTdcHit.cxx.
Sets reference time. In channels.
[in] | refTime | Reference time. In channels. |
Definition at line 138 of file THcRawTdcHit.cxx.
Sets raw TDC time from the modules. In channels.
[in] | time | Raw TDC time from the modules. In channels. |
std::out_of_range | Tried to set too many hits. |
Definition at line 123 of file THcRawTdcHit.cxx.
|
protected |
Definition at line 31 of file THcRawTdcHit.h.
|
protected |
Definition at line 37 of file THcRawTdcHit.h.
|
staticprotected |
Definition at line 29 of file THcRawTdcHit.h.
|
protected |
Definition at line 38 of file THcRawTdcHit.h.
|
protected |
Definition at line 35 of file THcRawTdcHit.h.
|
protected |
Definition at line 34 of file THcRawTdcHit.h.
Definition at line 33 of file THcRawTdcHit.h.