AliPhysics  a56b849 (a56b849)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliConvEventCuts.h
Go to the documentation of this file.
1 #ifndef ALICONVEVENTCUTS_H
2 #define ALICONVEVENTCUTS_H
3 
4 // Class handling all kinds of selection cuts for Gamma Conversion analysis
5 // Authors: Friederike Bock, Daniel Muehlheim
6 
7 #include "AliAODTrack.h"
8 #include "AliESDtrack.h"
9 #include "AliVEvent.h"
10 #include "AliMCEvent.h"
11 #include "AliVTrack.h"
12 #include "AliAnalysisCuts.h"
13 #include "TH1F.h"
14 #include "TF1.h"
15 #include "TObjArray.h"
16 #include "AliAnalysisUtils.h"
17 #include "AliAnalysisManager.h"
18 #include "TRandom3.h"
19 #include "AliVCaloTrigger.h"
20 
21 class AliESDEvent;
22 class AliAODEvent;
23 class TH1F;
24 class TH2F;
25 class TF1;
26 class AliAnalysisCuts;
27 class iostream;
28 class TList;
29 class AliAnalysisManager;
30 class AliAODMCParticle;
31 class AliEMCALTriggerPatchInfo;
32 
55 class AliConvEventCuts : public AliAnalysisCuts {
56 
57  public:
58  enum cutIds {
68  };
69 
71  kND = -1, //not defined
72  kJ1 = 1,
73  kJ2 = 2,
74  kG1 = 3,
75  kG2 = 4,
76  kL0 = 5,
77  };
78 
83  enum PeriodVar {
84  // data periods
86  // 2010
89  // MC's corresponding to 2010 data
109 
110  // 2011
115  // MC's corresponding to 2011 data
132 
133  // 2012
135  // MC's corresponding to 2012 data
143 
144  // 2013
149  // MC's corresponding to 2013 data
164  // 2015
168  // MC's corresponding to 2015 data
203  // MC upgrade
205 
206  // 2016
213  // MC's corresponding to 2016 data
219 
220  //General purpose- pPb
268 
269  // 2017
273 
275  //
277  };
278 
283  enum EnergyVar {
284  kUnset = 0,
285  k900GeV = 1,
286  k2760GeV = 2,
287  k5TeV = 3,
288  k7TeV = 4,
289  k8TeV = 5,
290  k13TeV = 6,
292  kpPb5TeV = 8,
293  kpPb8TeV = 9,
295  kPbPb5TeV = 11,
297  };
298 
299 
300  AliConvEventCuts(const char *name="EventCuts", const char * title="Event Cuts");
303 
304  virtual ~AliConvEventCuts(); //virtual destructor
305 
306  // static AliConvEventCuts * GetStandardCuts2010PbPb();
307  // static AliConvEventCuts * GetStandardCuts2010pp();
308 
311  static const char * fgkCutNames[kNCuts];
312 
313  // Setters
314  Bool_t SetCutIds (TString cutString);
315  Bool_t SetCut (cutIds cutID, Int_t cut);
316  Bool_t SetIsHeavyIon (Int_t isHeavyIon);
317  Bool_t SetCentralityMax (Int_t centralityBin);
318  Bool_t SetCentralityMin (Int_t centralityBin);
319  Bool_t SetRemovePileUp (Int_t removePileUp);
320  Bool_t SetMultiplicityMethod (Int_t multiplicityMethod);
321  Bool_t SetSelectSpecialTrigger (Int_t selectSpecialTrigger);
322  Bool_t SetSelectSubTriggerClass (Int_t selectSpecialSubTriggerClass);
323  Bool_t SetRejectExtraSignalsCut (Int_t extraSignal);
324  Bool_t SetVertexCut(Int_t vertexCut);
325  void SetPeriodEnum (TString periodName);
326  void SetPeriodEnumExplicit ( PeriodVar periodEnum ) { fPeriodEnum = periodEnum ; }
327  void SetTriggerMimicking(Bool_t value) { fMimicTrigger = value ;
328  if(value)AliInfo("enabled trigger mimicking") ; }
330  if(value)AliInfo("enabled trigger overlap rejection") ; }
331 
332  void SetV0ReaderName (TString name) { fV0ReaderName = name ; }
333 
334  void SetAddedSignalPDGCode (Int_t addedSignalPDGcode) { fAddedSignalPDGCode = addedSignalPDGcode ; }
335  void SetPreSelectionCutFlag (Bool_t preSelFlag) { fPreSelCut = preSelFlag ; }
337  void SetCaloTriggersName(const char *n) { fCaloTriggersName = n ; }
338  void SetAcceptedHeader(TList *HeaderList) { fHeaderList = HeaderList ; }
340  Bool_t preCut = kTRUE) { if(!fHistograms){ InitCutHistograms(name,preCut);} ; }
341  void SetEtaShift(Double_t etaShift) { fEtaShift = etaShift ; } // Eta shift Setting
342  void SetEtaShift(TString pPbOrPbp) { Double_t etaShift = 0.0 ;
343  if(!pPbOrPbp.CompareTo("pPb")) etaShift = -0.465 ;
344  else if(!pPbOrPbp.CompareTo("Pbp")) etaShift = 0.465 ;
345  fEtaShift = etaShift ; }
346  // void GetHistoCentralityFlattening
348  TString pathC="$ALICE_PHYSICS/PWGGA/GammaConv/InterpValuesAndFlattening.root",
349  TString histoCentNotFlat="")
350  {
351  AliInfo(Form("enabled centrality flattening with weights from file: %s",pathC.Data()));
352  fDoCentralityFlat = doFlattening ;
353  fPathWeightsFlatCent=pathC ;
354  fNameHistoNotFlatCentrality = histoCentNotFlat ;
355  }
357  Bool_t etareweight=kFALSE,
358  Bool_t k0sreweight=kFALSE,
359  TString path="$ALICE_PHYSICS/PWGGA/GammaConv/MCSpectraInput.root",
360  TString histoNamePi0 = "",
361  TString histoNameEta = "",
362  TString histoNameK0s = "",
363  TString fitNamePi0 = "",
364  TString fitNameEta = "",
365  TString fitNameK0s ="" )
366  {
367  AliInfo(Form("enabled reweighting for: pi0 : %i, eta: %i, K0s: %i",pi0reweight, etareweight, k0sreweight));
368  fDoReweightHistoMCPi0 = pi0reweight ;
369  fDoReweightHistoMCEta = etareweight ;
370  fDoReweightHistoMCK0s = k0sreweight ;
371  fPathTrFReweighting=path ;
372  fNameHistoReweightingPi0 =histoNamePi0 ;
373  fNameHistoReweightingEta =histoNameEta ;
374  fNameHistoReweightingK0s =histoNameK0s ;
375  fNameFitDataPi0 =fitNamePi0 ;
376  fNameFitDataEta =fitNameEta ;
377  fNameFitDataK0s =fitNameK0s ;
378  }
380  TString pathC="$ALICE_PHYSICS/PWGGA/GammaConv/MultiplicityInput.root",
381  TString nameHistoMultData="",
382  TString nameHistoMultMC=""
383  )
384  {
385  AliInfo(Form("enabled multiplicity weights from file: %s",pathC.Data()));
386  fDoMultiplicityWeighting = doWeighting ;
387  fPathReweightingMult=pathC ;
388  fNameHistoReweightingMultData = nameHistoMultData ;
389  fNameHistoReweightingMultMC = nameHistoMultMC ;
390  }
391 
392  void SetMaxFacPtHard(Float_t value) { fMaxFacPtHard = value ;
393  AliInfo(Form("maximum factor between pt hard and jet put to: %2.2f",fMaxFacPtHard));
394  }
395  void SetDebugLevel( Int_t value) { fDebugLevel = value ; }
396 
397  // Geters
405  void GetCentralityRange(Double_t range[2]) { range[0]=10*fCentralityMin ;
406  range[1]=10*fCentralityMax ; }
414  Int_t GetAcceptedHeaderStart(Int_t headernumber) { if (headernumber < fnHeaders)
415  return fNotRejectedStart[headernumber] ;
416  else
417  return -1 ;
418  }
419  Int_t GetAcceptedHeaderEnd(Int_t headernumber) { if (headernumber < fnHeaders)
420  return fNotRejectedEnd[headernumber] ;
421  else
422  return -1 ;
423  }
425  Int_t GetNumberOfContributorsVtx(AliVEvent *event);
429  AliEMCALTriggerPatchInfo *GetMainTriggerPatch();
431  Float_t GetWeightForCentralityFlattening(AliVEvent *event = 0x0);
433  Float_t GetWeightForMeson( Int_t index, AliMCEvent *mcEvent, AliVEvent *event = 0x0);
434  Float_t GetCentrality(AliVEvent *event);
437  void GetNotRejectedParticles(Int_t rejection, TList *HeaderList, AliVEvent *event);
438  TClonesArray* GetArrayFromEvent(AliVEvent* event, const char *name, const char *clname=0);
439 
440  Bool_t InitializeCutsFromCutString(const TString analysisCutSelection);
441  void SelectCollisionCandidates(UInt_t offlineTriggerMask = AliVEvent::kAny) {
442  fOfflineTriggerMask = offlineTriggerMask ;
443  fTriggerSelectedManually = kTRUE ;
444  }
445  void SelectSpecialTrigger( UInt_t offlineTriggerMask = AliVEvent::kAny,
446  TString TriggerClassName = "AliVEvent::kAny" ) {
447  fOfflineTriggerMask = offlineTriggerMask ;
448  fSpecialTriggerName = TriggerClassName ;
449  AliInfo(fSpecialTriggerName) ;
450 
451  }
452 
455  virtual Bool_t IsSelected(TObject* /*obj*/) { return kTRUE ; }
456  virtual Bool_t IsSelected(TList* /*list*/) { return kTRUE ; }
457 
458 
459  // Cut Selection
460  Bool_t EventIsSelected(AliVEvent *fInputEvent,
461  AliMCEvent *fMCEvent);
463  AliVEvent *event,
464  AliMCEvent *mcEvent,
465  Int_t isHeavyIon,
466  Bool_t isEMCALAnalysis);
467 
468  void PrintCuts();
469  void PrintCutsWithValues();
470  void InitCutHistograms( TString name="",
471  Bool_t preCut = kTRUE);
472  void SetLightOutput( Bool_t flag ){fDoLightOutput = flag; return;}
473 
476  AliMCEvent *mcEvent,
477  AliVEvent *event = 0x0);
478 
482 
483  // Event Cuts
484  Bool_t IsCentralitySelected(AliVEvent *event, AliMCEvent *mcEvent);
485  Bool_t IsOutOfBunchPileupPastFuture(AliVEvent *event);
486  Bool_t IsPileUpV0MTPCout(AliVEvent *event);
487  Bool_t VertexZCut(AliVEvent *event);
488  Bool_t IsJetJetMCEventAccepted(AliMCEvent *event, Double_t& weight);
489  Float_t GetPtHard(AliMCEvent *event);
490  void GetXSectionAndNTrials(AliMCEvent *event, Float_t &XSection, Float_t &NTrials);
492  Bool_t MimicTrigger( AliVEvent *event,
493  Bool_t isMC );
494  Bool_t IsTriggerSelected( AliVEvent *event,
495  Bool_t isMC);
496  Bool_t HasV0AND() { return fHasV0AND ; }
500  void InitializeEMCALTrigger( AliVEvent *event);
502 
503  // Request Flags
504  Int_t IsHeavyIon() { return fIsHeavyIon ; }
505  void DoEtaShift(Bool_t doEtaShift) { fDoEtaShift = doEtaShift ; }
506 
507  //MC particle flags - determine whether particle is primary or secondary
508  Bool_t IsConversionPrimaryESD( AliMCEvent *mcEvent,
509  Long_t eventpos,
510  Double_t prodVtxX,
511  Double_t prodVtxY,
512  Double_t prodVtxZ);
513  Bool_t IsConversionPrimaryAOD( AliVEvent *event,
514  AliAODMCParticle* AODMCParticle,
515  Double_t prodVtxX,
516  Double_t prodVtxY,
517  Double_t prodVtxZ);
518 
519  Int_t SecondaryClassificationPhoton( TParticle *particle,
520  AliMCEvent *mcEvent,
521  Bool_t isConversion );
522  Int_t SecondaryClassificationPhotonAOD( AliAODMCParticle *particle,
523  TClonesArray *aodmcArray,
524  Bool_t isConversion );
525 
526  protected:
529 
532  //cuts
552  TRandom3 fRandom;
554  Int_t* fNotRejectedStart; //[fnHeaders]
555  Int_t* fNotRejectedEnd; //[fnHeaders]
556  TString* fGeneratorNames; //[fnHeaders]
559 
560  TObjString* fCutString;
562  AliAnalysisUtils* fUtils;
578  // Histograms
581  TH1F* hCentrality;
583  //TH2F* hCentralityVsNumberOfPrimaryTracks; ///< centrality distribution for selected events
584  TH1F* hVertexZ;
597  TF1* fFitDataPi0;
598  TF1* fFitDataEta;
599  TF1* fFitDataK0s;
601  Bool_t fPreSelCut; // Flag for preselection cut used in V0Reader
602  Bool_t fTriggerSelectedManually; // Flag for manual trigger selection
603  TString fSpecialTriggerName; // Name of the Special Triggers
604  TString fSpecialSubTriggerName; // Name of the Special Triggers
608  // trigger information
610  AliVCaloTrigger* fCaloTriggers;
611  TClonesArray* fTriggerPatchInfo;
612  AliEMCALTriggerPatchInfo * fMainTriggerPatchEMCAL;
618  // Primary secondary distinction
625  //
633  private:
634 
636  ClassDef(AliConvEventCuts,38)
638 };
639 
640 
641 #endif
anchored LHC16r pass 1 - general purpose DPMJET, fast only
PeriodVar
Collection of supported periods.
void SetPeriodEnum(TString periodName)
TH1D * hReweightMCHistPi0
histogram input for reweighting Pi0
anchored LHC10c pass 2
Bool_t MimicTrigger(AliVEvent *event, Bool_t isMC)
Int_t * GetAcceptedHeaderEnd()
anchored LHC16r pass 1 - general purpose DPMJET
Float_t GetPtHard(AliMCEvent *event)
anchored LHC16qt pass 1 - general purpose EPOSLHC, CENT
TF1 * fFPileUpRejectV0MTPCout
Pol1 function to compute the cut.
anchored LHC16qt pass 1 - general purpose EPOSLHC, CENT 2nd cycle
Bool_t SetCentralityMax(Int_t centralityBin)
anchored LHC16r pass 1 - general purpose EPOSLHC, fast only
TH2F * hSPDClusterTrackletBackground
SPD tracklets vs SPD clusters for background-correction.
Int_t SecondaryClassificationPhoton(TParticle *particle, AliMCEvent *mcEvent, Bool_t isConversion)
Bool_t SetMultiplicityMethod(Int_t multiplicityMethod)
anchored LHC16s pass 1 - general purpose EPOSLHC, CENT
double Double_t
Definition: External.C:58
Bool_t fDoReweightHistoMCEta
Flag for reweighting Eta input with histogram.
TH1F * hVertexZ
vertex z distribution for selected events
anchored LHC15n pass3 - general purpose Pythia6
anchored LHC15n pass 1
anchored LHC13[d-e] pass 2 - JJ
Definition: External.C:236
anchored LHC15n pass4 - general purpose Pythia8
anchored LHC11a pass 4
const char * title
Definition: MakeQAPdf.C:27
TH1D * hReweightMultMC
histogram input for reweighting Pi0
anchored LHC15f pass 1
anchored LHC16s pass 1 - general purpose DPMJET, fast only
Int_t fnHeaders
Number of Headers.
TString fCaloTriggersName
name of calo triggers collection
anchored LHC11c pass 1 - GJ
LHC15o low IR firstPhysics.
anchored LHC15f pass 1
TList * GetCutHistograms()
Int_t fModCentralityClass
allows to select smaller centrality classes
void SetLightOutput(Bool_t flag)
anchored LHC15h pass 1
TH1F * hNPileupVertices
number of SPD pileup vertices
AliVCaloTrigger * fCaloTriggers
! calo triggers
Bool_t IsJetJetMCEventAccepted(AliMCEvent *event, Double_t &weight)
anchored LHC10d pass 2
anchored LHC16s pass 1 - general purpose EPOSLHC, fast only
PeriodVar GetPeriodEnum()
Bool_t fMimicTrigger
enable trigger mimiking
anchored LHC16qt pass 1 - general purpose EPOSLHC, CENT woSDD 2nd cycle
Bool_t SetSelectSpecialTrigger(Int_t selectSpecialTrigger)
anchored LHC16r pass 1 - general purpose DPMJET, fast only
void SetPeriodEnumExplicit(PeriodVar periodEnum)
Double_t fEventPlaneAngle
EventPlaneAngle.
Bool_t fDoEtaShift
Flag for Etashift.
TString fCaloTriggerPatchInfoName
trigger patch info array name
void SetAcceptedHeader(TList *HeaderList)
anchored LHC16r pass 1 - jet-jet MC in EPOSLHC
anchored LHC16s pass 1 - general purpose DPMJET, CENT
Double_t GetEtaShift()
anchored LHC16s pass 1 - general purpose EPOSLHC, CENT
void DoEtaShift(Bool_t doEtaShift)
anchored LHC16qt pass 1 - general purpose EPOSLHC, fast only
anchored LHC16s pass 1 - general purpose DPMJET, CENT
Int_t * GetAcceptedHeaderStart()
ULong_t fTriggersEMCAL
list of fired EMCAL triggers
anchored LHC10h pass 2
Bool_t fDoReweightHistoMCK0s
Flag for reweighting K0s input with histogram.
Int_t fSpecialTrigger
flag
UInt_t fOfflineTriggerMask
Task processes collision candidates only.
AliConvEventCuts(const char *name="EventCuts", const char *title="Event Cuts")
Double_t fMaxVertexZ
max z offset of vertex
void SetTriggerOverlapRejecion(Bool_t value)
anchored LHC15o pass1 - jet-jet 10-50%
anchored LHC13g pass 1
Bool_t IsPileUpV0MTPCout(AliVEvent *event)
TH1F * fHistoEventCuts
bookkeeping for event selection cuts
Int_t GetNumberOfContributorsVtx(AliVEvent *event)
EnergyVar GetEnergyEnum()
Bool_t HasTriggerType(TriggerTypeEMCAL t)
void GetXSectionAndNTrials(AliMCEvent *event, Float_t &XSection, Float_t &NTrials)
anchored LHC15o pass3 - gen. purpose Pyt6wpileup
anchored LHC16s pass 1 - general purpose EPOSLHC
anchored LHC16r pass 1 - general purpose DPMJET
anchored LHC15n pass2 - general purpose Pythia6
anchored LHC11a pass 4
void SetPreSelectionCutFlag(Bool_t preSelFlag)
AliEMCALTriggerPatchInfo * GetMainTriggerPatch()
anchored LHC16r pass 1 - general purpose EPOSLHC, CENT
anchored LHC15h pass 1
Int_t fMultiplicityMethod
selected multiplicity method
void SetUseWeightFlatCentralityFromFile(Int_t doFlattening=1, TString pathC="$ALICE_PHYSICS/PWGGA/GammaConv/InterpValuesAndFlattening.root", TString histoCentNotFlat="")
anchored LHC16s pass 1 - general purpose EPOSLHC, fast only
anchored LHC10h pass 2
TH1D * hReweightMCHistK0s
histogram input for reweighting K0s
anchored LHC16f pass 1 low B-field - Pythia8 JJ
anchored LHC13g pass 1 - JJ
TString fNameHistoReweightingK0s
Histogram name for reweighting K0s.
Int_t fCentralityMin
centrality selection lower bin value
anchored LHC15n pass4 - jet-jet MC Pythia8 reproduction
TF1 * fFitDataPi0
fit to pi0 spectrum in Data
anchored LHC15h pass 1
Float_t fMaxFacPtHard
maximum factor between maximum jet pt and pt hard generated
anchored LHC16s pass 1 - general purpose EPOSLHC
Float_t fMaxFacPtHardSingleParticle
maximum factor between maximum single particle pt (pi0/eta) and pt hard generated ...
anchored LHC10h pass 2
anchored LHC15n pass 1
anchored LHC16s pass 1 - general purpose DPMJET, fast only
Bool_t VertexZCut(AliVEvent *event)
anchored LHC16qt pass 1 - jet-jet MC in EPOSLHC CENT woSDD
anchored LHC15o pass1 - general purpose 50-90%
AliEMCALTriggerPatchInfo * fMainTriggerPatchEMCAL
main trigger patch, will be cached after first call
anchored LHC15n pass2 - gen. purpose Pyt6wpileup
void InitCutHistograms(TString name="", Bool_t preCut=kTRUE)
void SetMaxFacPtHard(Float_t value)
void SetAddedSignalPDGCode(Int_t addedSignalPDGcode)
anchored LHC13g pass 1 - JJ
anchored LHC16qt pass 1 - general purpose EPOSLHC, CENT woSDD
void GetNotRejectedParticles(Int_t rejection, TList *HeaderList, AliVEvent *event)
void SetCaloTriggersName(const char *n)
Bool_t SetRejectExtraSignalsCut(Int_t extraSignal)
anchored LHC16s pass 1 - general purpose DPMJET
anchored LHC13[b-c] pass 2
static const char * fgkCutNames[kNCuts]
anchored LHC16r pass 1 - general purpose DPMJET, CENT
anchored LHC16qt pass 1 - general purpose EPOSLHC
Int_t fDetectorCentrality
centrality detecotor V0M or CL1
anchored LHC11d pass 1 - JJ
anchored LHC11c pass 1 - JJ
void SetDebugLevel(Int_t value)
void LoadWeightingMultiplicityFromFile()
Bool_t fDoReweightHistoMCPi0
Flag for reweighting Pi0 input with histogram.
TH1F * hPileupVertexToPrimZTrackletvsHits
distance of SPD pileup vertex to prim vertex in z for Tracklet vs Hits flagged events ...
anchored LHC15o pass1 - jet-jet 0-10%
Int_t IsEventAcceptedByCut(AliConvEventCuts *ReaderCuts, AliVEvent *event, AliMCEvent *mcEvent, Int_t isHeavyIon, Bool_t isEMCALAnalysis)
int Int_t
Definition: External.C:63
TString * GetFoundHeader()
anchored LHC10e pass 2
Int_t fCentralityMax
centrality selection upper bin value
unsigned int UInt_t
Definition: External.C:33
Bool_t SetIsHeavyIon(Int_t isHeavyIon)
anchored LHC16r pass 1 - general purpose DPMJET, CENT
float Float_t
Definition: External.C:68
Bool_t IsTriggerSelected(AliVEvent *event, Bool_t isMC)
anchored LHC15f pass 1
anchored LHC16r pass 1 - general purpose DPMJET, CENT woSDD
TString fPathReweightingMult
Path for file used in multiplicity reweighting.
LHC15o low IR firstPhysics.
Int_t fDebugLevel
debug level for interactive debugging
Bool_t IsConversionPrimaryESD(AliMCEvent *mcEvent, Long_t eventpos, Double_t prodVtxX, Double_t prodVtxY, Double_t prodVtxZ)
anchored LHC11a pass 2 - JJ
TString fPathWeightsFlatCent
Float_t GetWeightForMeson(Int_t index, AliMCEvent *mcEvent, AliVEvent *event=0x0)
anchored LHC15o pass1 - general purpose DPMJET
pp 13 TeV nominal B field
Bool_t fEnableVertexCut
enable vertex cut
anchored LHC11h pass 2
TString fPathTrFReweighting
Path for file used in reweighting.
virtual Bool_t IsSelected(TObject *)
anchored LHC16qt pass 1 - general purpose DPMJET, CENT woSDD
Int_t fSpecialSubTrigger
flag
anchored LHC10h pass 2
pp 13 TeV low B field
Definition: External.C:212
anchored LHC16s pass 1 - jet-jet MC in EPOSLHC
Float_t GetCentrality(AliVEvent *event)
TH1F * hTriggerClass
fired offline trigger class
Bool_t SetSelectSubTriggerClass(Int_t selectSpecialSubTriggerClass)
Int_t fPastFutureRejectionHigh
sets bunch crossing event rejection in future
Float_t GetWeightForCentralityFlattening(AliVEvent *event=0x0)
anchored LHC13[b-c] pass 2 - JJ
anchored LHC11[c-d] pass 1 - JJ
void SetV0ReaderName(TString name)
anchored LHC15o pass1 - jet-jet 50-90%
anchored LHC10c pass 2
Bool_t IsCentralitySelected(AliVEvent *event, AliMCEvent *mcEvent)
anchored LHC10[b-g] pass 4
anchored LHC11a pass 4
anchored LHC10h pass 2
anchored LHC11d pass 1 - GJ
anchored LHC12[a-h] pass 2
Bool_t fDoMultiplicityWeighting
Flag for multiplicity weighting.
anchored LHC16qt pass 1 - general purpose EPOSLHC, fast only 2nd cycle
Int_t GetAcceptedHeaderStart(Int_t headernumber)
unsigned long ULong_t
Definition: External.C:38
void SetUseReweightingWithHistogramFromFile(Bool_t pi0reweight=kTRUE, Bool_t etareweight=kFALSE, Bool_t k0sreweight=kFALSE, TString path="$ALICE_PHYSICS/PWGGA/GammaConv/MCSpectraInput.root", TString histoNamePi0="", TString histoNameEta="", TString histoNameK0s="", TString fitNamePi0="", TString fitNameEta="", TString fitNameK0s="")
TString fNameFitDataPi0
Fit name for fit to spectrum of pi0s in Data.
anchored LHC12[a-h] pass 2 - JJ
anchored LHC16f pass 1 low B-field - general purpose Pythia8
pp 7 TeV (LHC10c incl 900 GeV)
void SetEtaShift(TString pPbOrPbp)
anchored LHC15n pass3 - general purpose Pythia8
anchored LHC15o pass1 - general purpose
Int_t fDoPileUpRejectV0MTPCout
reject event if # TPCout tracks does not follow expected V=M mult
anchored LHC16x pass 1 nom B-field - general purpose EPOS
anchored LHC11d pass 1 - JJ
anchored LHC15o pass3 - gen. purpose Pyt6wopileup
anchored LHC16qt pass 1 - general purpose DPMJET
Bool_t EventIsSelected(AliVEvent *fInputEvent, AliMCEvent *fMCEvent)
anchored LHC15o pass1 - general purpose 10-50%
anchored LHC15f pass 1
TString * GetAcceptedHeaderNames()
TString fNameHistoNotFlatCentrality
TClonesArray * fTriggerPatchInfo
! trigger patch info array
anchored LHC13[d-e] pass 2 - GJ
TObjString * fCutString
cut number used for analysis
TH1D * hReweightMultData
histogram input for reweighting Eta
TString fSpecialSubTriggerName
anchored LHC16qt pass 1 - general purpose DPMJET, CENT
EnergyVar
Supported collision systems.
anchored LHC16s pass 1 - general purpose EPOSLHC, CENT woSDD
anchored LHC16qt pass 1 - jet-jet MC in EPOSLHC fast
anchored LHC10c pass 2
void GetCorrectEtaShiftFromPeriod()
anchored LHC13[b-c] pass 2
pp 13 TeV low B field
anchored LHC16s pass 1 - general purpose EPOSLHC, CENT woSDD
TH1F * hTriggerClassesCorrelated
selected trigger class correlation with others
anchored LHC16r pass 1 - general purpose EPOSLHC
Bool_t fRejectTriggerOverlap
enable trigger overlap rejections
anchored LHC13[b-c] pass 2 - JJ
Double_t fSecProdBoundary
3D radius of production (cm) for primary-secodary distinction
Float_t GetWeightForMultiplicity(Int_t mult)
Int_t fPastFutureRejectionLow
sets bunch crossing event rejection in past
anchored LHC13[d-e] pass 2 - JJ
Bool_t isMC
void SelectSpecialTrigger(UInt_t offlineTriggerMask=AliVEvent::kAny, TString TriggerClassName="AliVEvent::kAny")
PeriodVar fPeriodEnum
period selector
anchored LHC12[a-h] pass 1
anchored LHC11a pass 4 - JJ
void SelectCollisionCandidates(UInt_t offlineTriggerMask=AliVEvent::kAny)
Bool_t InitializeCutsFromCutString(const TString analysisCutSelection)
anchored LHC13g pass 1 - JJ
anchored LHC15o pass1 - general purpose EPOS-LHC
anchored LHC10e pass 2
TH1F * fHistoPastFutureBits
bookkeeping for event selection cuts
MC for Xe-Xe 5.44 TeV HIJING.
TH2F * hSPDClusterTrackletBackgroundBefore
SPD tracklets vs SPD clusters for background-correction before cut.
Bool_t fRemovePileUp
flag
ULong_t fTriggersEMCALSelected
list of accepted triggers
Bool_t fHasV0AND
V0AND Offline Trigger.
anchored LHC15f pass 1
TH1D * hCentralityNotFlat
centrality distribution loaded for cent. flattening
anchored LHC16r pass 1 - general purpose EPOSLHC, fast only
anchored LHC11[c-d] pass 1 - JJ
Int_t GetMultiplicityMethod()
AliAnalysisUtils * fUtils
TString fNameHistoReweightingMultMC
Histogram name for reweighting Eta.
Bool_t fTriggerSelectedManually
TH1F * hCentrality
centrality distribution for selected events
TString fNameHistoReweightingEta
Histogram name for reweighting Eta.
void SetCaloTriggerPatchInfoName(const char *n)
anchored LHC10h pass 2
anchored LHC16r pass 1 - general purpose EPOSLHC, CENT woSDD
anchored LHC13[b-c] pass 2
void SetUseWeightMultiplicityFromFile(Int_t doWeighting=0, TString pathC="$ALICE_PHYSICS/PWGGA/GammaConv/MultiplicityInput.root", TString nameHistoMultData="", TString nameHistoMultMC="")
void SetEtaShift(Double_t etaShift)
anchored LHC12[a-h] pass 2 - JJ - additional stat
TList * GetAcceptedHeader()
anchored LHC10b pass 2
anchored LHC15o pass1 - general purpose 0-10%
anchored LHC12[a-h] pass 1
anchored LHC11h pass 2
TH1F * hPileupVertexToPrimZ
distance of SPD pileup vertex to prim vertex in z
Class handling all kinds of selection cuts for Gamma Conversion analysis.
anchored LHC12[a-h] pass 1
anchored LHC16s pass 1 - general purpose DPMJET
void LoadWeightingFlatCentralityFromFile()
anchored LHC16s pass 1 - general purpose DPMJET, CENT woSDD
Bool_t SetCutIds(TString cutString)
Bool_t SetCentralityMin(Int_t centralityBin)
Int_t GetAcceptedHeaderEnd(Int_t headernumber)
void SetFillCutHistograms(TString name="", Bool_t preCut=kTRUE)
Bool_t fIsSDDFired
SDD FIRED to select with SDD events.
anchored LHC16r pass 1 - general purpose EPOSLHC
TString fNameHistoReweightingMultData
Histogram name for reweighting Pi0.
TString fNameHistoReweightingPi0
Histogram name for reweighting Pi0.
pp 13 TeV nominal B field
TF1 * fFitDataEta
fit to eta spectrum in Data
Int_t SecondaryClassificationPhotonAOD(AliAODMCParticle *particle, TClonesArray *aodmcArray, Bool_t isConversion)
TString GetSpecialTriggerName()
anchored LHC16qt pass 1 - general purpose DPMJET, fast only
void LoadReweightingHistosMCFromFile()
anchored LHC11a pass 4 - JJ
Int_t fCuts[kNCuts]
anchored LHC16s pass 1 - general purpose DPMJET, CENT woSDD
TH1F * hPileupVertexToPrimZSPDPileup
distance of SPD pileup vertex to prim vertex in z for SPD pileup flagged events
anchored LHC16x pass 1 nom B-field - general purpose Pythia8
TF1 * fFitDataK0s
fit to K0s spectrum in Data
Bool_t fDoLightOutput
switch for running light output, kFALSE -> normal mode, kTRUE -> light mode
Float_t fMaxPtJetMC
maximum jet pt in event
void SetTriggerMimicking(Bool_t value)
bool Bool_t
Definition: External.C:53
anchored LHC11h pass 2
Int_t fEventQuality
EventQuality.
Bool_t IsConversionPrimaryAOD(AliVEvent *event, AliAODMCParticle *AODMCParticle, Double_t prodVtxX, Double_t prodVtxY, Double_t prodVtxZ)
Int_t IsParticleFromBGEvent(Int_t index, AliMCEvent *mcEvent, AliVEvent *event=0x0)
Cut functions.
anchored LHC16r pass 1 - general purpose EPOSLHC, CENT woSDD
TH1F * hTriggerClassSelected
selected fired offline trigger class
anchored LHC15n pass2 - general purpose Pythia8
TH1D * hReweightMCHistEta
histogram input for reweighting Eta
anchored LHC16x pass 1 nom B-field - Pythia8 JJ
anchored LHC10h pass 2
LHC15o low IR pass4.
anchored LHC10b pass 2
anchored LHC10c pass 2
LHC15o low IR firstPhysics.
EnergyVar fEnergyEnum
energy selector
Int_t fIsHeavyIon
flag for heavy ion
Bool_t fEMCALTrigInitialized
EMCAL triggers initialized.
anchored LHC16r pass 1 - general purpose EPOSLHC, CENT
Int_t fNSpecialSubTriggerOptions
Bool_t IsOutOfBunchPileupPastFuture(AliVEvent *event)
TString * fGeneratorNames
anchored LHC10h pass 2
Bool_t GetDoPileUpRejectV0MTPCout()
anchored LHC13g pass 1
anchored LHC13g pass 1
Bool_t SetRemovePileUp(Int_t removePileUp)
void InitializeEMCALTrigger(AliVEvent *event)
TClonesArray * GetArrayFromEvent(AliVEvent *event, const char *name, const char *clname=0)
Bool_t GetUseNewMultiplicityFramework()
pp 2.76TeV (part 7TeV)
Bool_t SetVertexCut(Int_t vertexCut)
anchored LHC16r pass 1 - general purpose DPMJET, CENT woSDD
anchored LHC15n pass2 - gen. purpose Pyt6wopileup
AliConvEventCuts & operator=(const AliConvEventCuts &)
void GetCentralityRange(Double_t range[2])
TString fNameFitDataEta
Fit name for fit to spectrum of etas in Data.
Bool_t SetCut(cutIds cutID, Int_t cut)
anchored LHC15o pass1 - injected signals 0-100%
anchored LHC12[a-h] pass 2
TString fV0ReaderName
Name of V0Reader.
virtual Bool_t IsSelected(TList *)
TString fNameFitDataK0s
Fit name for fit to spectrum of k0s in Data.