1 #ifndef ALIANALYSISMUMUPARAMETERS_H
2 #define ALIANALYSISMUMUPARAMETERS_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// AliAnalysisMuMuConfig : helper class to store steering options
11 /// for the AliAnalysisMuMu and AliAnalysisMuMuEvolution classes
13 /// author : Laurent Aphecetche (Subatech)
20 class AliAnalysisMuMuConfig : public TObject
34 kDimuonTriggerList=0, // list of dimuon triggers to consider
35 kMuonTriggerList=1, // list of single muon triggers to consider
36 kMinbiasTriggerList=2, // list of minbias triggers to consider
37 kEventSelectionList=3, // list of event types to consider
38 kPairSelectionList=4, // list of pair cuts to consider
39 kCentralitySelectionList=5, // list of centrality cuts to consider
40 kFitTypeList=7 // list of fit types to perform
43 AliAnalysisMuMuConfig(const char* beamYear="pPb2013");
44 virtual ~AliAnalysisMuMuConfig();
46 TObjArray* GetListElements(ETypeList type, Bool_t simulation) const;
48 TString GetList(ETypeList type, Bool_t simulation) const;
50 void SetList(ETypeList type, Bool_t simulation, const char* list);
52 // TString AppendToList(ETypeList type, Bool_t simulation, const char* list);
54 void SetColorScheme();
56 void SetOCDBPath(const char* ocdbPath) { fOCDBPath = ocdbPath; }
58 TString OCDBPath() const { return fOCDBPath; }
60 void SetCompactGraphs(Bool_t value=kTRUE) { fIsCompactGraphs = value; }
62 Bool_t CompactGraphs() { return fIsCompactGraphs; }
64 void Print(Option_t* opt="") const;
66 void DefineDefaults(const char* beamYear);
70 void ShowLists(const char* title, ETypeList type, const char separator=',', const TString& sopt="ALL") const;
72 void ShowList(const char* title, const TString& list, const char separator=',') const;
76 TObjArray* fLists; // storage for lists
78 TString fOCDBPath; // OCDB to be used (raw:// by default)
79 Bool_t fIsCompactGraphs; // whether the graph produced should be compact
81 ClassDef(AliAnalysisMuMuConfig,2) // class to hold configuration of AliAnalysisMuMu(Evolution) class