#include "hclusterselector.h" |
HClusterSelector
class description - source file - inheritance tree (.pdf)
public:
HClusterSelector(Text_t* name, Text_t* title, Int_t hitMin, Int_t secShadow, Float_t minTheta1, Float_t maxTheta1, Float_t minTheta2, Float_t maxTheta2, Int_t secEdge1, Int_t secEdge2, Int_t minHitsecEdge1, Int_t minHitsecEdge2)
HClusterSelector()
~HClusterSelector()
void calcClusProp(HPhotonCluster* pPhotClus)
void chainPads(Int_t iSec, Int_t iRow, Int_t iCol, HPhotonCluster* pClus)
static TClass* Class()
virtual Int_t execute()
Bool_t fillmatrix(HLocation& fLoc)
virtual Bool_t finalize()
void formCluster(Int_t secNum)
HCategory* getCalCat()
HRichGeometryPar* getGeometryPar()
HCategory* getPhotClusCat()
Bool_t hitcontrol()
virtual Bool_t init()
virtual TClass* IsA() const
Bool_t isMaximumInCentre(HPhotonCluster* pPhotC)
virtual Bool_t multihit(Int_t nRow, Int_t nCol, Int_t nSector, HLocation& fLoc)
virtual Bool_t reinit()
Bool_t resetmatrix()
void setCalCat(HCategory* pCalCat)
void setGeometryPar(HRichGeometryPar* pPar)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Bool_t thereIsOnlyOneMax(HPhotonCluster* pPhotC)
void updateHeaders(Float_t t1, Float_t t2, Int_t i, Float_t* secM, Float_t* meanCS, Int_t evtNum)
protected:
Int_t shadowSector
Int_t eventNr
Int_t edgesector1
Int_t edgesector2
Int_t minHitedgesector1
Int_t minHitedgesector2
Int_t minHit
Int_t padCounter
Int_t n
Bool_t hitControl
Float_t sumHit[6]
Float_t meanCharge[6]
Int_t doubleHit[6]
Int_t jCol
Int_t jRow
Int_t iSector
Int_t iCol
Int_t iRow
Float_t thetaMin1 MgF2
Float_t thetaMax1 MgF2
Float_t thetaMin2 SiO2
Float_t thetaMax2 SiO2
Float_t sumCharge
Float_t sumTheta
Float_t sumPhi
Int_t nPad
Int_t mHit2[6][90][92] !
Int_t mHit[6][90][92] !
Float_t mCharge[6][90][92] !
Float_t mTheta[6][90][92] !
Float_t mPhi[6][90][92] !
Int_t mPadLock[6][90][92] !
Float_t fCharge[9]
Int_t maxCols
Int_t maxRows
short* pLeftBorder ! left border of active pad area
short* pRightBorder ! dito right side (largest active col in row)
Int_t count1
Int_t count2
Float_t fTheta1
Float_t fTheta2
Int_t padTotNr
Float_t chargeTot
TNtuple* tCharge
TNtuple* tCharge1
HRichGeometryPar* pGeomPar ! Pointer to geometry parameters
HCategory* fCalCat ! Pointer to the cal data category
HCategory* fPhotClusCat !
HCategory* fLocalCatHr !
HIterator* fIter !
HIterator* fIter1 !
HClusterSelector(Text_t *name, Text_t *title,
Int_t hitMin, Int_t secShadow,
Float_t minTheta1, Float_t maxTheta1,
Float_t minTheta2, Float_t maxTheta2,
Int_t secEdge1,
Int_t secEdge2,Int_t minHitsecEdge1,
Int_t minHitsecEdge2) :
HReconstructor(name,title)
~HClusterSelector(void)
Bool_t init()
Bool_t reinit()
maxCols = pGeomPar->getColumns();
Bool_t finalize()
Int_t execute()
cout<<" executing hclusterselector "<<endl;
resets the matrixes
void formCluster(Int_t secNum)
void chainPads(Int_t iSec,Int_t iRow,Int_t iCol,HPhotonCluster* pClus)
for each fired pad it is checked if the 4 (up-down-sides) neighbours have fired, as long as no fired neighbours is left. IN this way the cluster is built, while collecting the pads belongning to the clusters the pClus is updated.
void calcClusProp(HPhotonCluster *pPhotClus)
Bool_t thereIsOnlyOneMax(HPhotonCluster *pPhotC)
Bool_t isMaximumInCentre(HPhotonCluster *pPhotC)
cout<<" in isMaximumInCentre "<<endl;
Bool_t fillmatrix(HLocation& fLoc)
writes hit and charge from cal container for active pads into matrix
writes theta and phi from pad container for active pads into matrix
Bool_t resetmatrix()
Bool_t hitcontrol()
void updateHeaders(Float_t t1, Float_t t2,Int_t i,Float_t *secM,Float_t *meanCS,Int_t evtNum)
Bool_t multihit(Int_t nRow, Int_t nCol, Int_t nSector,
HLocation& fLoc)
this memberfunction is required for hrichlocalmaxsim class
Inline Functions
HClusterSelector HClusterSelector()
HCategory* getPhotClusCat()
HCategory* getCalCat()
HRichGeometryPar* getGeometryPar()
void setCalCat(HCategory* pCalCat)
void setGeometryPar(HRichGeometryPar* pPar)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Last update: Fri Jan 26 11:53:11 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.