Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaVDCChamber Class Reference

Definition at line 27 of file THaVDCChamber.h.

Public Member Functions

PointCoords_t CalcDetCoords (const THaVDCCluster *u, const THaVDCCluster *v) const
 
virtual void Clear (Option_t *opt="")
 
virtual Int_t CoarseTrack ()
 
virtual Int_t Decode (const THaEvData &evData)
 
virtual Int_t FineTrack ()
 
Int_t GetNPoints () const
 
THaVDCPointGetPoint (Int_t i) const
 
TClonesArrayGetPoints () const
 
Double_t GetSpacing () const
 
THaVDCPlaneGetUPlane () const
 
THaVDCPlaneGetVPlane () const
 
Double_t GetZ () const
 
virtual EStatus Init (const TDatime &date)
 
virtual void SetDebug (Int_t level)
 
 THaVDCChamber (const char *name="", const char *description="", THaDetectorBase *parent=nullptr)
 
virtual ~THaVDCChamber ()
 
- Public Member Functions inherited from THaSubDetector
THaApparatusGetApparatus () const
 
THaDetectorBaseGetDetector () const
 
THaDetectorGetMainDetector () const
 
THaDetectorBaseGetParent () const
 
void SetDetector (THaDetectorBase *det)
 
virtual void SetParent (THaDetectorBase *)
 
virtual ~THaSubDetector ()=default
 
- 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_tGetDetectorData ()
 
THaDetMapGetDetMap () const
 
Int_t GetNelem () const
 
Int_t GetNviews () const
 
const TVector3GetOrigin () const
 
const Double_tGetSize () const
 
virtual Int_t GetView (const DigitizerHitInfo_t &hitinfo) const
 
const TVector3GetXax () const
 
Double_t GetXSize () const
 
const TVector3GetYax () const
 
Double_t GetYSize () const
 
const TVector3GetZax () 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)
 
virtual Int_t End (THaRunBase *r=nullptr)
 
const char * GetClassName () const
 
const char * GetConfig () 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)
 
THaAnalysisObjectoperator= (const THaAnalysisObject &&)=delete
 
THaAnalysisObjectoperator= (const THaAnalysisObject &)=delete
 
virtual void Print (Option_t *opt="") const
 
void SetConfig (const char *label)
 
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
 
TObjectClone (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
 
TClassIsA () const override
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 
TNamedoperator= (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 TObjectDrawClone (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 TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () 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)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (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 ()
 

Protected Member Functions

void ApplyTimeCorrection ()
 
Int_t CalcPointCoords () const
 
virtual Int_t DefineVariables (EMode mode=kDefine)
 
void FindClusters ()
 
void FitTracks ()
 
Int_t MatchUVClusters ()
 
Double_t UVtoX (Double_t u, Double_t v) const
 
Double_t UVtoY (Double_t u, Double_t v) const
 
- Protected Member Functions inherited from THaSubDetector
virtual const char * GetDBFileName () const
 
virtual void MakePrefix ()
 
 THaSubDetector ()
 
 THaSubDetector (const char *name, const char *description, THaDetectorBase *parent)
 
- 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 ReadDatabase (const TDatime &date)
 
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
 
THaAnalysisObjectFindModule (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 Attributes

Double_t fCos_u
 
Double_t fCos_v
 
Double_t fInv_sin_vu
 
TClonesArrayfPoints
 
Double_t fSin_u
 
Double_t fSin_v
 
Double_t fSpacing
 
THaVDCPlanefU
 
THaVDCPlanefV
 
- Protected Attributes inherited from THaDetectorBase
VecDetData_t fDetectorData
 
THaDetMapfDetMap
 
Int_t fNelem
 
Int_t fNviews
 
TVector3 fOrigin
 
Double_t fSize [3]
 
TVector3 fXax
 
TVector3 fYax
 
TVector3 fZax
 
- Protected Attributes inherited from THaAnalysisObject
TString fConfig
 
Int_t fDebug
 
TObjectfExtra
 
TDatime fInitDate
 
Bool_t fIsInit
 
Bool_t fIsSetup
 
std::map< std::string, UInt_tfMessages
 
UInt_t fNEventsWithWarnings
 
Bool_t fOKOut
 
char * fPrefix
 
UInt_t fProperties
 
EStatus fStatus
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Additional Inherited Members

- Public Types inherited from THaDetectorBase
using VecDetData_t = std::vector< std::unique_ptr< Podd::DetectorData > >
 
- Public Types inherited from THaAnalysisObject
enum  EMode { kDefine , kDelete }
 
enum  EStatus { kOK = 0 , kInitError = -8 , kFileError = -9 , kNotinit = -10 }
 
enum  EType { kVarDef , kRVarDef }
 
- 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 TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
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 TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Types inherited from THaAnalysisObject
enum  EProperties { kNeedsRunDB = BIT(0) , kConfigOverride = BIT(1) }
 

#include <THaVDCChamber.h>

Inheritance diagram for THaVDCChamber:

Constructor & Destructor Documentation

◆ THaVDCChamber()

THaVDCChamber::THaVDCChamber ( const char *  name = "",
const char *  description = "",
THaDetectorBase parent = nullptr 
)
explicit

Definition at line 25 of file THaVDCChamber.cxx.

◆ ~THaVDCChamber()

THaVDCChamber::~THaVDCChamber ( )
virtual

Definition at line 40 of file THaVDCChamber.cxx.

Member Function Documentation

◆ ApplyTimeCorrection()

void THaVDCChamber::ApplyTimeCorrection ( )
protected

Definition at line 235 of file THaVDCChamber.cxx.

◆ CalcDetCoords()

PointCoords_t THaVDCChamber::CalcDetCoords ( const THaVDCCluster u,
const THaVDCCluster v 
) const

Definition at line 136 of file THaVDCChamber.cxx.

◆ CalcPointCoords()

Int_t THaVDCChamber::CalcPointCoords ( ) const
protected

Definition at line 200 of file THaVDCChamber.cxx.

◆ Clear()

void THaVDCChamber::Clear ( Option_t opt = "")
virtual

Reimplemented from THaDetectorBase.

Definition at line 215 of file THaVDCChamber.cxx.

◆ CoarseTrack()

Int_t THaVDCChamber::CoarseTrack ( )
virtual

Definition at line 262 of file THaVDCChamber.cxx.

◆ Decode()

Int_t THaVDCChamber::Decode ( const THaEvData evData)
virtual

Reimplemented from THaDetectorBase.

Definition at line 225 of file THaVDCChamber.cxx.

◆ DefineVariables()

Int_t THaVDCChamber::DefineVariables ( EMode  mode = kDefine)
protectedvirtual

Reimplemented from THaDetectorBase.

Definition at line 101 of file THaVDCChamber.cxx.

◆ FindClusters()

void THaVDCChamber::FindClusters ( )
protected

Definition at line 244 of file THaVDCChamber.cxx.

◆ FineTrack()

Int_t THaVDCChamber::FineTrack ( )
virtual

Definition at line 288 of file THaVDCChamber.cxx.

◆ FitTracks()

void THaVDCChamber::FitTracks ( )
protected

Definition at line 253 of file THaVDCChamber.cxx.

◆ GetNPoints()

Int_t THaVDCChamber::GetNPoints ( ) const
inline

Definition at line 48 of file THaVDCChamber.h.

◆ GetPoint()

THaVDCPoint * THaVDCChamber::GetPoint ( Int_t  i) const
inline

Definition at line 51 of file THaVDCChamber.h.

◆ GetPoints()

TClonesArray * THaVDCChamber::GetPoints ( ) const
inline

Definition at line 49 of file THaVDCChamber.h.

◆ GetSpacing()

Double_t THaVDCChamber::GetSpacing ( ) const
inline

Definition at line 50 of file THaVDCChamber.h.

◆ GetUPlane()

THaVDCPlane * THaVDCChamber::GetUPlane ( ) const
inline

Definition at line 46 of file THaVDCChamber.h.

◆ GetVPlane()

THaVDCPlane * THaVDCChamber::GetVPlane ( ) const
inline

Definition at line 47 of file THaVDCChamber.h.

◆ GetZ()

Double_t THaVDCChamber::GetZ ( ) const
inline

Definition at line 54 of file THaVDCChamber.h.

◆ Init()

THaDetectorBase::EStatus THaVDCChamber::Init ( const TDatime date)
virtual

Reimplemented from THaAnalysisObject.

Definition at line 51 of file THaVDCChamber.cxx.

◆ MatchUVClusters()

Int_t THaVDCChamber::MatchUVClusters ( )
protected

Definition at line 156 of file THaVDCChamber.cxx.

◆ SetDebug()

void THaVDCChamber::SetDebug ( Int_t  level)
virtual

Reimplemented from THaAnalysisObject.

Definition at line 126 of file THaVDCChamber.cxx.

◆ UVtoX()

Double_t THaVDCChamber::UVtoX ( Double_t  u,
Double_t  v 
) const
inlineprotected

Definition at line 89 of file THaVDCChamber.h.

◆ UVtoY()

Double_t THaVDCChamber::UVtoY ( Double_t  u,
Double_t  v 
) const
inlineprotected

Definition at line 95 of file THaVDCChamber.h.

Member Data Documentation

◆ fCos_u

Double_t THaVDCChamber::fCos_u
protected

Definition at line 68 of file THaVDCChamber.h.

◆ fCos_v

Double_t THaVDCChamber::fCos_v
protected

Definition at line 70 of file THaVDCChamber.h.

◆ fInv_sin_vu

Double_t THaVDCChamber::fInv_sin_vu
protected

Definition at line 71 of file THaVDCChamber.h.

◆ fPoints

TClonesArray* THaVDCChamber::fPoints
protected

Definition at line 63 of file THaVDCChamber.h.

◆ fSin_u

Double_t THaVDCChamber::fSin_u
protected

Definition at line 67 of file THaVDCChamber.h.

◆ fSin_v

Double_t THaVDCChamber::fSin_v
protected

Definition at line 69 of file THaVDCChamber.h.

◆ fSpacing

Double_t THaVDCChamber::fSpacing
protected

Definition at line 66 of file THaVDCChamber.h.

◆ fU

THaVDCPlane* THaVDCChamber::fU
protected

Definition at line 59 of file THaVDCChamber.h.

◆ fV

THaVDCPlane* THaVDCChamber::fV
protected

Definition at line 60 of file THaVDCChamber.h.

Collaboration diagram for THaVDCChamber:

The documentation for this class was generated from the following files: