AliPhysics  bba8f44 (bba8f44)
EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent Class Reference

Analysis component for tracks in reconstructed jets. More...

#include <AliEMCalTriggerRecJetAnalysisComponent.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent:

Public Member Functions

 AliEMCalTriggerRecJetAnalysisComponent ()
 
 AliEMCalTriggerRecJetAnalysisComponent (const char *name)
 
virtual ~AliEMCalTriggerRecJetAnalysisComponent ()
 
virtual void CreateHistos ()
 
virtual void Process (const AliEMCalTriggerEventData *const data)
 
void SetMinimumJetPt (Double_t minpt)
 
void SetSingleTrackCuts (AliEmcalTrackSelection *trackcuts)
 
void SetSwapEta (Bool_t doSwap=kTRUE)
 
- Public Member Functions inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
 AliEMCalTriggerTracksAnalysisComponent ()
 
 AliEMCalTriggerTracksAnalysisComponent (const char *name)
 
virtual ~AliEMCalTriggerTracksAnalysisComponent ()
 
THashList * GetHistList () const
 
const AliEMCalTriggerWeightHandlerGetWeightHandler () const
 
void SetBinning (const AliEMCalTriggerBinningComponent *const binning)
 
void SetKineCuts (const AliEMCalTriggerKineCuts *const cuts)
 
void SetTriggerClassManager (const AliEMCalTriggerAnaClassManager *classmgr)
 
void SetWeightHandler (const AliEMCalTriggerWeightHandler *handler)
 
void SetComponentDebugLevel (int debuglevel)
 

Protected Member Functions

const AliVParticle * IsMCTrueTrack (const AliVTrack *const trk, const AliMCEvent *evnt) const
 
void FillHistogram (const TString &histname, const AliVParticle *track, const AliEmcalJet *jet, double vz, double weight)
 
void FillJetHistogram (const TString &histname, const AliEmcalJet *recjet, double vz, double weight)
 
void FillTrackHistogramCentrality (const TString &histname, const AliVTrack *const trk, const AliEmcalJet *jet, double centpercent, double weight)
 
- Protected Member Functions inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
TAxisDefineAxis (const char *name, const TBinning &binning)
 
void GetMachingTriggerNames (std::vector< std::string > &triggernames) const
 
void GetAllTriggerNamesAndTitles (std::map< std::string, std::string > &triggers) const
 
void PrintTriggerNames (const std::vector< std::string > &, const std::string &componentName) const
 

Protected Attributes

AliEmcalTrackSelectionfTrackSelection
 Track selection cuts used in the analysis. More...
 
Double_t fMinimumJetPt
 Minimum jet \( p_{t} \). More...
 
Bool_t fRequestMCtrue
 Request MC true track. More...
 
Bool_t fSwapEta
 Swap eta sign on request. More...
 
- Protected Attributes inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
THistManagerfHistos
 Histogram container of the analysis component. More...
 
const AliEMCalTriggerAnaClassManagerfTriggerClassManager
 Global trigger class manager. More...
 
const AliEMCalTriggerBinningComponentfBinning
 Global binning handler. More...
 
const AliEMCalTriggerKineCuts * fKineCuts
 Kinematical cuts for tracks and particle selection. More...
 
const AliEMCalTriggerWeightHandlerfWeightHandler
 Event weight handler. More...
 
Int_t fComponentDebugLevel
 Debug level for the given analysis component. More...
 

Detailed Description

Analysis component for tracks in reconstructed jets.

Analysis component for tracks in reconstructed jets: Connects reconstructed particles to jets, and fills track based histograms for tracks in jet with a minimum jet \( p_{t} \).

Definition at line 37 of file AliEMCalTriggerRecJetAnalysisComponent.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::AliEMCalTriggerRecJetAnalysisComponent ( )

Dummy (I/O) constructor, not to be used

Definition at line 52 of file AliEMCalTriggerRecJetAnalysisComponent.cxx.

EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::AliEMCalTriggerRecJetAnalysisComponent ( const char *  name)

Main constructor for the users. Initializes all fields with default values.

Parameters
nameName of the analysis component

Definition at line 65 of file AliEMCalTriggerRecJetAnalysisComponent.cxx.

EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::~AliEMCalTriggerRecJetAnalysisComponent ( )
virtual

Destructor, deletes elements the component has ownership over.

Definition at line 77 of file AliEMCalTriggerRecJetAnalysisComponent.cxx.

Member Function Documentation

void EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::CreateHistos ( )
virtual

Create histrogram for the jet pt analysis

Reimplemented from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.

Definition at line 84 of file AliEMCalTriggerRecJetAnalysisComponent.cxx.

void EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::FillHistogram ( const TString histname,
const AliVParticle *  track,
const AliEmcalJet jet,
double  vz,
double  weight 
)
protected

Fill histogram for tracks with relevant information

Parameters
histnameName of the histogram to be fille
trackReconstructed selected particle
jetJet in which the particle was found
vzz-position of the primary vertex
weightEvent weight

Definition at line 222 of file AliEMCalTriggerRecJetAnalysisComponent.cxx.

Referenced by Process(), and SetSwapEta().

void EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::FillJetHistogram ( const TString histname,
const AliEmcalJet recjet,
double  vz,
double  weight 
)
protected

Fill histogram for reconstructed jets with the relevant information

Parameters
histnameName of the histogram to be filled
recjetReconstructed jet
vzz-position of the primary vertex
weightEvent weight

Definition at line 238 of file AliEMCalTriggerRecJetAnalysisComponent.cxx.

Referenced by Process(), and SetSwapEta().

void EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::FillTrackHistogramCentrality ( const TString histname,
const AliVTrack *const  trk,
const AliEmcalJet jet,
double  centpercent,
double  weight 
)
protected

Fill Histogram for tracks with:

  • Track pt
  • Jet pt
  • Track eta
  • distance to the main jet axis
  • centrality percentile
    Parameters
    histnameName of the histogram to be filled
    trkReconstructed and selected tracl
    jetReconstricted jet
    centpercentCentrality percentile
    weightEvent weight

Definition at line 257 of file AliEMCalTriggerRecJetAnalysisComponent.cxx.

Referenced by Process(), and SetSwapEta().

const AliVParticle * EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::IsMCTrueTrack ( const AliVTrack *const  trk,
const AliMCEvent *  evnt 
) const
protected

Check according to the associated MC information whether the track is a MC true track, and whether it is physical primary

Parameters
trktrack to check
evntMC event information necessary for the check
Returns
the associated MC particle (NULL if not MC true)

Definition at line 200 of file AliEMCalTriggerRecJetAnalysisComponent.cxx.

Referenced by Process(), and SetSwapEta().

void EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::Process ( const AliEMCalTriggerEventData *const  data)
virtual

Run the event loop

  1. Select reconstructed jets
  2. Fill jet based histogram
  3. Associated particles to the jet and make a track selection
  4. Fill track based histogram with reconstructed information
  5. If we have Monte-Carlo information an the track has an associated true particle, fill track based histogram with true information.
    Parameters
    dataAll data for the given event

Implements EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.

Definition at line 145 of file AliEMCalTriggerRecJetAnalysisComponent.cxx.

void EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::SetMinimumJetPt ( Double_t  minpt)
inline

Set the minimum \( p_{t} \) allowed to select reconstructed jets.

Parameters
minptThe minimum jet \( p_{t} \)

Definition at line 50 of file AliEMCalTriggerRecJetAnalysisComponent.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::SetSingleTrackCuts ( AliEmcalTrackSelection trackcuts)
inline

Set quality cuts used to select reconstructed tracks.

Parameters
trackcutsTrack selection cuts used in this analysis component.

Definition at line 56 of file AliEMCalTriggerRecJetAnalysisComponent.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::SetSwapEta ( Bool_t  doSwap = kTRUE)
inline

Defines whether we swap the sign of \( eta\).

Parameters
doSwapIf true we swap the sign of \( eta\)

Definition at line 62 of file AliEMCalTriggerRecJetAnalysisComponent.h.

Member Data Documentation

Double_t EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::fMinimumJetPt
protected

Minimum jet \( p_{t} \).

Definition at line 70 of file AliEMCalTriggerRecJetAnalysisComponent.h.

Referenced by CreateHistos(), Process(), and SetMinimumJetPt().

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::fRequestMCtrue
protected

Request MC true track.

Definition at line 71 of file AliEMCalTriggerRecJetAnalysisComponent.h.

Referenced by Process().

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::fSwapEta
protected

Swap eta sign on request.

Definition at line 72 of file AliEMCalTriggerRecJetAnalysisComponent.h.

Referenced by FillHistogram(), FillJetHistogram(), FillTrackHistogramCentrality(), and SetSwapEta().

AliEmcalTrackSelection* EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::fTrackSelection
protected

Track selection cuts used in the analysis.

Definition at line 69 of file AliEMCalTriggerRecJetAnalysisComponent.h.

Referenced by Process(), SetSingleTrackCuts(), and ~AliEMCalTriggerRecJetAnalysisComponent().


The documentation for this class was generated from the following files: