// $Id: hhitmatch.h,v 1.13 2008-09-18 13:05:35 halo Exp $ // Last update by Thomas Eberl: 03/04/30 18:27:23 // #ifndef HHITMATCH_H #define HHITMATCH_H #include "TObject.h" #include "hcategory.h" #include "TLorentzVector.h" class HHitMatch: public TObject { protected: virtual void reset(); // virtual void dumpToStdout(); TLorentzVector lvec; Int_t nSector; // sector of matched hit Float_t fRichPhi;//azimuthal angle in RICH (degrees) Float_t fRichTheta;//polar angle in RICH (degrees) Int_t nRingX;// RICH hit properties copied from HRichHit Int_t nRingY; Int_t nRingPatMat; Int_t nRingHouTra; Int_t nRingAmplitude; Int_t nRingPadNr; Float_t fRingRadius; Float_t fRingCentroid; Int_t nCentX; Int_t nCentY; Int_t nRingLocalMax4; Int_t fMaxClusterSize; Int_t fMaxThrClusterSize; Int_t fTests; Float_t fRingFitRad; Float_t fRingFitVar; Float_t fRingFitTheta; Float_t fRingFitPhi; Int_t nRingFitNbCoords; Int_t indRich; Float_t fMdcTheta;//polar angle of MDC segment (degrees) Float_t fMdcPhi;//azimuthal angle of MDC segment (degrees) Float_t fMdcR; Float_t fMdcZ; Float_t fClusterSize; Int_t iSegIOFlag;//inner seg=0, outer=1 Int_t nHitLay; Int_t indMdc; Float_t fTofTof; Float_t fTofTheta; // polar angle of matched hit in TOF (degrees) Float_t fTofPhi; // azimuthal angle of matched hit in TOF (degrees) Int_t indTof; Float_t fShowerTheta; //polar angle of matched hit in SHOWER (degrees) Float_t fShowerPhi; // azimuthal angle of matched hit in SHOWER (degrees) Float_t fTofinoTof; // tof in tofino Float_t m_fSum0; //sum of charge of nine pads in pre Float_t m_fSum1; //sum of charge of nine pads in post Float_t m_fSum2; //sum of charge of nine pads in post2 Int_t iTofino_Mult; // multiplicity in tofino Int_t indShower; Int_t indKick; Int_t nRichMdcCorr;//flag signaling that this object contains this corr. Int_t nRichKickCorr;//flag signaling that this object contains this corr. Int_t nRichTofCorr; Int_t nRichShowerCorr; Int_t nMdcTofCorr; Int_t nMdcShowerCorr; // KICK Float_t mom; Float_t momt; Int_t charge; Int_t quality; Float_t mass; Float_t beta; Float_t pull; public: HHitMatch(); virtual ~HHitMatch(); HHitMatch(const HHitMatch& source); virtual HHitMatch& operator=(const HHitMatch& source); TLorentzVector* getLVec(void){return & lvec;}; virtual void dumpToStdout(); Int_t getSector(void) {return nSector;}; void setSector(Int_t s) {nSector = s;}; Int_t getKickInd(void){return indKick;}; void setKickInd(Int_t ind){indKick = ind;}; Float_t getKickMom(void){return mom;}; void setKickMom(Float_t o){mom=o;}; Float_t getKickMomT(void){return momt;}; void setKickMomT(Float_t o){momt=o;}; Int_t getKickCharge(void){return charge;}; void setKickCharge(Int_t c){charge = c;}; Int_t getKickQual(void){return quality;}; void setKickQual(Int_t q){quality = q;}; Float_t getKickMass(void){return mass;}; void setKickMass(Float_t m){mass=m;}; Float_t getKickBeta(void){return beta;}; void setKickBeta(Float_t b){beta=b;}; Float_t getKickPull(void){return pull;}; void setKickPull(Float_t p){pull=p;}; Int_t getShowInd(void){return indShower;}; void setShowInd(Int_t ind){ indShower = ind;}; Float_t getShowerTheta(void) {return fShowerTheta;}; void setShowerTheta(Float_t st){fShowerTheta=st;}; Float_t getShowerPhi(void) {return fShowerPhi;}; void setShowerPhi(Float_t sp){fShowerPhi=sp;}; void setShowerfSum0(Float_t f0){m_fSum0 = f0;}; Float_t getShowerfSum0(void){return m_fSum0;}; void setShowerfSum1(Float_t f1){m_fSum1 = f1;}; Float_t getShowerfSum1(void){return m_fSum1;}; void setShowerfSum2(Float_t f2){m_fSum2 = f2;}; Float_t getShowerfSum2(void){return m_fSum2;}; void setTofinoMul(Int_t m){iTofino_Mult=m;}; Int_t getTofinoMul(void){return iTofino_Mult;}; void setTofinoTof(Float_t tof){fTofinoTof = tof;}; Float_t getTofinoTof(void) {return fTofinoTof;}; Float_t getRichTheta(void) {return fRichTheta;}; void setRichTheta(Float_t rt){fRichTheta=rt;}; Float_t getRichPhi(void) {return fRichPhi;}; void setRichPhi(Float_t rp){fRichPhi=rp;}; Int_t getRichInd(void){return indRich;}; void setRichInd(Int_t ind){ indRich = ind;}; Int_t getRingCenterX(){return nRingX;}; Int_t getRingCenterY(){return nRingY;}; Int_t getRingPatMat() {return nRingPatMat;}; Int_t getRingHouTra() {return nRingHouTra;}; Int_t getRingAmplitude(){return nRingAmplitude;}; Int_t getRingPadNr(){return nRingPadNr;}; Int_t getRingLocalMax4(){return nRingLocalMax4;}; Float_t getCentroid(){return fRingCentroid;}; Int_t getCentX(){return nCentX;}; Int_t getCentY(){return nCentY;}; Float_t getRadius(){return fRingRadius;}; Int_t getRingMaxClusterSize(){return fMaxClusterSize;}; Int_t getRingMaxThrClusterSize(){return fMaxThrClusterSize;}; Int_t getRingTestFlags(){return fTests;}; Int_t getRingFitNbCoords(void){return nRingFitNbCoords;}; Float_t getRingFitRadius(){return fRingFitRad;}; Float_t getRingFitVar(){return fRingFitVar;}; Float_t getRingFitTheta(){return fRingFitTheta;}; Float_t getRingFitPhi(){return fRingFitPhi;}; void setRingFitNbCoords(Int_t n){nRingFitNbCoords=n;}; void setRingFitRadius(Float_t rad){ fRingFitRad=rad;}; void setRingFitVar(Float_t var){ fRingFitVar=var;}; void setRingFitTheta(Float_t theta){ fRingFitTheta=theta;}; void setRingFitPhi(Float_t phi){ fRingFitPhi=phi;}; void setRingCenterX(Int_t x){ nRingX=x;}; void setRingCenterY(Int_t y){ nRingY=y;}; void setRingPatMat(Int_t patmat) { nRingPatMat=patmat;}; void setRingHouTra(Int_t houtra) { nRingHouTra=houtra;}; void setRingAmplitude(Int_t ampl){nRingAmplitude=ampl;}; void setRingPadNr(Int_t padnr){nRingPadNr=padnr;}; void setRingLocalMax4(Int_t locmax4){nRingLocalMax4=locmax4;}; void setCentroid(Float_t centro){ fRingCentroid=centro;}; void setCentX(Int_t centx){ nCentX=centx;}; void setCentY(Int_t centy){ nCentY=centy;}; void setRadius(Float_t rad){fRingRadius = rad;}; void setRingMaxClusterSize(Int_t clustersize){ fMaxClusterSize=clustersize;}; void setRingMaxThrClusterSize(Int_t fmaxthrclussize){fMaxThrClusterSize = fmaxthrclussize;}; void setRingTestFlags(Int_t flag){fTests = flag;}; Float_t getMdcTheta(void) {return fMdcTheta;}; Int_t getMdcFlagIO(void) { return iSegIOFlag;}; void setMdcTheta(Float_t mt){fMdcTheta=mt;}; Float_t getMdcPhi(void) {return fMdcPhi;}; void setMdcPhi(Float_t mp){fMdcPhi = mp;}; void setMdcClusterSize(Float_t s) {fClusterSize =s;}; void setMdcClusterHit(Int_t i) {nHitLay = i;}; Int_t getMdcInd(void){return indMdc;}; void setMdcInd(Int_t ind){ indMdc = ind;}; void setMdcFlagIO(Int_t flag){ iSegIOFlag = flag;}; void setMdcR(Float_t r){fMdcR = r;}; Float_t getMdcR(){return fMdcR;}; void setMdcZ(Float_t z){fMdcZ = z;}; Float_t getMdcZ(){return fMdcZ;}; Float_t getMdcClusterSize(void) {return fClusterSize;}; Int_t getMdcClusterHit(void) {return nHitLay ;}; Float_t getTofTheta(void) {return fTofTheta;}; void setTofTheta(Float_t tt){fTofTheta=tt;}; Float_t getTofPhi(void) {return fTofPhi;}; void setTofPhi(Float_t tp){fTofPhi=tp;}; void setTofTof(Float_t tof){fTofTof = tof;}; Float_t getTofTof(void) {return fTofTof;}; Int_t getTofInd(void){return indTof;}; void setTofInd(Int_t ind){ indTof = ind;}; void setMatchedRichKick(Int_t m){nRichKickCorr=m;}; void setMatchedRichMdc(Int_t m){nRichMdcCorr=m;}; void setMatchedRichTof(Int_t m){nRichTofCorr=m;}; void setMatchedRichShower(Int_t m){nRichShowerCorr=m;}; void setMatchedMdcTof(Int_t m){nMdcTofCorr=m;}; void setMatchedMdcShower(Int_t m){nMdcShowerCorr=m;}; Int_t getMatchedRichMdc(void){return nRichMdcCorr;}; Int_t getMatchedRichKick(void){return nRichKickCorr;}; Int_t getMatchedRichTof(void){return nRichTofCorr;}; Int_t getMatchedRichShower(void){return nRichShowerCorr;}; Int_t getMatchedMdcTof(void){return nMdcTofCorr;}; Int_t getMatchedMdcShower(void){return nMdcShowerCorr;}; ClassDef(HHitMatch,4) }; #endif // HHITMATCH_H