BrDCViewList
class description - source file - inheritance tree
private:
void Clear()
void GetHitCMBMod(Int_t imod, BrClonesArray* detectorHits, TObjArray* HitCMBMod)
void Init()
public:
BrDCViewList BrDCViewList()
BrDCViewList BrDCViewList(const Char_t* Name, const Char_t* Title, const Int_t planeCombineMode = kPairsWhenTogether, const Int_t mview = 0, const Int_t sview = 90)
BrDCViewList BrDCViewList(BrDCViewList&)
virtual void ~BrDCViewList()
static TClass* Class()
Int_t FindHitsInViews(BrClonesArray* detectorHits)
TObjArray* GetDetectorHits(const Int_t iv, const Int_t iview)
Int_t GetMainView()
Int_t GetNCutoff()
Int_t GetNumPlaneViews(const Int_t iv)
Int_t GetNumViews()
Int_t GetSubView()
Float_t GetViewAngle(const Int_t iv)
Int_t GetViewListID(const Int_t idet, const Int_t iview)
Float_t GetViewPlaneAngle(const Int_t iv, const Int_t iview)
virtual TClass* IsA() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
BrDetectorParamsDC* fParams
Int_t fMainView Main view (typically x)
Int_t fSubView Secondary view (typically y)
Float_t fViewList[30] [maxview] list of angles of views
Int_t fViewListID[3][30] [3][maxview] id of views.
Int_t fMainViewList[30] [maxview] list of main views
Int_t fSubViewList[30] [maxview] list of sub views
Int_t fOtherViewList[30] [maxview] list of other views
TObjArray fDetectorHitsMainView[30] !
TObjArray fDetectorHitsSubView[30] !
TObjArray fDetectorHitsOtherView[30] !
Int_t fNumViews
Int_t fNumMainViews
Int_t fNumSubViews
Int_t fNumOtherViews
Int_t fNCutoff
Int_t fPlaneCombineMode Specifies how BrDCHits generated.
public:
static const BrDCViewList::EClusterMode kPairsWhenTogether
static const BrDCViewList::EClusterMode kAllSinglePlanes
BrDCViewList()
~BrDCViewList()
BrDCViewList(const Char_t *Name,const Char_t *Title,
const Int_t planeCombineMode, const Int_t mview, const Int_t sview)
: TNamed(Name,Title)
void Init()
The init member function/method is used to define histograms
The histograms is added to the list of hist objects in this
module.
void Clear()
Clear all relevant arrays.
Int_t FindHitsInViews(BrClonesArray *detectorHits)
Figure out the views
void GetHitCMBMod
Fill selector i.e. TObjArray with the hits
Int_t GetNumPlaneViews(const Int_t iv)
Return the number of main views or sub views depending on iv
iv = 0 return number of main views
iv = 1 return number of sub views
Float_t GetViewPlaneAngle(const Int_t iv,const Int_t iview)
Return angle of main views or sub views depending on iv
iv = 0 return angle of view iview of main view
iv = 1 return angle of view iview of sub view
iv = 2 return angle of view iview of other views
TObjArray* GetDetectorHits(const Int_t iv,const Int_t iview)
Return detector hit list of main views or sub views depending on iv
iv = 0 return combined hits of view iview of main view
iv = 1 return combined hits of view iview of sub view
iv = 2 return combined hits of view iview of other views
Inline Functions
Int_t GetNumViews()
Float_t GetViewAngle(const Int_t iv)
Int_t GetViewListID(const Int_t idet, const Int_t iview)
Int_t GetNCutoff()
Int_t GetMainView()
Int_t GetSubView()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
BrDCViewList BrDCViewList(BrDCViewList&)
|