![]() |
AliPhysics
a4b41ad (a4b41ad)
|
Gerenate a random trigger. More...
#include <AliAnaRandomTrigger.h>
Public Member Functions | |
AliAnaRandomTrigger () | |
Default Constructor. Initialize parameters. More... | |
virtual | ~AliAnaRandomTrigger () |
Bool_t | ExcludeDeadBadRegions (Float_t eta, Float_t phi) |
TObjString * | GetAnalysisCuts () |
Save parameters used for analysis. More... | |
TList * | GetCreateOutputObjects () |
void | InitParameters () |
Initialize the parameters of the analysis. More... | |
void | MakeAnalysisFillAOD () |
void | MakeAnalysisFillHistograms () |
void | Print (const Option_t *opt) const |
Print some relevant parameters set for the analysis. More... | |
void | SetEtaCut (Float_t min, Float_t max) |
void | SetPhiCut (Float_t min, Float_t max) |
void | SetNumberOfRandomParticles (Int_t n) |
void | SetTriggerDetector (TString &det) |
Set the detrimeter for the analysis. More... | |
void | SetTriggerDetector (Int_t det) |
![]() | |
AliAnaCaloTrackCorrBaseClass () | |
virtual | ~AliAnaCaloTrackCorrBaseClass () |
Destructor. More... | |
virtual void | Init () |
virtual void | InitDebug () |
virtual void | FillEventMixPool () |
virtual void | Terminate (TList *) |
virtual void | AddToHistogramsName (TString add) |
virtual TString | GetAddedHistogramsStringToName () const |
virtual TString | GetBaseParametersList () |
virtual Int_t | GetDebug () const |
virtual void | SetDebug (Int_t d) |
virtual Int_t | GetEventNumber () const |
virtual Int_t | GetTrackMultiplicity () const |
virtual AliCentrality * | GetCentrality () const |
virtual AliMultSelection * | GetMultSelCen () const |
virtual Int_t | GetEventCentrality () const |
virtual AliEventplane * | GetEventPlane () const |
virtual Double_t | GetEventPlaneAngle () const |
virtual TString | GetEventPlaneMethod () const |
virtual void | AddAODParticle (AliAODPWG4Particle part) |
virtual void | ConnectInputOutputAODBranches () |
virtual TClonesArray * | GetCreateOutputAODBranch () |
Create AOD branch filled in the analysis. More... | |
virtual TString | GetInputAODName () const |
virtual void | SetInputAODName (TString name) |
virtual TString | GetOutputAODName () const |
virtual void | SetOutputAODName (TString name) |
virtual Bool_t | NewOutputAOD () const |
virtual TString | GetOutputAODClassName () const |
virtual void | SetOutputAODClassName (TString name) |
virtual TString | GetAODObjArrayName () const |
virtual void | SetAODObjArrayName (TString name) |
virtual TClonesArray * | GetInputAODBranch () const |
virtual TClonesArray * | GetOutputAODBranch () const |
virtual TClonesArray * | GetAODBranch (const TString &aodBranchName) const |
Recover ouput and input AOD pointers for each event in AliCaloTrackMaker. More... | |
virtual TClonesArray * | GetAODCaloClusters () const |
virtual TClonesArray * | GetAODTracks () const |
virtual AliVCaloCells * | GetPHOSCells () const |
virtual AliVCaloCells * | GetEMCALCells () const |
virtual TObjArray * | GetCTSTracks () const |
virtual TObjArray * | GetEMCALClusters () const |
virtual TObjArray * | GetPHOSClusters () const |
virtual TClonesArray * | GetNonStandardJets () const |
virtual AliAODJetEventBackground * | GetBackgroundJets () const |
virtual Int_t | GetCalorimeter () const |
virtual TString | GetCalorimeterString () const |
virtual void | SetCalorimeter (TString &calo) |
Set the calorimeter for the analysis. A string. More... | |
virtual void | SetCalorimeter (Int_t calo) |
Set the calorimeter for the analysis. An integer. More... | |
virtual Bool_t | IsDataMC () const |
virtual void | SwitchOnDataMC () |
virtual void | SwitchOffDataMC () |
virtual Bool_t | IsFiducialCutOn () const |
virtual void | SwitchOnFiducialCut () |
virtual void | SwitchOffFiducialCut () |
virtual Bool_t | IsRealCaloAcceptanceOn () const |
virtual void | SwitchOnRealCaloAcceptance () |
virtual void | SwitchOffRealCaloAcceptance () |
virtual Bool_t | IsCaloPIDOn () const |
virtual void | SwitchOnCaloPID () |
virtual void | SwitchOffCaloPID () |
virtual Bool_t | MakePlotsOn () const |
virtual void | SwitchOnPlotsMaking () |
virtual void | SwitchOffPlotsMaking () |
virtual Bool_t | IsPileUpAnalysisOn () const |
virtual void | SwitchOnFillPileUpHistograms () |
virtual void | SwitchOffFillPileUpHistograms () |
virtual Bool_t | IsHighMultiplicityAnalysisOn () const |
virtual void | SwitchOnFillHighMultiplicityHistograms () |
virtual void | SwitchOffFillHighMultiplicityHistograms () |
virtual Float_t | GetMaxPt () const |
virtual Float_t | GetMinPt () const |
virtual void | SetMaxPt (Float_t pt) |
virtual void | SetMinPt (Float_t pt) |
virtual void | SetPtCutRange (Double_t mi, Double_t ma) |
virtual Float_t | GetMaxEnergy () const |
virtual Float_t | GetMinEnergy () const |
virtual void | SetMaxEnergy (Float_t e) |
virtual void | SetMinEnergy (Float_t e) |
virtual void | SetEnergyCutRange (Double_t mi, Double_t ma) |
virtual void | SetPairTimeCut (Float_t t) |
virtual Float_t | GetPairTimeCut () const |
Time cut in ns. More... | |
Int_t | GetFirstSMCoveredByTRD () const |
Time cut in ns. More... | |
void | SetFirstSMCoveredByTRD (Int_t n) |
virtual Int_t | GetNZvertBin () const |
virtual Int_t | GetNRPBin () const |
Number of bins in vertex. More... | |
virtual Int_t | GetNCentrBin () const |
Number of bins in reaction plain. More... | |
virtual Int_t | GetNTrackMultBin () const |
Number of bins in centrality. More... | |
virtual Int_t | GetNMaxEvMix () const |
Number of bins in track multiplicity. More... | |
virtual Float_t | GetZvertexCut () const |
Maximal number of events for mixin. More... | |
virtual Int_t | GetTrackMultiplicityBin () const |
Cut on vertex position. More... | |
virtual Int_t | GetEventCentralityBin () const |
virtual Int_t | GetEventRPBin () const |
virtual Int_t | GetEventVzBin () const |
virtual Int_t | GetEventMixBin () const |
virtual Int_t | GetEventMixBin (Int_t iCen, Int_t iVz, Int_t iRP) const |
virtual Double_t | GetEventWeight () const |
virtual Double_t | GetParticlePtWeight (Float_t pt, Int_t pdg, TString genName, Int_t igen) const |
virtual void | SetNZvertBin (Int_t n=1) |
virtual void | SetNRPBin (Int_t n=1) |
Number of bins for vertex position. More... | |
virtual void | SetNCentrBin (Int_t n=1) |
Number of bins in reaction plain. More... | |
virtual void | SetNTrackMultBin (Int_t n=1) |
Number of bins in centrality. More... | |
virtual void | SetNMaxEvMix (Int_t n=20) |
Number of bins in track multiplicity. More... | |
virtual void | SetTrackMultiplicityBin (Int_t bin, Int_t mult) |
Maximal number of events for mixing. More... | |
virtual void | SwitchOnTrackMultBins () |
virtual void | SwitchOffTrackMultBins () |
virtual void | SwitchOnOwnMix () |
virtual void | SwitchOffOwnMix () |
virtual Bool_t | DoOwnMix () const |
virtual Bool_t | UseTrackMultBins () const |
virtual Int_t | CheckMixedEventVertex (Int_t caloLabel, Int_t trackLabel) |
virtual AliMixedEvent * | GetMixedEvent () const |
virtual Int_t | GetNMixedEvent () const |
virtual void | GetVertex (Double_t vertex[3]) const |
virtual Double_t * | GetVertex (Int_t evtIndex) const |
virtual void | GetVertex (Double_t vertex[3], Int_t evtIndex) const |
virtual Int_t | GetV0Signal (Int_t i) const |
virtual Int_t | GetV0Multiplicity (Int_t i) const |
Float_t | GetPhi (Float_t phi) const |
Shift phi angle in case of negative value 360 degrees. Example TLorenzVector::Phi defined in -pi to pi. More... | |
Float_t | DegToRad (Float_t deg) const |
Float_t | RadToDeg (Float_t rad) const |
virtual Bool_t | IsTrackMatched (AliVCluster *cluster, AliVEvent *event) |
virtual Int_t | GetModuleNumberCellIndexes (Int_t absId, Int_t calo, Int_t &icol, Int_t &irow, Int_t &iRCU) const |
virtual Int_t | GetModuleNumberCellIndexesAbsCaloMap (Int_t absId, Int_t calo, Int_t &icol, Int_t &irow, Int_t &iRCU, Int_t &icolAbs, Int_t &irowAbs) const |
virtual Int_t | GetModuleNumber (AliAODPWG4Particle *part) const |
virtual Int_t | GetModuleNumber (AliVCluster *cluster) const |
virtual AliVCluster * | FindCluster (TObjArray *clusters, Int_t clId, Int_t &iclus, Int_t first=0) |
virtual AliStack * | GetMCStack () const |
virtual AliHeader * | GetMCHeader () const |
virtual AliGenEventHeader * | GetMCGenEventHeader () const |
virtual AliCaloPID * | GetCaloPID () |
virtual AliCalorimeterUtils * | GetCaloUtils () const |
virtual AliFiducialCut * | GetFiducialCut () |
virtual AliHistogramRanges * | GetHistogramRanges () |
virtual AliIsolationCut * | GetIsolationCut () |
virtual AliMCAnalysisUtils * | GetMCAnalysisUtils () |
virtual AliNeutralMesonSelection * | GetNeutralMesonSelection () |
virtual AliCaloTrackReader * | GetReader () const |
virtual AliEMCALGeometry * | GetEMCALGeometry () const |
virtual AliPHOSGeoUtils * | GetPHOSGeometry () const |
virtual void | SetCaloPID (AliCaloPID *pid) |
virtual void | SetCaloUtils (AliCalorimeterUtils *caloutils) |
virtual void | SetFiducialCut (AliFiducialCut *fc) |
virtual void | SetHistogramRanges (AliHistogramRanges *hr) |
virtual void | SetIsolationCut (AliIsolationCut *ic) |
virtual void | SetMCAnalysisUtils (AliMCAnalysisUtils *mcutils) |
virtual void | SetNeutralMesonSelection (AliNeutralMesonSelection *const nms) |
virtual void | SetReader (AliCaloTrackReader *reader) |
void | SwitchOnStudyClusterOverlapsPerGenerator () |
void | SwitchOffStudyClusterOverlapsPerGenerator () |
Bool_t | IsStudyClusterOverlapsPerGeneratorOn () const |
void | SetNCocktailGenNamesToCheck (Int_t nb) |
Int_t | GetNCocktailGenNamesToCheck () const |
void | SetCocktailGenNameToCheck (Int_t i, TString v) |
TString | GetCocktailGenNameToCheck (Int_t i) const |
void | SetCocktailGenIndexToCheck (Int_t i, Int_t v) |
Int_t | GetCocktailGenIndexToCheck (Int_t i) const |
Int_t | GetCocktailGeneratorBackgroundTag (AliVCluster *clus, Int_t mctag, TString &genName, Int_t &index, TString &genNameBkg, Int_t &indexBkg) |
Private Member Functions | |
AliAnaRandomTrigger (const AliAnaRandomTrigger &r) | |
Copy constructor not implemented. More... | |
AliAnaRandomTrigger & | operator= (const AliAnaRandomTrigger &r) |
Assignment operator not implemented. More... | |
Private Attributes | |
Int_t | fTriggerDetector |
Detector : EMCAL, PHOS, CTS. More... | |
TString | fTriggerDetectorString |
Detector : EMCAL, PHOS, CTS. More... | |
Float_t | fEtaCut [2] |
Eta acceptance. More... | |
Float_t | fPhiCut [2] |
Phi acceptance, radians. More... | |
TRandom3 | fRandom |
Random generator. More... | |
Int_t | fNRandom |
Number of random particles per event. More... | |
TLorentzVector | fMomentum |
! Avoid generating TLorentzVectors per event. More... | |
TH1F * | fhE |
! E distribution More... | |
TH1F * | fhPt |
! pT distribution More... | |
TH2F * | fhPhi |
! phi distribution vs pT, negative More... | |
TH2F * | fhEta |
! eta distribution vs pT, negative More... | |
TH2F * | fhEtaPhi |
! eta vs phi distribution of positive charge More... | |
Additional Inherited Members | |
![]() | |
enum | detector { kEMCAL = AliFiducialCut::kEMCAL, kPHOS = AliFiducialCut::kPHOS, kCTS = AliFiducialCut::kCTS, kDCAL = AliFiducialCut::kDCAL, kDCALPHOS = AliFiducialCut::kDCALPHOS } |
Set the tag identifing the main detector used in the analysis. More... | |
Gerenate a random trigger.
Generate a random trigger, input for other analysis Set flat energy distribution over acceptance of EMCAL, PHOS or CTS Be careful, correlate only with Min Bias events this random trigger particle
More information can be found in this twiki and particularly in this section.
Definition at line 27 of file AliAnaRandomTrigger.h.
AliAnaRandomTrigger::AliAnaRandomTrigger | ( | ) |
Default Constructor. Initialize parameters.
Definition at line 32 of file AliAnaRandomTrigger.cxx.
|
inlinevirtual |
Definition at line 34 of file AliAnaRandomTrigger.h.
|
private |
Copy constructor not implemented.
Check if there is a dead or bad region in a detector. Only EMCAL for now.
Definition at line 49 of file AliAnaRandomTrigger.cxx.
Referenced by MakeAnalysisFillAOD().
|
virtual |
Save parameters used for analysis.
Reimplemented from AliAnaCaloTrackCorrBaseClass.
Definition at line 129 of file AliAnaRandomTrigger.cxx.
|
virtual |
Create histograms to be saved in output file and store them in fOutputContainer
Reimplemented from AliAnaCaloTrackCorrBaseClass.
Definition at line 155 of file AliAnaRandomTrigger.cxx.
|
virtual |
Initialize the parameters of the analysis.
Reimplemented from AliAnaCaloTrackCorrBaseClass.
Definition at line 195 of file AliAnaRandomTrigger.cxx.
Referenced by AliAnaRandomTrigger().
|
virtual |
Do analysis and fill aods. Generate particle randomly. fNRandom particles per event.
Reimplemented from AliAnaCaloTrackCorrBaseClass.
Definition at line 231 of file AliAnaRandomTrigger.cxx.
|
virtual |
Reimplemented from AliAnaCaloTrackCorrBaseClass.
Definition at line 272 of file AliAnaRandomTrigger.cxx.
|
private |
Assignment operator not implemented.
|
virtual |
Print some relevant parameters set for the analysis.
Reimplemented from AliAnaCaloTrackCorrBaseClass.
Definition at line 212 of file AliAnaRandomTrigger.cxx.
Referenced by ConfigureRandomTriggerAnalysis().
Definition at line 50 of file AliAnaRandomTrigger.h.
Referenced by ConfigureRandomTriggerAnalysis().
|
inline |
Definition at line 54 of file AliAnaRandomTrigger.h.
Definition at line 52 of file AliAnaRandomTrigger.h.
Referenced by ConfigureRandomTriggerAnalysis().
void AliAnaRandomTrigger::SetTriggerDetector | ( | TString & | det | ) |
Set the detrimeter for the analysis.
Definition at line 294 of file AliAnaRandomTrigger.cxx.
Referenced by ConfigureRandomTriggerAnalysis().
void AliAnaRandomTrigger::SetTriggerDetector | ( | Int_t | det | ) |
Definition at line 309 of file AliAnaRandomTrigger.cxx.
|
private |
Eta acceptance.
Definition at line 63 of file AliAnaRandomTrigger.h.
Referenced by GetAnalysisCuts(), InitParameters(), MakeAnalysisFillAOD(), Print(), and SetEtaCut().
|
private |
! E distribution
Definition at line 71 of file AliAnaRandomTrigger.h.
Referenced by GetCreateOutputObjects(), and MakeAnalysisFillHistograms().
|
private |
! eta distribution vs pT, negative
Definition at line 74 of file AliAnaRandomTrigger.h.
Referenced by GetCreateOutputObjects(), and MakeAnalysisFillHistograms().
|
private |
! eta vs phi distribution of positive charge
Definition at line 75 of file AliAnaRandomTrigger.h.
Referenced by GetCreateOutputObjects(), and MakeAnalysisFillHistograms().
|
private |
! phi distribution vs pT, negative
Definition at line 73 of file AliAnaRandomTrigger.h.
Referenced by GetCreateOutputObjects(), and MakeAnalysisFillHistograms().
|
private |
! pT distribution
Definition at line 72 of file AliAnaRandomTrigger.h.
Referenced by GetCreateOutputObjects(), and MakeAnalysisFillHistograms().
|
private |
! Avoid generating TLorentzVectors per event.
Definition at line 68 of file AliAnaRandomTrigger.h.
Referenced by MakeAnalysisFillAOD().
|
private |
Number of random particles per event.
Definition at line 66 of file AliAnaRandomTrigger.h.
Referenced by GetAnalysisCuts(), InitParameters(), MakeAnalysisFillAOD(), MakeAnalysisFillHistograms(), and SetNumberOfRandomParticles().
|
private |
Phi acceptance, radians.
Definition at line 64 of file AliAnaRandomTrigger.h.
Referenced by GetAnalysisCuts(), InitParameters(), MakeAnalysisFillAOD(), Print(), and SetPhiCut().
|
private |
Random generator.
Definition at line 65 of file AliAnaRandomTrigger.h.
Referenced by MakeAnalysisFillAOD().
|
private |
Detector : EMCAL, PHOS, CTS.
Definition at line 61 of file AliAnaRandomTrigger.h.
Referenced by ExcludeDeadBadRegions(), MakeAnalysisFillAOD(), and SetTriggerDetector().
|
private |
Detector : EMCAL, PHOS, CTS.
Definition at line 62 of file AliAnaRandomTrigger.h.
Referenced by GetAnalysisCuts(), Print(), and SetTriggerDetector().