AliPhysics  6b290e4 (6b290e4)
 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 "AliStack.h"
13 #include "AliAnalysisCuts.h"
14 #include "TH1F.h"
15 #include "TF1.h"
16 #include "TObjArray.h"
17 #include "AliAnalysisUtils.h"
18 #include "AliAnalysisManager.h"
19 #include "TRandom3.h"
20 #include "AliVCaloTrigger.h"
21 
22 class AliESDEvent;
23 class AliAODEvent;
24 class TH1F;
25 class TH2F;
26 class TF1;
27 class AliAnalysisCuts;
28 class iostream;
29 class TList;
30 class AliAnalysisManager;
31 class AliAODMCParticle;
32 class AliEMCALTriggerPatchInfo;
33 
56 class AliConvEventCuts : public AliAnalysisCuts {
57 
58  public:
59  enum cutIds {
69  };
70 
72  kND = -1, //not defined
73  kJ1 = 1,
74  kJ2 = 2,
75  kG1 = 3,
76  kG2 = 4,
77  kL0 = 5,
78  };
79 
84  enum PeriodVar {
85  // data periods
87  // 2010
90  // MC's corresponding to 2010 data
110 
111  // 2011
116  // MC's corresponding to 2011 data
133 
134  // 2012
136  // MC's corresponding to 2012 data
144 
145  // 2013
150  // MC's corresponding to 2013 data
165  // 2015
169  // MC's corresponding to 2015 data
204  // MC upgrade
206 
207  // 2016
222  // MC's corresponding to 2016 data
227  // General purpose pp-13TeV
241  // Pythia +JJ pp-13TeV
247  //General purpose- pPb
272 
297 
298  //
300  };
301 
306  enum EnergyVar {
307  kUnset = 0,
308  k900GeV = 1,
309  k2760GeV = 2,
310  k5TeV = 3,
311  k7TeV = 4,
312  k8TeV = 5,
313  k13TeV = 6,
314  kpPb5TeV = 7,
315  kpPb8TeV = 8,
317  kPbPb5TeV = 10,
318  };
319 
320 
321  AliConvEventCuts(const char *name="EventCuts", const char * title="Event Cuts");
324 
325  virtual ~AliConvEventCuts(); //virtual destructor
326 
327  // static AliConvEventCuts * GetStandardCuts2010PbPb();
328  // static AliConvEventCuts * GetStandardCuts2010pp();
329 
332  static const char * fgkCutNames[kNCuts];
333 
334  // Setters
335  Bool_t SetCutIds (TString cutString);
336  Bool_t SetCut (cutIds cutID, Int_t cut);
337  Bool_t SetIsHeavyIon (Int_t isHeavyIon);
338  Bool_t SetCentralityMax (Int_t centralityBin);
339  Bool_t SetCentralityMin (Int_t centralityBin);
340  Bool_t SetRemovePileUp (Int_t removePileUp);
341  Bool_t SetMultiplicityMethod (Int_t multiplicityMethod);
342  Bool_t SetSelectSpecialTrigger (Int_t selectSpecialTrigger);
343  Bool_t SetSelectSubTriggerClass (Int_t selectSpecialSubTriggerClass);
344  Bool_t SetRejectExtraSignalsCut (Int_t extraSignal);
345  Bool_t SetVertexCut(Int_t vertexCut);
346  void SetPeriodEnum (TString periodName);
347  void SetPeriodEnumExplicit ( PeriodVar periodEnum ) { fPeriodEnum = periodEnum ; }
348  void SetTriggerMimicking(Bool_t value) { fMimicTrigger = value ;
349  if(value)AliInfo("enabled trigger mimicking") ; }
351  if(value)AliInfo("enabled trigger overlap rejection") ; }
352 
353  void SetV0ReaderName (TString name) { fV0ReaderName = name ; }
354 
355  void SetAddedSignalPDGCode (Int_t addedSignalPDGcode) { fAddedSignalPDGCode = addedSignalPDGcode ; }
356  void SetPreSelectionCutFlag (Bool_t preSelFlag) { fPreSelCut = preSelFlag ; }
358  void SetCaloTriggersName(const char *n) { fCaloTriggersName = n ; }
359  void SetAcceptedHeader(TList *HeaderList) { fHeaderList = HeaderList ; }
361  Bool_t preCut = kTRUE) { if(!fHistograms){ InitCutHistograms(name,preCut);} ; }
362  void SetEtaShift(Double_t etaShift) { fEtaShift = etaShift ; } // Eta shift Setting
363  void SetEtaShift(TString pPbOrPbp) { Double_t etaShift = 0.0 ;
364  if(!pPbOrPbp.CompareTo("pPb")) etaShift = -0.465 ;
365  else if(!pPbOrPbp.CompareTo("Pbp")) etaShift = 0.465 ;
366  fEtaShift = etaShift ; }
367  // void GetHistoCentralityFlattening
369  TString pathC="$ALICE_PHYSICS/PWGGA/GammaConv/InterpValuesAndFlattening.root",
370  TString histoCentNotFlat="")
371  {
372  AliInfo(Form("enabled centrality flattening with weights from file: %s",pathC.Data()));
373  fDoCentralityFlat = doFlattening ;
374  fPathWeightsFlatCent=pathC ;
375  fNameHistoNotFlatCentrality = histoCentNotFlat ;
376  }
378  Bool_t etareweight=kFALSE,
379  Bool_t k0sreweight=kFALSE,
380  TString path="$ALICE_PHYSICS/PWGGA/GammaConv/MCSpectraInput.root",
381  TString histoNamePi0 = "",
382  TString histoNameEta = "",
383  TString histoNameK0s = "",
384  TString fitNamePi0 = "",
385  TString fitNameEta = "",
386  TString fitNameK0s ="" )
387  {
388  AliInfo(Form("enabled reweighting for: pi0 : %i, eta: %i, K0s: %i",pi0reweight, etareweight, k0sreweight));
389  fDoReweightHistoMCPi0 = pi0reweight ;
390  fDoReweightHistoMCEta = etareweight ;
391  fDoReweightHistoMCK0s = k0sreweight ;
392  fPathTrFReweighting=path ;
393  fNameHistoReweightingPi0 =histoNamePi0 ;
394  fNameHistoReweightingEta =histoNameEta ;
395  fNameHistoReweightingK0s =histoNameK0s ;
396  fNameFitDataPi0 =fitNamePi0 ;
397  fNameFitDataEta =fitNameEta ;
398  fNameFitDataK0s =fitNameK0s ;
399  }
401  TString pathC="$ALICE_PHYSICS/PWGGA/GammaConv/MultiplicityInput.root",
402  TString nameHistoMultData="",
403  TString nameHistoMultMC=""
404  )
405  {
406  AliInfo(Form("enabled multiplicity weights from file: %s",pathC.Data()));
407  fDoMultiplicityWeighting = doWeighting ;
408  fPathReweightingMult=pathC ;
409  fNameHistoReweightingMultData = nameHistoMultData ;
410  fNameHistoReweightingMultMC = nameHistoMultMC ;
411  }
412 
413  void SetMaxFacPtHard(Float_t value) { fMaxFacPtHard = value ;
414  AliInfo(Form("maximum factor between pt hard and jet put to: %2.2f",fMaxFacPtHard));
415  }
416  void SetDebugLevel( Int_t value) { fDebugLevel = value ; }
417 
418  // Geters
426  void GetCentralityRange(Double_t range[2]) { range[0]=10*fCentralityMin ;
427  range[1]=10*fCentralityMax ; }
435  Int_t GetAcceptedHeaderStart(Int_t headernumber) { if (headernumber < fnHeaders)
436  return fNotRejectedStart[headernumber] ;
437  else
438  return -1 ;
439  }
440  Int_t GetAcceptedHeaderEnd(Int_t headernumber) { if (headernumber < fnHeaders)
441  return fNotRejectedEnd[headernumber] ;
442  else
443  return -1 ;
444  }
446  Int_t GetNumberOfContributorsVtx(AliVEvent *event);
450  AliEMCALTriggerPatchInfo *GetMainTriggerPatch();
452  Float_t GetWeightForCentralityFlattening(AliVEvent *InputEvent = 0x0);
454  Float_t GetWeightForMeson( Int_t index, AliStack *MCStack, AliVEvent *InputEvent = 0x0);
455  Float_t GetCentrality(AliVEvent *event);
458  void GetNotRejectedParticles(Int_t rejection, TList *HeaderList, AliVEvent *MCEvent);
459  TClonesArray* GetArrayFromEvent(AliVEvent* fInputEvent, const char *name, const char *clname=0);
460 
461  Bool_t InitializeCutsFromCutString(const TString analysisCutSelection);
462  void SelectCollisionCandidates(UInt_t offlineTriggerMask = AliVEvent::kAny) {
463  fOfflineTriggerMask = offlineTriggerMask ;
464  fTriggerSelectedManually = kTRUE ;
465  }
466  void SelectSpecialTrigger( UInt_t offlineTriggerMask = AliVEvent::kAny,
467  TString TriggerClassName = "AliVEvent::kAny" ) {
468  fOfflineTriggerMask = offlineTriggerMask ;
469  fSpecialTriggerName = TriggerClassName ;
470  AliInfo(fSpecialTriggerName) ;
471 
472  }
473 
476  virtual Bool_t IsSelected(TObject* /*obj*/) { return kTRUE ; }
477  virtual Bool_t IsSelected(TList* /*list*/) { return kTRUE ; }
478 
479 
480  // Cut Selection
481  Bool_t EventIsSelected( AliVEvent *fInputEvent,
482  AliVEvent *fMCEvent);
484  AliVEvent *InputEvent,
485  AliMCEvent *MCEvent,
486  Int_t isHeavyIon,
487  Bool_t isEMCALAnalysis);
488 
489  void PrintCuts();
490  void PrintCutsWithValues();
491  void InitCutHistograms( TString name="",
492  Bool_t preCut = kTRUE);
493  void SetLightOutput( Bool_t flag ){fDoLightOutput = flag; return;}
494 
497  AliStack *MCStack,
498  AliVEvent *InputEvent = 0x0);
499 
503 
504  // Event Cuts
505  Bool_t IsCentralitySelected(AliVEvent *fInputEvent, AliVEvent *fMCEvent = NULL);
506  Bool_t IsOutOfBunchPileupPastFuture(AliVEvent *fInputEvent);
507  Bool_t IsPileUpV0MTPCout(AliVEvent *fInputEvent);
508  Bool_t VertexZCut(AliVEvent *fInputEvent);
509  Bool_t IsJetJetMCEventAccepted(AliVEvent *MCEvent, Double_t& weight);
510  Float_t GetPtHard(AliVEvent *MCEvent);
511  void GetXSectionAndNTrials(AliVEvent *MCEvent, Float_t &XSection, Float_t &NTrials);
513  Bool_t MimicTrigger( AliVEvent *fInputEvent,
514  Bool_t isMC );
515  Bool_t IsTriggerSelected( AliVEvent *fInputEvent,
516  Bool_t isMC);
517  Bool_t HasV0AND() { return fHasV0AND ; }
521  void InitializeEMCALTrigger( AliVEvent *fInputEvent);
523 
524  // Request Flags
525  Int_t IsHeavyIon() { return fIsHeavyIon ; }
526  void DoEtaShift(Bool_t doEtaShift) { fDoEtaShift = doEtaShift ; }
527 
528  //MC particle flags - determine whether particle is primary or secondary
529  Bool_t IsConversionPrimaryESD( AliStack *MCStack,
530  Long_t stackpos,
531  Double_t prodVtxX,
532  Double_t prodVtxY,
533  Double_t prodVtxZ);
534  Bool_t IsConversionPrimaryAOD( AliVEvent *fInputEvent,
535  AliAODMCParticle* AODMCParticle,
536  Double_t prodVtxX,
537  Double_t prodVtxY,
538  Double_t prodVtxZ);
539 
540  Int_t SecondaryClassificationPhoton( TParticle *particle,
541  AliStack* fMCStack,
542  Bool_t isConversion );
543  Int_t SecondaryClassificationPhotonAOD( AliAODMCParticle *particle,
544  TClonesArray *aodmcArray,
545  Bool_t isConversion );
546 
547  protected:
550 
553  //cuts
573  TRandom3 fRandom;
575  Int_t* fNotRejectedStart; //[fnHeaders]
576  Int_t* fNotRejectedEnd; //[fnHeaders]
577  TString* fGeneratorNames; //[fnHeaders]
580 
581  TObjString* fCutString;
583  AliAnalysisUtils* fUtils;
599  // Histograms
602  TH1F* hCentrality;
604  //TH2F* hCentralityVsNumberOfPrimaryTracks; ///< centrality distribution for selected events
605  TH1F* hVertexZ;
618  TF1* fFitDataPi0;
619  TF1* fFitDataEta;
620  TF1* fFitDataK0s;
622  Bool_t fPreSelCut; // Flag for preselection cut used in V0Reader
623  Bool_t fTriggerSelectedManually; // Flag for manual trigger selection
624  TString fSpecialTriggerName; // Name of the Special Triggers
625  TString fSpecialSubTriggerName; // Name of the Special Triggers
629  // trigger information
631  AliVCaloTrigger* fCaloTriggers;
632  TClonesArray* fTriggerPatchInfo;
633  AliEMCALTriggerPatchInfo * fMainTriggerPatchEMCAL;
639  // Primary secondary distinction
646  //
654  private:
655 
657  ClassDef(AliConvEventCuts,34)
659 };
660 
661 
662 #endif
anchored LHC16r pass 1 - general purpose DPMJET, fast only
anchored LHC16p pass 1 - general purpose Pythia8
PeriodVar
Collection of supported periods.
void SetPeriodEnum(TString periodName)
TH1D * hReweightMCHistPi0
histogram input for reweighting Pi0
anchored LHC10c pass 2
Int_t * GetAcceptedHeaderEnd()
anchored LHC16r pass 1 - general purpose DPMJET
anchored LHC16o pass 1 - Pythia8+JJ
anchored LHC16qt pass 1 - general purpose EPOSLHC, CENT
TF1 * fFPileUpRejectV0MTPCout
Pol1 function to compute the cut.
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.
Bool_t SetMultiplicityMethod(Int_t multiplicityMethod)
anchored LHC16s pass 1 - general purpose EPOSLHC, CENT
Bool_t IsTriggerSelected(AliVEvent *fInputEvent, Bool_t isMC)
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 LHC16qt pass 1 - general purpose EPOSLHC
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
void GetXSectionAndNTrials(AliVEvent *MCEvent, Float_t &XSection, Float_t &NTrials)
anchored LHC16qt pass 1 - general purpose EPOSLHC, fast only
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 LHC16e pass 1 - general purpose Pythia8
anchored LHC15h pass 1
TH1F * hNPileupVertices
number of SPD pileup vertices
anchored LHC16k pass 1 - general purpose Pythia8
AliVCaloTrigger * fCaloTriggers
! calo triggers
anchored LHC10d pass 2
anchored LHC16s pass 1 - general purpose EPOSLHC, fast only
PeriodVar GetPeriodEnum()
Bool_t fMimicTrigger
enable trigger mimiking
Bool_t SetSelectSpecialTrigger(Int_t selectSpecialTrigger)
anchored LHC16r pass 1 - general purpose DPMJET, fast only
anchored LHC16g pass 1 - general purpose Pythia8
void SetPeriodEnumExplicit(PeriodVar periodEnum)
Double_t fEventPlaneAngle
EventPlaneAngle.
Bool_t fDoEtaShift
Flag for Etashift.
TString fCaloTriggerPatchInfoName
trigger patch info array name
Bool_t IsConversionPrimaryAOD(AliVEvent *fInputEvent, AliAODMCParticle *AODMCParticle, Double_t prodVtxX, Double_t prodVtxY, Double_t prodVtxZ)
void SetAcceptedHeader(TList *HeaderList)
Bool_t IsJetJetMCEventAccepted(AliVEvent *MCEvent, Double_t &weight)
void GetNotRejectedParticles(Int_t rejection, TList *HeaderList, AliVEvent *MCEvent)
anchored LHC16s pass 1 - general purpose DPMJET, CENT
anchored LHC16l pass 1 - general purpose Pythia8
Double_t GetEtaShift()
anchored LHC16s pass 1 - general purpose EPOSLHC, CENT
void DoEtaShift(Bool_t doEtaShift)
anchored LHC16h pass 1 - general purpose Pythia8
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.
Float_t GetWeightForMeson(Int_t index, AliStack *MCStack, AliVEvent *InputEvent=0x0)
AliConvEventCuts(const char *name="EventCuts", const char *title="Event Cuts")
Int_t SecondaryClassificationPhoton(TParticle *particle, AliStack *fMCStack, Bool_t isConversion)
Double_t fMaxVertexZ
max z offset of vertex
void SetTriggerOverlapRejecion(Bool_t value)
anchored LHC15o pass1 - jet-jet 10-50%
anchored LHC13g pass 1
anchored LHC16i pass 1 - general purpose Pythia8
TH1F * fHistoEventCuts
bookkeeping for event selection cuts
Int_t GetNumberOfContributorsVtx(AliVEvent *event)
EnergyVar GetEnergyEnum()
TClonesArray * GetArrayFromEvent(AliVEvent *fInputEvent, const char *name, const char *clname=0)
Bool_t IsConversionPrimaryESD(AliStack *MCStack, Long_t stackpos, Double_t prodVtxX, Double_t prodVtxY, Double_t prodVtxZ)
Bool_t IsCentralitySelected(AliVEvent *fInputEvent, AliVEvent *fMCEvent=NULL)
Bool_t HasTriggerType(TriggerTypeEMCAL t)
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 LHC16d pass 1 - general purpose Pythia8
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 LHC16k pass 1 - general purpose EPOSLHC
anchored LHC16s pass 1 - general purpose DPMJET, fast only
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)
anchored LHC16l pass 1 - general purpose Pythia8
void SetMaxFacPtHard(Float_t value)
anchored LHC16qt pass 1 - general purpose EPOSLHC, CENT
void SetAddedSignalPDGCode(Int_t addedSignalPDGcode)
anchored LHC13g pass 1 - JJ
anchored LHC16qt pass 1 - general purpose EPOSLHC, CENT woSDD
void SetCaloTriggersName(const char *n)
Bool_t SetRejectExtraSignalsCut(Int_t extraSignal)
anchored LHC16s pass 1 - general purpose DPMJET
anchored LHC13[b-c] pass 2
anchored LHC16qt pass 1 - general purpose DPMJET, fast only
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%
anchored LHC16o pass 1 - general purpose Pythia8
int Int_t
Definition: External.C:63
anchored LHC16j pass 1 - Pythia8+JJ
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
anchored LHC16g pass 1 - Pythia8+JJ
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
anchored LHC11a pass 2 - JJ
TString fPathWeightsFlatCent
anchored LHC15o pass1 - general purpose DPMJET
Bool_t MimicTrigger(AliVEvent *fInputEvent, Bool_t isMC)
Bool_t fEnableVertexCut
enable vertex cut
anchored LHC11h pass 2
TString fPathTrFReweighting
Path for file used in reweighting.
virtual Bool_t IsSelected(TObject *)
anchored LHC16k pass 1 - general purpose Pythia8
anchored LHC16qt pass 1 - general purpose DPMJET, CENT woSDD
Int_t fSpecialSubTrigger
flag
anchored LHC10h pass 2
Definition: External.C:212
Float_t GetPtHard(AliVEvent *MCEvent)
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
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
anchored LHC10[b-g] pass 4
anchored LHC16j pass 1 - general purpose Pythia8
anchored LHC11a pass 4
anchored LHC10h pass 2
Int_t IsEventAcceptedByCut(AliConvEventCuts *ReaderCuts, AliVEvent *InputEvent, AliMCEvent *MCEvent, Int_t isHeavyIon, Bool_t isEMCALAnalysis)
anchored LHC11d pass 1 - GJ
anchored LHC12[a-h] pass 2
Bool_t fDoMultiplicityWeighting
Flag for multiplicity weighting.
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="")
anchored LHC16k,l pass 1 - Pythia8+JJ
TString fNameFitDataPi0
Fit name for fit to spectrum of pi0s in Data.
anchored LHC12[a-h] pass 2 - JJ
pp 7 TeV (LHC10c incl 900 GeV)
void SetEtaShift(TString pPbOrPbp)
anchored LHC15n pass3 - general purpose Pythia8
anchored LHC16k pass 1 - general purpose Pythia8
anchored LHC15o pass1 - general purpose
Int_t fDoPileUpRejectV0MTPCout
reject event if # TPCout tracks does not follow expected V=M mult
anchored LHC11d pass 1 - JJ
anchored LHC15o pass3 - gen. purpose Pyt6wopileup
anchored LHC16qt pass 1 - general purpose DPMJET
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 LHC10c pass 2
void GetCorrectEtaShiftFromPeriod()
anchored LHC13[b-c] pass 2
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
void InitializeEMCALTrigger(AliVEvent *fInputEvent)
Bool_t IsPileUpV0MTPCout(AliVEvent *fInputEvent)
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")
Bool_t IsOutOfBunchPileupPastFuture(AliVEvent *fInputEvent)
PeriodVar fPeriodEnum
period selector
anchored LHC12[a-h] pass 1
anchored LHC11a pass 4 - JJ
anchored LHC16l pass 1 - general purpose Pythia8
anchored LHC16qt pass 1 - general purpose EPOSLHC, CENT woSDD
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
Int_t IsParticleFromBGEvent(Int_t index, AliStack *MCStack, AliVEvent *InputEvent=0x0)
Cut functions.
anchored LHC10e pass 2
TH1F * fHistoPastFutureBits
bookkeeping for event selection cuts
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
anchored LHC16f pass 1 - Pythia8+JJ Nominal field
Int_t GetMultiplicityMethod()
AliAnalysisUtils * fUtils
TString fNameHistoReweightingMultMC
Histogram name for reweighting Eta.
anchored LHC16f pass 1 - general purpose Pythia8 Nominal/LowB field
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
Float_t GetWeightForCentralityFlattening(AliVEvent *InputEvent=0x0)
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 LHC16l pass 1 - general purpose EPOSLHC
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.
TF1 * fFitDataEta
fit to eta spectrum in Data
Int_t SecondaryClassificationPhotonAOD(AliAODMCParticle *particle, TClonesArray *aodmcArray, Bool_t isConversion)
TString GetSpecialTriggerName()
Bool_t EventIsSelected(AliVEvent *fInputEvent, AliVEvent *fMCEvent)
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
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.
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 LHC16qt pass 1 - general purpose DPMJET
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
TString * fGeneratorNames
anchored LHC16qt pass 1 - general purpose DPMJET, CENT woSDD
anchored LHC10h pass 2
Bool_t GetDoPileUpRejectV0MTPCout()
anchored LHC13g pass 1
anchored LHC13g pass 1
Bool_t SetRemovePileUp(Int_t removePileUp)
Bool_t GetUseNewMultiplicityFramework()
pp 2.76TeV (part 7TeV)
Bool_t VertexZCut(AliVEvent *fInputEvent)
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.
anchored LHC16qt pass 1 - general purpose DPMJET, CENT