Hall C ROOT/C++ Analyzer (hcana)
|
Generic segmented shower detector. More...
#include <THcShower.h>
Public Member Functions | |
virtual void | Clear (Option_t *opt="") |
virtual Int_t | CoarseProcess (TClonesArray &tracks) |
virtual Int_t | Decode (const THaEvData &) |
virtual Int_t | FineProcess (TClonesArray &tracks) |
Int_t | GetADCMode () |
Double_t | GetAdcTdcOffset () |
Double_t | GetBlockThick (Int_t NLayer) |
Double_t | GetGain (Int_t NBlock, Int_t NLayer, Int_t Side) |
Int_t | GetMinPeds () |
Int_t | GetNBlocks (Int_t layer) |
Int_t | GetNBlocks (Int_t NLayer) const |
Double_t * | GetNegAdcTimeWindowMax () |
Double_t * | GetNegAdcTimeWindowMin () |
Int_t | GetNHits () const |
Int_t | GetNLayers () |
Double_t | GetNormETot () |
Double_t | GetPedDefault (Int_t NBlock, Int_t NLayer, Int_t Side) |
Int_t | GetPedLimit (Int_t NBlock, Int_t NLayer, Int_t Side) |
Double_t * | GetPosAdcTimeWindowMax () |
Double_t * | GetPosAdcTimeWindowMin () |
Float_t | GetShEnergy (THaTrack *, UInt_t NLayers, UInt_t L0=0) |
Double_t | GetWindowMax (Int_t NBlock, Int_t NLayer, Int_t Side) |
Double_t | GetWindowMin (Int_t NBlock, Int_t NLayer, Int_t Side) |
Double_t | GetXPos (Int_t NLayer, Int_t NRow) const |
Double_t | GetYPos (Int_t NLayer, Int_t Side) const |
Double_t | GetZPos (Int_t NLayer) const |
virtual EStatus | Init (const TDatime &run_time) |
THcShower () | |
THcShower (const char *name, const char *description="", THaApparatus *a=NULL) | |
Float_t | Ycor (Double_t y) |
Float_t | Ycor (Double_t y, Int_t side) |
Float_t | YcorPr (Double_t y, Int_t side) |
virtual | ~THcShower () |
Public Member Functions inherited from THaNonTrackingDetector | |
Int_t | GetNTracks () const |
const TClonesArray * | GetTrackHits () const |
virtual Bool_t | IsPid () |
virtual Bool_t | IsTracking () |
THaNonTrackingDetector () | |
virtual | ~THaNonTrackingDetector () |
Public Member Functions inherited from THaSpectrometerDetector | |
Bool_t | CalcInterceptCoords (THaTrack *track, Double_t &x, Double_t &y) |
Bool_t | CalcPathLen (THaTrack *track, Double_t &t) |
Bool_t | CalcTrackIntercept (THaTrack *track, Double_t &pathl, Double_t &xdet, Double_t &ydet) |
Bool_t | CalcTrackIntercept (THaTrack *track, TVector3 &icept, Double_t &pathl) |
Bool_t | CheckIntercept (THaTrack *track) |
THaSpectrometerDetector ()=default | |
virtual | ~THaSpectrometerDetector ()=default |
Public Member Functions inherited from THaDetector | |
THaApparatus * | GetApparatus () const |
virtual void | SetApparatus (THaApparatus *) |
THaDetector () | |
virtual | ~THaDetector () |
Public Member Functions inherited from THaDetectorBase | |
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 () |
Public Member Functions inherited from THaAnalysisObject | |
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 () |
Public Member Functions inherited from TNamed | |
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 () |
Public Member Functions inherited from TObject | |
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 () |
Public Member Functions inherited from THcHitList | |
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 () |
Protected Member Functions | |
void | ClearEvent () |
void | ClusterHits (THcShowerHitSet &HitSet, THcShowerClusterList *ClusterList) |
virtual Int_t | DefineVariables (EMode mode=kDefine) |
void | DeleteArrays () |
virtual Int_t | End (THaRunBase *r=0) |
Int_t | MatchCluster (THaTrack *, Double_t &, Double_t &) |
virtual Int_t | ReadDatabase (const TDatime &date) |
void | Setup (const char *name, const char *description) |
Protected Member Functions inherited from THaNonTrackingDetector | |
Int_t | CalcTrackProj (TClonesArray &tracks) |
THaNonTrackingDetector (const char *name, const char *description, THaApparatus *a=nullptr) | |
Protected Member Functions inherited from THaSpectrometerDetector | |
THaSpectrometerDetector (const char *name, const char *description, THaApparatus *a=nullptr) | |
Protected Member Functions inherited from THaDetector | |
virtual void | MakePrefix () |
THaDetector (const char *name, const char *description, THaApparatus *apparatus=nullptr) | |
Protected Member Functions inherited from THaDetectorBase | |
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) | |
Protected Member Functions inherited from THaAnalysisObject | |
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) | |
Protected Member Functions inherited from TObject | |
void | MakeZombie () |
Protected Member Functions inherited from THcHitList | |
ClassDef (THcHitList, 0) | |
Static Protected Attributes | |
static const Int_t | kADCDynamicPedestal =1 |
static const Int_t | kADCSampIntDynPed =3 |
static const Int_t | kADCSampleIntegral =2 |
static const Int_t | kADCStandard =0 |
Friends | |
class | THcShowerArray |
class | THcShowerPlane |
Additional Inherited Members | |
Public Types inherited from THaDetectorBase | |
typedef std::vector< std::unique_ptr< Podd::DetectorData > > | VecDetData_t |
Public Types inherited from THaAnalysisObject | |
enum | EMode |
enum | EStatus |
enum | EType |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Static Public Member Functions inherited from THaAnalysisObject | |
static Int_t | DefineVarsFromList (const void *list, EType type, EMode mode, const char *def_prefix, const TObject *obj, const char *prefix, const char *here, const char *comment_subst="") |
static void | GeoToSph (Double_t th_geo, Double_t ph_geo, Double_t &th_sph, Double_t &ph_sph) |
static Bool_t | IntersectPlaneWithRay (const TVector3 &xax, const TVector3 &yax, const TVector3 &org, const TVector3 &ray_start, const TVector3 &ray_vect, Double_t &length, TVector3 &intersect) |
static Int_t | LoadDB (FILE *file, const TDatime &date, const DBRequest *request, const char *prefix, Int_t search=0, const char *here="THaAnalysisObject::LoadDB") |
static void | PrintObjects (Option_t *opt="") |
static void | SphToGeo (Double_t th_sph, Double_t ph_sph, Double_t &th_geo, Double_t &ph_geo) |
Static Public Member Functions inherited from TNamed | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Public Attributes inherited from THaAnalysisObject | |
kDefine | |
kDelete | |
kFileError | |
kInitError | |
kNotinit | |
kOK | |
kRVarDef | |
kVarDef | |
Public Attributes inherited from TObject | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInconsistent | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
Public Attributes inherited from THcHitList | |
Bool_t | fADC_RefTimeBest |
Int_t | fADC_RefTimeCut |
THaDetMap * | fdMap |
Int_t | fNMaxRawHits |
UInt_t | fNRawHits |
TClass * | fRawHitClass |
TClonesArray * | fRawHitList |
Bool_t | fTDC_RefTimeBest |
Int_t | fTDC_RefTimeCut |
Protected Types inherited from THaAnalysisObject | |
enum | EProperties |
Generic segmented shower detector.
Definition at line 18 of file THcShower.h.
THcShower::THcShower | ( | const char * | name, |
const char * | description = "" , |
||
THaApparatus * | a = NULL |
||
) |
Definition at line 35 of file THcShower.cxx.
|
virtual |
Definition at line 592 of file THcShower.cxx.
THcShower::THcShower | ( | ) |
Definition at line 54 of file THcShower.cxx.
Reimplemented from THaNonTrackingDetector.
Definition at line 647 of file THcShower.cxx.
|
protected |
|
protected |
Definition at line 872 of file THcShower.cxx.
|
virtual |
Implements THaNonTrackingDetector.
Definition at line 741 of file THcShower.cxx.
Reimplemented from THaDetectorBase.
Definition at line 693 of file THcShower.cxx.
Reimplemented from THaNonTrackingDetector.
Definition at line 544 of file THcShower.cxx.
|
protected |
Definition at line 617 of file THcShower.cxx.
|
protectedvirtual |
Reimplemented from THaDetector.
Definition at line 1300 of file THcShower.cxx.
|
virtual |
Implements THaNonTrackingDetector.
Definition at line 1217 of file THcShower.cxx.
|
inline |
Definition at line 107 of file THcShower.h.
|
inline |
Definition at line 122 of file THcShower.h.
Definition at line 50 of file THcShower.h.
Definition at line 63 of file THcShower.h.
|
inline |
Definition at line 125 of file THcShower.h.
Definition at line 132 of file THcShower.h.
Definition at line 34 of file THcShower.h.
|
inline |
Definition at line 119 of file THcShower.h.
|
inline |
Definition at line 113 of file THcShower.h.
|
inline |
Definition at line 32 of file THcShower.h.
|
inline |
Definition at line 129 of file THcShower.h.
Double_t THcShower::GetNormETot | ( | ) |
Definition at line 1296 of file THcShower.cxx.
Definition at line 74 of file THcShower.h.
Definition at line 52 of file THcShower.h.
|
inline |
Definition at line 116 of file THcShower.h.
|
inline |
Definition at line 110 of file THcShower.h.
Definition at line 1134 of file THcShower.cxx.
Definition at line 96 of file THcShower.h.
Definition at line 85 of file THcShower.h.
Definition at line 36 of file THcShower.h.
Definition at line 40 of file THcShower.h.
Definition at line 48 of file THcShower.h.
|
virtual |
Reimplemented from THaAnalysisObject.
Definition at line 146 of file THcShower.cxx.
|
protected |
Definition at line 1029 of file THcShower.cxx.
Reimplemented from THaDetectorBase.
Definition at line 207 of file THcShower.cxx.
|
protected |
Definition at line 67 of file THcShower.cxx.
Definition at line 139 of file THcShower.h.
Definition at line 146 of file THcShower.h.
Definition at line 159 of file THcShower.h.
|
friend |
Definition at line 299 of file THcShower.h.
|
friend |
Definition at line 298 of file THcShower.h.
|
protected |
Definition at line 252 of file THcShower.h.
|
protected |
Definition at line 276 of file THcShower.h.
|
protected |
Definition at line 189 of file THcShower.h.
|
protected |
Definition at line 203 of file THcShower.h.
|
protected |
Definition at line 205 of file THcShower.h.
|
protected |
Definition at line 282 of file THcShower.h.
|
protected |
Definition at line 277 of file THcShower.h.
|
protected |
Definition at line 278 of file THcShower.h.
|
protected |
Definition at line 241 of file THcShower.h.
|
protected |
Definition at line 271 of file THcShower.h.
|
protected |
Definition at line 269 of file THcShower.h.
|
protected |
Definition at line 273 of file THcShower.h.
|
protected |
Definition at line 268 of file THcShower.h.
|
protected |
Definition at line 270 of file THcShower.h.
|
protected |
Definition at line 272 of file THcShower.h.
|
protected |
Definition at line 279 of file THcShower.h.
|
protected |
Definition at line 237 of file THcShower.h.
|
protected |
Definition at line 238 of file THcShower.h.
|
protected |
Definition at line 233 of file THcShower.h.
|
protected |
Definition at line 234 of file THcShower.h.
|
protected |
Definition at line 239 of file THcShower.h.
|
protected |
Definition at line 235 of file THcShower.h.
|
protected |
Definition at line 236 of file THcShower.h.
|
protected |
Definition at line 188 of file THcShower.h.
|
protected |
Definition at line 249 of file THcShower.h.
|
protected |
Definition at line 246 of file THcShower.h.
|
protected |
Definition at line 250 of file THcShower.h.
|
protected |
Definition at line 222 of file THcShower.h.
|
protected |
Definition at line 253 of file THcShower.h.
|
protected |
Definition at line 218 of file THcShower.h.
|
protected |
Definition at line 220 of file THcShower.h.
|
protected |
Definition at line 219 of file THcShower.h.
|
protected |
Definition at line 200 of file THcShower.h.
|
protected |
Definition at line 198 of file THcShower.h.
|
protected |
Definition at line 258 of file THcShower.h.
|
protected |
Definition at line 213 of file THcShower.h.
|
protected |
Definition at line 217 of file THcShower.h.
|
protected |
Definition at line 247 of file THcShower.h.
|
protected |
Definition at line 254 of file THcShower.h.
|
protected |
Definition at line 248 of file THcShower.h.
|
protected |
Definition at line 231 of file THcShower.h.
|
protected |
Definition at line 202 of file THcShower.h.
|
protected |
Definition at line 201 of file THcShower.h.
|
protected |
Definition at line 281 of file THcShower.h.
|
protected |
Definition at line 199 of file THcShower.h.
|
protected |
Definition at line 197 of file THcShower.h.
|
protected |
Definition at line 212 of file THcShower.h.
|
protected |
Definition at line 187 of file THcShower.h.
|
protected |
Definition at line 210 of file THcShower.h.
|
protected |
Definition at line 208 of file THcShower.h.
|
protected |
Definition at line 207 of file THcShower.h.
|
protected |
Definition at line 221 of file THcShower.h.
|
protected |
Definition at line 259 of file THcShower.h.
|
protected |
Definition at line 261 of file THcShower.h.
|
protected |
Definition at line 260 of file THcShower.h.
|
protected |
Definition at line 264 of file THcShower.h.
|
protected |
Definition at line 263 of file THcShower.h.
|
protected |
Definition at line 266 of file THcShower.h.
|
protected |
Definition at line 265 of file THcShower.h.
|
protected |
Definition at line 227 of file THcShower.h.
|
protected |
Definition at line 223 of file THcShower.h.
|
protected |
Definition at line 255 of file THcShower.h.
|
protected |
Definition at line 224 of file THcShower.h.
|
protected |
Definition at line 228 of file THcShower.h.
|
protected |
Definition at line 229 of file THcShower.h.
|
protected |
Definition at line 225 of file THcShower.h.
|
protected |
Definition at line 256 of file THcShower.h.
|
protected |
Definition at line 226 of file THcShower.h.
|
protected |
Definition at line 230 of file THcShower.h.
|
protected |
Definition at line 257 of file THcShower.h.
|
staticprotected |
Definition at line 194 of file THcShower.h.
|
staticprotected |
Definition at line 196 of file THcShower.h.
|
staticprotected |
Definition at line 195 of file THcShower.h.
|
staticprotected |
Definition at line 193 of file THcShower.h.