![]() |
AliPhysics
eff0747 (eff0747)
|
Container for particles within the EMCAL framework. More...
#include <AliParticleContainer.h>
Public Member Functions | |
AliParticleContainer () | |
AliParticleContainer (const char *name) | |
virtual | ~AliParticleContainer () |
virtual Bool_t | ApplyParticleCuts (const AliVParticle *vp) |
virtual Bool_t | ApplyKinematicCuts (const AliTLorentzVector &mom) |
virtual Bool_t | AcceptObject (Int_t i) |
virtual Bool_t | AcceptObject (const TObject *obj) |
virtual Bool_t | AcceptParticle (const AliVParticle *vp) |
virtual Bool_t | AcceptParticle (Int_t i) |
Double_t | GetParticlePtCut () const |
Double_t | GetParticleEtaMin () const |
Double_t | GetParticleEtaMax () const |
Double_t | GetParticlePhiMin () const |
Double_t | GetParticlePhiMax () const |
void | SetParticlePtCut (Double_t cut) |
void | SetParticleEtaLimits (Double_t min, Double_t max) |
void | SetParticlePhiLimits (Double_t min, Double_t max) |
virtual AliVParticle * | GetLeadingParticle (const char *opt="") |
virtual AliVParticle * | GetParticle (Int_t i=-1) const |
virtual AliVParticle * | GetAcceptParticle (Int_t i=-1) |
virtual AliVParticle * | GetNextAcceptParticle () |
virtual AliVParticle * | GetNextParticle () |
virtual Bool_t | GetMomentum (TLorentzVector &mom, const AliVParticle *part, Double_t mass) |
virtual Bool_t | GetMomentum (TLorentzVector &mom, const AliVParticle *part) |
virtual Bool_t | GetMomentum (TLorentzVector &mom, Int_t i) |
virtual Bool_t | GetAcceptMomentum (TLorentzVector &mom, Int_t i) |
virtual Bool_t | GetNextMomentum (TLorentzVector &mom) |
virtual Bool_t | GetNextAcceptMomentum (TLorentzVector &mom) |
Int_t | GetNParticles () const |
Int_t | GetNAcceptedParticles () |
void | SetClassName (const char *clname) |
void | SetMinDistanceTPCSectorEdge (Double_t min) |
void | SetCharge (Short_t c) |
void | SelectHIJING (Bool_t s) |
void | SetGeneratorIndex (Short_t i) |
const char * | GetTitle () const |
![]() | |
AliEmcalContainer () | |
AliEmcalContainer (const char *name) | |
virtual | ~AliEmcalContainer () |
TClonesArray * | GetArray () const |
const TString & | GetArrayName () const |
const TString & | GetClassName () const |
Double_t | GetMinE () const |
Double_t | GetMaxE () const |
Double_t | GetMinPt () const |
Double_t | GetMaxPt () const |
Double_t | GetMinEta () const |
Double_t | GetMaxEta () const |
Double_t | GetMinPhi () const |
Double_t | GetMaxPhi () const |
Int_t | GetCurrentID () const |
Bool_t | GetIsParticleLevel () const |
Int_t | GetIndexFromLabel (Int_t lab) const |
Int_t | GetNEntries () const |
void | ResetCurrentID (Int_t i=-1) |
virtual void | SetArray (AliVEvent *event) |
void | SetArrayName (const char *n) |
void | SetBitMap (UInt_t m) |
void | SetIsParticleLevel (Bool_t b) |
void | SortArray () |
UInt_t | GetRejectionReason () const |
UInt_t | TestRejectionReason (UInt_t rs) const |
UShort_t | GetRejectionReasonBitPosition () const |
TClass * | GetLoadedClass () |
virtual void | NextEvent () |
void | SetMinMCLabel (Int_t s) |
void | SetMaxMCLabel (Int_t s) |
void | SetMCLabelRange (Int_t min, Int_t max) |
void | SetELimits (Double_t min, Double_t max) |
void | SetMinE (Double_t min) |
void | SetMaxE (Double_t max) |
void | SetPtLimits (Double_t min, Double_t max) |
void | SetMinPt (Double_t min) |
void | SetMaxPt (Double_t max) |
void | SetEtaLimits (Double_t min, Double_t max) |
void | SetPhiLimits (Double_t min, Double_t max) |
void | SetMassHypothesis (Double_t m) |
const char * | GetName () const |
void | SetName (const char *n) |
Protected Attributes | |
Double_t | fMinDistanceTPCSectorEdge |
Short_t | fCharge |
require minimum distance to edge of TPC sector edge More... | |
Short_t | fGeneratorIndex |
select particles with charge=fCharge More... | |
![]() | |
TString | fName |
TString | fClArrayName |
object name More... | |
TString | fClassName |
name of branch More... | |
Bool_t | fIsParticleLevel |
name of the class in the TClonesArray More... | |
UInt_t | fBitMap |
whether or not it is a particle level object collection More... | |
Double_t | fMinPt |
bitmap mask More... | |
Double_t | fMaxPt |
cut on particle pt More... | |
Double_t | fMaxE |
cut on particle pt More... | |
Double_t | fMinE |
cut on particle energy More... | |
Double_t | fMinEta |
cut on particle energy More... | |
Double_t | fMaxEta |
cut on particle eta More... | |
Double_t | fMinPhi |
cut on particle eta More... | |
Double_t | fMaxPhi |
cut on particle phi More... | |
Int_t | fMinMCLabel |
cut on particle phi More... | |
Int_t | fMaxMCLabel |
minimum MC label More... | |
Double_t | fMassHypothesis |
maximum MC label More... | |
TClonesArray * | fClArray |
if < 0 it will use a PID mass when available More... | |
Int_t | fCurrentID |
!current ID for automatic loops More... | |
AliNamedArrayI * | fLabelMap |
!Label-Index map More... | |
Double_t | fVertex [3] |
!event vertex array More... | |
UInt_t | fRejectionReason |
!reject reason bit map for the last call to an accept object function More... | |
TClass * | fLoadedClass |
!Class of teh objects contained in the TClonesArray More... | |
Private Member Functions | |
AliParticleContainer (const AliParticleContainer &obj) | |
select MC particles with generator index (default = -1 = switch off selection) More... | |
AliParticleContainer & | operator= (const AliParticleContainer &other) |
Additional Inherited Members | |
![]() | |
enum | RejectionReason { kNullObject = 1<<0, kPtCut = 1<<1, kAcceptanceCut = 1<<2, kMCLabelCut = 1<<3, kBitMapCut = 1<<4, kHFCut = 1<<5, kNotHybridTrack = 1<<7, kMCFlag = 1<<8, kMCGeneratorCut = 1<<9, kChargeCut = 1<<10, kMinDistanceTPCSectorEdgeCut = 1<<11, kIsEMCalCut = 1<<13, kTimeCut = 1<<14, kEnergyCut = 1<<15, kExoticCut = 1<<16, kAreaCut = 1<<18, kAreaEmcCut = 1<<19, kZLeadingChCut = 1<<20, kZLeadingEmcCut = 1<<21, kNEFCut = 1<<22, kMinLeadPtCut = 1<<23, kMaxTrackPtCut = 1<<24, kMaxClusterPtCut = 1<<25, kFlavourCut = 1<<26, kTagStatus = 1<<27, kMinNConstituents = 1<<28 } |
Bit definition for the reason a particle was rejected. More... | |
![]() | |
static Bool_t | SamePart (const AliVParticle *part1, const AliVParticle *part2, Double_t dist=1.e-4) |
Container for particles within the EMCAL framework.
Definition at line 16 of file AliParticleContainer.h.
AliParticleContainer::AliParticleContainer | ( | ) |
Definition at line 19 of file AliParticleContainer.cxx.
AliParticleContainer::AliParticleContainer | ( | const char * | name | ) |
Definition at line 31 of file AliParticleContainer.cxx.
|
inlinevirtual |
Definition at line 21 of file AliParticleContainer.h.
|
private |
select MC particles with generator index (default = -1 = switch off selection)
|
inlinevirtual |
Implements AliEmcalContainer.
Reimplemented in AliTrackContainer.
Definition at line 25 of file AliParticleContainer.h.
|
inlinevirtual |
Implements AliEmcalContainer.
Reimplemented in AliTrackContainer.
Definition at line 26 of file AliParticleContainer.h.
|
virtual |
Reimplemented in AliTrackContainer.
Definition at line 229 of file AliParticleContainer.cxx.
Referenced by AcceptObject(), AliAnalysisTaskEmcal::AcceptTrack(), AliHadCorrTask::ApplyHadCorrAllTracks(), AliHadCorrTask::ApplyHadCorrOneTrack(), AliHadCorrTask::DoMatchedTracksLoop(), and GetAcceptParticle().
|
virtual |
Reimplemented in AliTrackContainer.
Definition at line 249 of file AliParticleContainer.cxx.
|
virtual |
Reimplemented from AliEmcalContainer.
Definition at line 304 of file AliParticleContainer.cxx.
Referenced by AcceptParticle(), and AliTrackContainer::AcceptTrack().
|
virtual |
Definition at line 262 of file AliParticleContainer.cxx.
Referenced by AcceptParticle(), and AliTrackContainer::ApplyTrackCuts().
|
virtual |
Implements AliEmcalContainer.
Reimplemented in AliTrackContainer.
Definition at line 190 of file AliParticleContainer.cxx.
|
virtual |
Reimplemented in AliTrackContainer.
Definition at line 84 of file AliParticleContainer.cxx.
Referenced by AliHadCorrTask::ApplyHadCorrAllTracks(), AliHadCorrTask::ApplyHadCorrOneTrack(), AliHadCorrTask::DoMatchedTracksLoop(), GetAcceptMomentum(), AliAnalysisTaskEmcal::GetAcceptParticleFromArray(), and GetNextAcceptParticle().
|
virtual |
Definition at line 43 of file AliParticleContainer.cxx.
Referenced by AliTrackContainer::GetLeadingTrack().
|
virtual |
Definition at line 131 of file AliParticleContainer.cxx.
Referenced by AcceptParticle(), and GetMomentum().
|
virtual |
Definition at line 145 of file AliParticleContainer.cxx.
|
virtual |
Implements AliEmcalContainer.
Reimplemented in AliTrackContainer.
Definition at line 151 of file AliParticleContainer.cxx.
Int_t AliParticleContainer::GetNAcceptedParticles | ( | ) |
Definition at line 320 of file AliParticleContainer.cxx.
Referenced by AliTrackContainer::GetNAcceptedTracks().
|
virtual |
Implements AliEmcalContainer.
Reimplemented in AliTrackContainer.
Definition at line 210 of file AliParticleContainer.cxx.
|
virtual |
Reimplemented in AliTrackContainer.
Definition at line 99 of file AliParticleContainer.cxx.
Referenced by AliAnalysisTaskEmcalSample::CheckClusTrackMatching(), AliAnalysisTaskEmcalSample::FillHistograms(), AliAnalysisTaskEmcalTriggerPatchClusterMatch::FillHistograms(), AliEmcalClusTrackMatcherTask::GenerateEmcalParticles(), GetLeadingParticle(), GetNAcceptedParticles(), GetNextAcceptMomentum(), AliAnalysisTaskParticleInJet::GetSelectedParticles(), and AliEmcalTrackPropagatorTask::Run().
|
virtual |
Implements AliEmcalContainer.
Reimplemented in AliTrackContainer.
Definition at line 171 of file AliParticleContainer.cxx.
|
virtual |
Reimplemented in AliTrackContainer.
Definition at line 115 of file AliParticleContainer.cxx.
Referenced by GetNextMomentum().
|
inline |
Definition at line 48 of file AliParticleContainer.h.
Referenced by AliTrackContainer::GetNTracks().
|
virtual |
Reimplemented in AliTrackContainer.
Definition at line 73 of file AliParticleContainer.cxx.
Referenced by AcceptParticle(), AliAnalysisTaskEmcalSample::CheckClusTrackMatching(), GetAcceptParticle(), GetMomentum(), and GetNextParticle().
|
inline |
Definition at line 31 of file AliParticleContainer.h.
|
inline |
Definition at line 30 of file AliParticleContainer.h.
|
inline |
Definition at line 33 of file AliParticleContainer.h.
|
inline |
Definition at line 32 of file AliParticleContainer.h.
|
inline |
Definition at line 29 of file AliParticleContainer.h.
const char * AliParticleContainer::GetTitle | ( | ) | const |
Definition at line 349 of file AliParticleContainer.cxx.
|
private |
|
inline |
Definition at line 54 of file AliParticleContainer.h.
|
inline |
Definition at line 53 of file AliParticleContainer.h.
void AliParticleContainer::SetClassName | ( | const char * | clname | ) |
Definition at line 339 of file AliParticleContainer.cxx.
Referenced by AliEmcalTrackPropagatorTask::ExecOnce(), AliEmcalClusTrackMatcherTask::ExecOnce(), AliHadCorrTask::ExecOnce(), and AliAnalysisTaskEmcalSample::UserCreateOutputObjects().
|
inline |
Definition at line 55 of file AliParticleContainer.h.
|
inline |
Definition at line 52 of file AliParticleContainer.h.
|
inline |
Definition at line 35 of file AliParticleContainer.h.
Referenced by AliAnalysisTaskEmcal::SetTrackEtaLimits().
|
inline |
Definition at line 36 of file AliParticleContainer.h.
Referenced by AliAnalysisTaskEmcal::SetTrackPhiLimits().
|
inline |
Definition at line 34 of file AliParticleContainer.h.
Referenced by AliAnalysisTaskEmcal::SetTrackPtCut().
|
protected |
require minimum distance to edge of TPC sector edge
Definition at line 62 of file AliParticleContainer.h.
Referenced by ApplyParticleCuts(), and SetCharge().
|
protected |
select particles with charge=fCharge
Definition at line 63 of file AliParticleContainer.h.
Referenced by ApplyParticleCuts(), SelectHIJING(), and SetGeneratorIndex().
|
protected |
Definition at line 61 of file AliParticleContainer.h.
Referenced by ApplyKinematicCuts(), and SetMinDistanceTPCSectorEdge().