X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONDigitizerV3.h;h=ca1c6df955b0e25a2a0b3425f9b6318d72c7698b;hb=531968596dba92c5d179a9a0b6acec20c0d5bac6;hp=ae5124ddf1af0dba5c4fcebac9f8af04546bc763;hpb=b89ac3d6105be7362f1376fdc34df2802a5c5e86;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONDigitizerV3.h b/MUON/AliMUONDigitizerV3.h index ae5124ddf1a..ca1c6df955b 100644 --- a/MUON/AliMUONDigitizerV3.h +++ b/MUON/AliMUONDigitizerV3.h @@ -33,6 +33,7 @@ class AliMUONDigitizerV3 : public AliDigitizer public: AliMUONDigitizerV3(AliRunDigitizer* manager=0, Int_t generateNoisyDigits=1); + virtual ~AliMUONDigitizerV3(); virtual void Exec(Option_t* opt=""); @@ -46,10 +47,13 @@ public: Bool_t addNoise=kFALSE, Bool_t noiseOnly=kFALSE); - /// Set calibration data + /// Set calibration data void SetCalibrationData(AliMUONCalibrationData* calibrationData) {fCalibrationData = calibrationData;} - + + /// Set the number of sigmas for pedestal cut + static void SetNSigmas(Double_t nsigmas=4.0) { fgNSigmas = nsigmas; } + private: /// Not implemented AliMUONDigitizerV3(const AliMUONDigitizerV3& other); @@ -75,20 +79,23 @@ private: static TF1* NoiseFunction(); + void CreateInputDigitStore(); + private: Bool_t fIsInitialized; ///< are we initialized ? AliMUONCalibrationData* fCalibrationData; //!< pointer to access calib parameters AliMUONTriggerElectronics* fTriggerProcessor; ///< pointer to the trigger part of the job TF1* fNoiseFunctionTrig; //!< function to get noise disribution on trig. chambers Int_t fGenerateNoisyDigits; //!< whether or not we should generate noise-only digits for tracker (1) and trigger (2) - static const Double_t fgkNSigmas; ///< \brief number of sigmas above ped to use + static Double_t fgNSigmas; ///< \brief number of sigmas above ped to use /// for noise-only digit generation and zero-suppression AliMUONLogger* fLogger; //!< to keep track of messages AliMUONVTriggerStore* fTriggerStore; //!< trigger objects AliMUONVDigitStore* fDigitStore; //!< temporary digits AliMUONVDigitStore* fOutputDigitStore; //!< digits we'll output to disk - - ClassDef(AliMUONDigitizerV3,7) // MUON Digitizer V3-5 + AliMUONVDigitStore* fInputDigitStore; //!< input digit store + + ClassDef(AliMUONDigitizerV3,9) // MUON Digitizer V3-9 }; #endif