|
virtual void | AddEvtType (int evtype) |
|
virtual void | Clear (Option_t *opt="") |
| Clears variables before next event.
|
|
Int_t | Decode (const THaEvData &evData) |
| Decodes and processes events.
|
|
Int_t | End (THaRunBase *run) |
|
Double_t | Get_CT_Trigtime (Int_t ii) |
|
Double_t | Get_RF_TrigTime (Int_t ii) |
|
virtual Bool_t | HaveIgnoreList () const |
|
virtual EStatus | Init (const TDatime &date) |
| Initializes the detector variables.
|
|
virtual Bool_t | IsIgnoreType (Int_t evtype) const |
|
virtual void | SetEvtType (int evtype) |
|
virtual void | SetSpectName (const char *name) |
|
| THcTrigDet (const char *name, const char *description="", THaApparatus *app=NULL) |
| A constructor.
|
|
| ~THcTrigDet () |
| A destructor.
|
|
THaApparatus * | GetApparatus () const |
|
virtual void | SetApparatus (THaApparatus *) |
|
| THaDetector () |
|
virtual | ~THaDetector () |
|
TVector3 | DetToTrackCoord (const TVector3 &point) const |
|
TVector3 | DetToTrackCoord (Double_t x, Double_t y) const |
|
Int_t | FillDetMap (const std::vector< Int_t > &values, UInt_t flags=0, const char *here="FillDetMap") |
|
VecDetData_t & | GetDetectorData () |
|
THaDetMap * | GetDetMap () const |
|
Int_t | GetNelem () const |
|
Int_t | GetNviews () const |
|
const TVector3 & | GetOrigin () const |
|
const Double_t * | GetSize () const |
|
virtual Int_t | GetView (const DigitizerHitInfo_t &hitinfo) const |
|
const TVector3 & | GetXax () const |
|
Double_t | GetXSize () const |
|
const TVector3 & | GetYax () const |
|
Double_t | GetYSize () const |
|
const TVector3 & | GetZax () const |
|
Double_t | GetZSize () const |
|
virtual Bool_t | IsInActiveArea (const TVector3 &point) const |
|
virtual Bool_t | IsInActiveArea (Double_t x, Double_t y) const |
|
void | PrintDetMap (Option_t *opt="") const |
|
virtual void | Reset (Option_t *opt="") |
|
| THaDetectorBase () |
|
TVector3 | TrackToDetCoord (const TVector3 &point) const |
|
virtual | ~THaDetectorBase () |
|
virtual Int_t | Begin (THaRunBase *r=nullptr) |
|
const char * | GetClassName () const |
|
const char * | GetConfig () const |
|
virtual const char * | GetDBFileName () const |
|
Int_t | GetDebug () const |
|
TDatime | GetInitDate () const |
|
const char * | GetPrefix () const |
|
TString | GetPrefixName () const |
|
EStatus | Init () |
|
virtual Int_t | InitOutput (THaOutput *) |
|
Bool_t | IsInit () const |
|
Bool_t | IsOK () const |
|
Bool_t | IsOKOut () const |
|
virtual FILE * | OpenFile (const TDatime &date) |
|
virtual FILE * | OpenRunDBFile (const TDatime &date) |
|
THaAnalysisObject & | operator= (const THaAnalysisObject &&)=delete |
|
THaAnalysisObject & | operator= (const THaAnalysisObject &)=delete |
|
virtual void | Print (Option_t *opt="") const |
|
void | SetConfig (const char *label) |
|
virtual void | SetDebug (Int_t level) |
|
virtual void | SetName (const char *name) |
|
virtual void | SetNameTitle (const char *name, const char *title) |
|
EStatus | Status () const |
|
| THaAnalysisObject () |
|
| THaAnalysisObject (const THaAnalysisObject &&)=delete |
|
| THaAnalysisObject (const THaAnalysisObject &)=delete |
|
virtual | ~THaAnalysisObject () |
|
void | Clear (Option_t *option="") override |
|
TObject * | Clone (const char *newname="") const override |
|
Int_t | Compare (const TObject *obj) const override |
|
void | Copy (TObject &named) const override |
|
virtual void | FillBuffer (char *&buffer) |
|
const char * | GetName () const override |
|
const char * | GetTitle () const override |
|
ULong_t | Hash () const override |
|
TClass * | IsA () const override |
|
Bool_t | IsSortable () const override |
|
void | ls (Option_t *option="") const override |
|
TNamed & | operator= (const TNamed &rhs) |
|
void | Print (Option_t *option="") const override |
|
virtual void | SetTitle (const char *title="") |
|
virtual Int_t | Sizeof () const |
|
void | Streamer (TBuffer &) override |
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TNamed () |
|
| TNamed (const char *name, const char *title) |
|
| TNamed (const TNamed &named) |
|
| TNamed (const TString &name, const TString &title) |
|
virtual | ~TNamed () |
|
void | AbstractMethod (const char *method) const |
|
virtual void | AppendPad (Option_t *option="") |
|
virtual void | Browse (TBrowser *b) |
|
ULong_t | CheckedHash () |
|
virtual const char * | ClassName () 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=nullptr) |
|
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
|
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 char * | GetObjectInfo (Int_t px, Int_t py) const |
|
virtual Option_t * | GetOption () const |
|
virtual UInt_t | GetUniqueID () const |
|
virtual Bool_t | HandleTimer (TTimer *timer) |
|
Bool_t | HasInconsistentHash () 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) |
|
Bool_t | IsDestructed () const |
|
virtual Bool_t | IsEqual (const TObject *obj) const |
|
virtual Bool_t | IsFolder () const |
|
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
|
R__ALWAYS_INLINE Bool_t | IsZombie () 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 * | operator new[] (size_t sz, void *vp) |
|
TObject & | operator= (const TObject &rhs) |
|
virtual void | Paint (Option_t *option="") |
|
virtual void | Pop () |
|
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) |
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
virtual void | SysError (const char *method, const char *msgfmt,...) const |
|
R__ALWAYS_INLINE 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=nullptr, Int_t option=0, Int_t bufsize=0) |
|
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
|
virtual | ~TObject () |
|
void | CreateMissReportParms (const char *prefix) const |
|
virtual Int_t | DecodeToHitList (const THaEvData &evdata, Bool_t suppress=kFALSE) |
| Populate the hitlist from the raw event data.
|
|
void | DisableSlipCorrection () |
|
TClonesArray * | GetHitList () const |
|
void | InitHitList (THaDetMap *detmap, const char *hitclass, Int_t maxhits, Int_t tdcref_cut=0, Int_t adcref_cut=0) |
| Save the electronics module to detector mapping and initialize a hit array of hits of class hitclass.
|
|
void | MissReport (const char *name) const |
|
| THcHitList () |
|
virtual | ~THcHitList () |
|
|
virtual Int_t | DefineVariables (EMode mode=kDefine) |
|
virtual Int_t | ReadDatabase (const TDatime &date) |
|
void | Setup (const char *name, const char *description) |
|
virtual void | MakePrefix () |
|
| THaDetector (const char *name, const char *description, THaApparatus *apparatus=nullptr) |
|
void | DataLoadWarning (const DigitizerHitInfo_t &hitinfo, const char *here) |
|
void | DebugWarning (const char *here, const char *msg, UInt_t evnum) |
|
virtual void | DefineAxes (Double_t rotation_angle) |
|
virtual OptUInt_t | LoadData (const THaEvData &evdata, const DigitizerHitInfo_t &hitinfo) |
|
void | MultipleHitWarning (const DigitizerHitInfo_t &hitinfo, const char *here) |
|
virtual void | PrintDecodedData (const THaEvData &evdata) const |
|
virtual Int_t | ReadGeometry (FILE *file, const TDatime &date, Bool_t required=false) |
|
virtual Int_t | StoreHit (const DigitizerHitInfo_t &hitinfo, UInt_t data) |
|
| THaDetectorBase (const char *name, const char *description) |
|
virtual const char * | ClassNameHere (const char *) const |
|
Int_t | DefineVarsFromList (const RVarDef *list, EMode mode, const char *def_prefix="", const char *comment_subst="") const |
|
Int_t | DefineVarsFromList (const VarDef *list, EMode mode=kDefine, const char *def_prefix="", const char *comment_subst="") const |
|
Int_t | DefineVarsFromList (const void *list, EType type, EMode mode, const char *def_prefix="", const char *comment_subst="") const |
|
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
|
THaAnalysisObject * | FindModule (const char *name, const char *classname, bool do_error=true) |
|
virtual const char * | Here (const char *) const |
|
Int_t | LoadDB (FILE *f, const TDatime &date, const DBRequest *req, Int_t search=0) const |
|
void | MakePrefix (const char *basename) |
|
virtual Int_t | ReadRunDatabase (const TDatime &date) |
|
Int_t | RemoveVariables () |
|
| THaAnalysisObject (const char *name, const char *description) |
|
void | MakeZombie () |
|
| ClassDef (THcHitList, 0) |
|
A mock detector to hold trigger related data.
This class behaves as a detector, but it does not correspond to any physical detector in the hall. Its purpose is to gather all the trigger related data comming from a specific source, like HMS.
Can hold up to 100 ADC and TDC channels, though the limit can be changed if needed. It just seemed like a reasonable starting value.
Only outputs the first hit for each channel to the Root tree leaf.
Defined variables
For ADC channels it defines:
- raw pedestal:
var_adcPedRaw
- raw pulse integral:
var_adcPulseIntRaw
- raw pulse amplitude:
var_adcPulseAmpRaw
- raw pulse time:
var_adcPulseTimeRaw
- single sample pedestal value:
var_adcPed
- pedestal subtracted pulse integral:
var_adcPulseInt
- pedestal subtracted pulse amplitude:
var_adcPulseAmp
- multiplicity:
var_adcMult
For TDC channels it defines:
- raw TDC time:
var_tdcTimeRaw
- refence time subtracted TDC time:
var_tdcTime
- multiplicity:
var_tdcMult
Parameter file variables
The names and number of channels is defined in a parameter file. The detector looks for next variables:
prefix_numAdc = number_of_ADC_channels
prefix_numTdc = number_of_TDC_channels
prefix_adcNames = "varName1 varName2 ... varNameNumAdc"
prefix_tdcNames = "varName1 varName2 ... varNameNumTdc"
Map file information
ADC channels must be assigned plane 1
and signal 0
while TDC channels must be assigned plane 2
and signal 1
.
Each channel within a plane must be assigned a consecutive "bar" number, which is then used to get the correct variable name from parameter file.
Use only with THcTrigApp class.
Definition at line 16 of file THcTrigDet.h.