X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ANALYSIS%2FAliPhysicsSelection.h;h=8551c5022916ca35dda95d395b5be989d1e22710;hb=6d15a846acb5bcbb1fbf5e685c1e3bcdf58f5f9d;hp=296bc4f852580bfafd18dda9c31bee53f75ad13a;hpb=eeaab745d1ee54c96f3ff65986408e4a2786e675;p=u%2Fmrichter%2FAliRoot.git diff --git a/ANALYSIS/AliPhysicsSelection.h b/ANALYSIS/AliPhysicsSelection.h index 296bc4f8525..8551c502291 100644 --- a/ANALYSIS/AliPhysicsSelection.h +++ b/ANALYSIS/AliPhysicsSelection.h @@ -20,6 +20,7 @@ #include #include "TObjString.h" #include "AliVEvent.h" +#include "AliLog.h" #include "AliAnalysisManager.h" //#define VERBOSE_STAT @@ -40,7 +41,7 @@ class AliPhysicsSelection : public AliAnalysisCuts public: public: - enum {kStatTriggerClass=1,kStatHWTrig,kStatV0ABG,kStatV0CBG,kStatMB1,kStatMB1Prime,kStatFMD,kStatFO1,kStatFO2,kStatFO2L1,kStatV0A,kStatV0C,kStatZDCA,kStatZDCC,kStatZDCAC,kStatZDCTime,kStatV0,kStatOffline,kStatBG,kStatAccepted}; + enum {kStatTriggerClass=1,kStatHWTrig,kStatV0ABG,kStatV0CBG,kStatMB1,kStatMB1Prime,kStatLaserCut,kHVdipCut,kStatFO1,kStatFO2,kStatFO2L1,kStatV0A,kStatV0C, kStatT0BB, kStatT0BG, kStatT0PileUp, kStatZDCA,kStatZDCC,kStatZDCAC,kStatZDCTime,kStatZNABG,kStatZNCBG,kStatV0,kStatV0ZN,kStatOffline,kStatBG, kStatAcceptedPileUp, kStatAccepted}; #ifdef VERBOSE_STAT enum {kStatRowAllB=0, kStatRowAllAC, kStatRowAllE, kStatRowBG,kStatRowAcc,kStatRowBGFrac,kStatRowAccFrac,kStatRowErrGoodFrac,kStatRowGoodFrac,kStatRowErrGood,kStatRowGood}; // offset wrt fBGStatOffset @@ -68,10 +69,9 @@ public: void SetAnalyzeMC(Bool_t flag = kTRUE) { fMC = flag; } void SetSkipTriggerClassSelection(Bool_t flag = kTRUE) { fSkipTriggerClassSelection = flag; } - void SetSkipV0(Bool_t flag=kTRUE) { fSkipV0 = flag;} - void SetSkipZDCTime(Bool_t flag=kTRUE) { fSkipZDCTime = flag;} + void SetSkipV0(Bool_t flag=kTRUE) { AliError ("This method is deprecated! Please change the OADB configuration instead") ; fSkipV0 = flag;} - void AddBackgroundIdentification(AliAnalysisCuts* background) { fBackgroundIdentification = background; } + void AddBackgroundIdentification(AliAnalysisCuts*) { AliFatal ("This method is deprecated. Please use the kSPDClsVsTrkBG tag in the OADB configuration instead"); } virtual void Print(const Option_t* option = "") const; virtual Long64_t Merge(TCollection* list); @@ -86,7 +86,7 @@ public: const AliOADBFillingScheme * GetOADBFillingScheme() const {return fFillOADB;} const AliOADBTriggerAnalysis * GetOADBTriggerAnalysis() const {return fTriggerOADB;} - const Int_t GetBGStatOffset() const { return fBGStatOffset; } + Int_t GetBGStatOffset() const { return fBGStatOffset; } AliTriggerAnalysis* GetTriggerAnalysis(Int_t i = 0) { return (fTriggerAnalysis.GetEntries() > 0) ? (AliTriggerAnalysis*) fTriggerAnalysis.At(i) : 0; } @@ -119,18 +119,15 @@ protected: TList fBGTrigClasses; // trigger classes identifying background events TList fTriggerAnalysis; // list of offline trigger objects (several are needed to keep the control histograms separate per trigger class) - - AliAnalysisCuts* fBackgroundIdentification; // class that performs additional background identification - + TH2F* fHistStatistics[2]; // how many events are cut away why {all,bin 0} // TH2F* fHistStatisticsTokens; // how many events are cut away why (new version, bins for all tokens. Only used tokens are filled) TH2F* fHistBunchCrossing; // histograms of accepted bunch crossing numbers TH1F* fHistTriggerPattern; // Pattern of the individual detectors in the MB1 trigger. Can reveal inconsistencies/inefficiencies in the trigger - Bool_t fSkipTriggerClassSelection; // flag that determines if the trigger classs selection is skipped + Bool_t fSkipTriggerClassSelection; // flag that determines if the trigger class selection is skipped Bool_t fUsingCustomClasses; // flag that is set if costum trigger classes are defined Bool_t fSkipV0; // ignore information from v0 - Bool_t fSkipZDCTime; // ignore ZDC timing cut (used in HI) Float_t fBIFactorA; // ratio of interacting over non interacting bunch intensities for beam 1 Float_t fBIFactorC; // ratio of interacting over non interacting bunch intensities for beam 2 @@ -156,7 +153,7 @@ protected: TPRegexp* fRegexp; //! regular expression for trigger tokens TList* fCashedTokens; //! trigger token lookup list - ClassDef(AliPhysicsSelection, 14) + ClassDef(AliPhysicsSelection, 15) private: AliPhysicsSelection(const AliPhysicsSelection&);