// -*- mode: c++ -*- // // $Id: BrMultCentModule.h,v 1.7 2002/01/25 18:09:33 bjornhs Exp $ // #ifndef BRAT_BrMultCentModule #define BRAT_BrMultCentModule #ifndef BRAT_BrModule #include "BrModule.h" #endif #ifndef BRAT_BrMultUtil #include "BrMultUtil.h" #endif #ifndef BRAT_BrEventNode #include "BrEventNode.h" #endif #ifndef BRAT_BrMultCentCalibration #include "BrMultCentCalibration.h" #endif #ifndef ROOT_TH1 #include "TH1.h" #endif #ifndef BRAT_BrRunInfoManager #include "BrRunInfoManager.h" #endif #ifndef BRAT_BrRunInfo #include "BrRunInfo.h" #endif class BrMultCentModule : public BrModule, public BrMultUtil { private: #ifdef BR_MULT_CAL_TMP BrMultCentTmpCalibration* fCalibration; #else BrMultCentCalibration* fCalibration; #endif TH1D* fCentHist; TH1D* fMultHist; TH1D* fMultSiHist; TH1D* fMultTileHist; Double_t fSiWeight; Double_t MultToCent(Double_t mult); public: BrMultCentModule(); BrMultCentModule(const Char_t* name, const Char_t* title); void SetSiWeight(Double_t w=1.5476) { fSiWeight = w; } virtual void DefineHistograms(); virtual void Init(); virtual void Event(BrEventNode* inNode, BrEventNode* outNode); ClassDef(BrMultCentModule,0) // }; #endif // // $Log: BrMultCentModule.h,v $ // Revision 1.7 2002/01/25 18:09:33 bjornhs // Added a few more histograms // // Revision 1.6 2001/11/13 15:51:19 cholm // REmoved initialisation of calibrations. // // Revision 1.5 2001/11/12 14:57:03 sanders // Added check for run info to allow use with 130 or 200 GeV data // calibrations. // // Revision 1.4 2001/09/20 13:14:51 cholm // Changed to use BrMultUtil rather than BrMultModule. // // Revision 1.3 2001/09/04 16:59:34 cholm // Minor clean up (removed some calibrations that wasn't used at all - // very inefficient and potentially dangerous) // // Revision 1.2 2001/09/04 16:58:19 cholm // Minor clean up (removed some calibrations that wasn't used at all - // very inefficient and potentially dangerous) // // Revision 1.1.1.1 2001/06/21 14:55:06 hagel // Initial revision of brat2 // // Revision 1.3 2001/05/31 01:44:26 cholm // Second rewamp of this directory. All RDO modules use the common // BrMultRdoModule, and they both write BrMultRdo Objects. Also introduced // ABC for Br[Tile|Si][Parameters|Calibration] since they have a lot in common, // and the code can be made more efficient this way. // // A possible further thing to do, is to make an ABC for the CentModules, and // the corresponding calibration modules, since they are very VERY similar. // However, the current module BrMultCentModule is in the way. Need to talk // to Steve about that. // // Revision 1.2 2001/05/23 12:26:27 cholm // Some important bug fixes, and proper histogram names // // Revision 1.1 2001/04/19 15:07:36 cholm // Renamed BrCent... to BrMultCent... to reduce confusion // //