- public:
- AliCaloRawAnalyzer();
- virtual ~AliCaloRawAnalyzer();
- virtual AliCaloFitResults Evaluate( const vector<AliCaloBunchInfo> &bunchvector, const UInt_t altrocfg1, const UInt_t altrocfg2 );
-
- void PrintBunches( const vector<AliCaloBunchInfo> &bunchvector ) const;
- void PrintBunch( const AliCaloBunchInfo &bunch ) const ;
+public:
+ AliCaloRawAnalyzer(const char *name="AliCaloRawAnalyzer", const char *nameshort="RawAna");
+ virtual ~AliCaloRawAnalyzer() { ; }
+
+ virtual AliCaloFitResults Evaluate( const std::vector<AliCaloBunchInfo> &/*bunchvector*/,
+ UInt_t /*altrocfg1*/, UInt_t /*altrocfg2*/ ) = 0;
+
+ static void PrintBunches( const std::vector<AliCaloBunchInfo> &bunchvector );
+ static void PrintBunch ( const AliCaloBunchInfo &bunch );
+
+ int PreFitEvaluateSamples( const std::vector<AliCaloBunchInfo> &bunchvector,
+ UInt_t altrocfg1, UInt_t altrocfg2, Int_t & index,
+ Float_t & maxf, short & maxamp, short & maxampindex,
+ Float_t & ped, int & first, int & last, int acut);
+
+ void SetTimeConstraint (int min, int max );
+ void SetVerbose (bool verbose = true){ fVerbose = verbose; }
+ void SetIsZeroSuppressed(bool iszs = true) { fIsZerosupressed = iszs ; }
+ void SetAmpCut (Float_t cut) { fAmpCut = cut ; }
+ void SetFitArrayCut(Int_t cut) { fFitArrayCut = cut ; }
+ void SetNsampleCut (Int_t cut) { fNsampleCut = cut ; }
+ void SetOverflowCut(Int_t cut) { fOverflowCut = cut ; }
+ void SetNsamplePed (Int_t i) { fNsamplePed = i ; }
+ void SetL1Phase (Double_t phase) { fL1Phase = phase ; }