// -*- mode: c++ -*- // // $Id: BrBbRdoModule.h,v 1.1 2001/06/22 17:41:29 cholm Exp $ // #ifndef BRAT_BrBbRdoModule #define BRAT_BrBbRdoModule class TDirectory; class TH1F; class BrEventNode; class BrDetectorParamsBB; #if !defined BRAT_BrModule # include "BrModule.h" #endif class BrBbRdoModule : public BrModule { private: BrBbRdoModule(const BrBbRdoModule&){}; void operator=(const BrBbRdoModule&){}; void SetDetectorParamsBB(BrDetectorParamsBB *par); public: BrBbRdoModule(); BrBbRdoModule(const Char_t *name, const Char_t *Title); virtual ~BrBbRdoModule(); virtual void DefineHistograms(); virtual void Event(BrEventNode*, BrEventNode*); virtual void Print(Option_t* option="B") const; virtual void SetInputMode(Int_t mode); virtual void Init(); private: // Calibration constants Int_t DtLeft[45], DtRight[45], LPedMean[45], LPedRMS[45], RPedMean[45], RPedRMS[45], LAdcGain0[45], RAdcGain0[45], kL[45], kR[45], DtTdcLSlew[45], DtTdcRSlew[45], LGapSt[45], LGap[45], RGapSt[45], RGap[45], n; Float_t dZ_Big, dZ_Sm, dZ_Fast; TH1F* fTime0Hist; // time 0 distribtion TH1F* fZ0Hist; // vertex distribution TH1F* fMultHist; // Big Multiplicity BrDetectorParamsBB *fParams_p; Int_t fInputMode; // Defines objects expected as input // Mode = 0 ; uses digiitized data. // 1 ; uses calibrated data. Double_t fNominalT0; // Nominal flight time to Left/right ClassDef(BrBbRdoModule,0) // BRAHMS RDO module for Beam Beam // Counters }; #endif //////////////////////////////////////////////////////////////////////////////// // // $Log: BrBbRdoModule.h,v $ // Revision 1.1 2001/06/22 17:41:29 cholm // Change names so that every data class has the same format, so that // we will not have to worry about that later on. The affected classes // are: // // BrDigBB -> BrBbDig // BrRdoBB -> BrBbRdo // BrDigZDC -> BrZdcDig // BrRdoZDC -> BrZdcRdo // BrDigRHIC -> BrRichDig // BrDigDC -> BrDcDig // BrDigC1 -> BrDcC1 // BrDigHit -> BrHitDig // BrDigTof -> BrTofDig // BrTPCSequence -> BrTpcSequence // BrTPCCluster -> BrTpcCluster // BrTPCClusterTable -> BrTpcClusterTable // // These changes has ofcourse been propegated to the modules as well, // giving the changes // // BrRdoModuleBB -> BrBbRdoModule // BrRdoModuleZDC -> BrZdcRdoModule // BrTPCClusterFinder -> BrTpcClusterFinder // BrTPCSequenceAdder -> BrTpcSequenceAdder // // Revision 1.1.1.1 2001/06/21 14:55:08 hagel // Initial revision of brat2 // // Revision 1.12 2001/05/31 13:12:58 cholm // Minor fixes // // Revision 1.11 2001/03/29 23:34:46 beam // modified to use different calibration files // // Revision 1.10 2001/03/07 12:16:37 cholm // * Made the method BrModule::Info() const obsolete in favour of // BrModule::Print(Option_t* option="B") const. // // Revision 1.9 2001/01/25 19:47:44 videbaek // Add mode for geant handling // // Revision 1.8 2000/11/17 14:38:16 beam // new version // // Revision 1.6 2000/10/25 14:43:12 videbaek // Removed the offending TickLength const. // Take ticklength from detectorparamsBB. // // Revision 1.5 2000/10/23 22:30:32 beam // TimeZero and vertexZ are calculated by all modules // // Revision 1.4 1999/04/14 20:12:35 videbaek // Use DbManager methods to access parameters. // // Revision 1.3 1999/01/21 23:23:21 hagel // 1. Changed convention for checking includes. Current convention is: // BRAT_Br...... eg BRAT_BrModule ala ROOT. // 2. Added CVS logs to .h files that didnot have them. // 3. Moved checking of include definition to first line for easier reading // 4. Put checks before all includes in the include files as per BRAT specifications // 5. Added BrGeantHeader to Geant Makefile // 6. All changes have been checked to compile on NT ala Cygnus // // Revision 1.2 1999/01/15 15:33:24 videbaek // Small updates for digitize // Made BrRdoModule functional. // // Revision 1.1 1998/10/09 19:21:32 videbaek // Add the BrBbRdo and BrRdoModule classes // //