![]() |
AliPhysics
15d9304 (15d9304)
|
Analysis component for reconstructed tracks. More...
#include <AliEMCalTriggerRecTrackAnalysisComponent.h>
Protected Member Functions | |
const AliVParticle * | IsMCTrueTrack (const AliVTrack *const trk, const AliMCEvent *evnt) const |
Check whether track is a true signal track. More... | |
void | FillHistogram (const TString &histname, const AliVTrack *const trk, const AliVParticle *assocMC, const AliVEvent *const recev, Bool_t useMCkine, Double_t weight) |
Fill main track-based histogram. More... | |
void | FillCorrelation (const AliVParticle *const genparticle, const AliVParticle *const recparticle, double weight=1.) |
void | MatchTriggerPatches (const AliVTrack *rectrack, const TClonesArray *inputpatches, TList &outputpatches) const |
Bool_t | HasMatchedPatchOfType (TString triggertype, const TList &patches) const |
![]() | |
TAxis * | DefineAxis (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 | |
AliEmcalTrackSelection * | fTrackSelection |
Track selection cuts used in the analysis. More... | |
Bool_t | fSwapEta |
Swap eta sign. More... | |
Bool_t | fRequestMCtrue |
Request MC true track. More... | |
Bool_t | fDoMatchPatches |
Request matching with trigger patches. More... | |
![]() | |
THistManager * | fHistos |
Histogram container of the analysis component. More... | |
const AliEMCalTriggerAnaClassManager * | fTriggerClassManager |
Global trigger class manager. More... | |
const AliEMCalTriggerBinningComponent * | fBinning |
Global binning handler. More... | |
const AliEMCalTriggerKineCuts * | fKineCuts |
Kinematical cuts for tracks and particle selection. More... | |
const AliEMCalTriggerWeightHandler * | fWeightHandler |
Event weight handler. More... | |
Int_t | fComponentDebugLevel |
Debug level for the given analysis component. More... | |
Analysis component for reconstructed tracks.
Track analysis component: Loops over tracks from the EMCal track container and counts the tracks in histograms. Separate histograms are filled for tracks which have an EMCAL cluster assigned, and the Monte-Carlo information in case the analysis is performed on Monte-Carlo events. In this case also the correlation matrix between reconstructed \( p_{t} \) and generated \( p_{t} \) is filled.
Definition at line 36 of file AliEMCalTriggerRecTrackAnalysisComponent.h.
EMCalTriggerPtAnalysis::AliEMCalTriggerRecTrackAnalysisComponent::AliEMCalTriggerRecTrackAnalysisComponent | ( | ) |
Dummy constructor.
Dummy constructor. For ROOT I/O. Not intended to be used by the users.
Definition at line 56 of file AliEMCalTriggerRecTrackAnalysisComponent.cxx.
EMCalTriggerPtAnalysis::AliEMCalTriggerRecTrackAnalysisComponent::AliEMCalTriggerRecTrackAnalysisComponent | ( | const char * | name | ) |
Main constructor.
Main constructor, initialises component with a component name. To be used by the users to create the component object.
Definition at line 71 of file AliEMCalTriggerRecTrackAnalysisComponent.cxx.
|
virtual |
Destructor.
Destructor, taking care of the track selection.
Definition at line 85 of file AliEMCalTriggerRecTrackAnalysisComponent.cxx.
|
virtual |
Creating histograms for the analysis component.
Create histograms of the track analysis component and add it to the list of histograms. For each trigger class we have
This function is the implementation of the abstract method CreateHistos declared in AliEMCalTriggerTracksAnalysisComponent.
Reimplemented from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.
Definition at line 104 of file AliEMCalTriggerRecTrackAnalysisComponent.cxx.
|
protected |
Referenced by Process().
|
protected |
Fill main track-based histogram.
Fill main track-based histogram defined by its name with
histname | Name of the THnSparse to fill |
trk | Reconstructed track |
assocMC | The associated MC track |
recev | Reconstructed event |
useMCkine | If true we fill histogram with MC truth information |
weight | Event weight (optional) |
Definition at line 275 of file AliEMCalTriggerRecTrackAnalysisComponent.cxx.
Referenced by Process().
|
protected |
Referenced by Process().
|
protected |
Check whether track is a true signal track.
Check according to the associated MC information whether the track is a MC true track, and whether it is physical primary
trk | track to check |
evnt | MC event information necessary for the check |
Definition at line 242 of file AliEMCalTriggerRecTrackAnalysisComponent.cxx.
Referenced by Process().
|
protected |
Referenced by Process().
|
virtual |
Run track loop on list of matching tracks.
Analyses all particles at reconstruction level in an event, and fill a track based histogram for all triggers which selected the event. Following steps are performed:
data | the event data |
Implements EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.
Definition at line 172 of file AliEMCalTriggerRecTrackAnalysisComponent.cxx.
|
inline |
Defines whether track patch matching is performed and correponding histograms are created and filled.
doRequest |
Definition at line 66 of file AliEMCalTriggerRecTrackAnalysisComponent.h.
|
inline |
Defines whether tracks are required to be MC-true tracks, defined as track with associated MC particle which fulfills the physical primary condition. Only relevant for analysis of Monte-Carlo data sets
doRequest | If true, only MC-true tracks are selected |
Definition at line 59 of file AliEMCalTriggerRecTrackAnalysisComponent.h.
|
inline |
Defines swapping of the \( \eta \) sign in the analysis.
doSwap | If true, the \( \eta \) sign will be swapped |
Definition at line 50 of file AliEMCalTriggerRecTrackAnalysisComponent.h.
|
inline |
Set the track selection applied in the analysis. Track cuts are always of type AliEMCalPtTaskVTrackSelection. Transparent to ESD and AOD analysis.
trackSel | The (virtual) track selection applied in the analysis |
Definition at line 74 of file AliEMCalTriggerRecTrackAnalysisComponent.h.
|
protected |
Request matching with trigger patches.
Definition at line 86 of file AliEMCalTriggerRecTrackAnalysisComponent.h.
Referenced by CreateHistos(), Process(), and SetRequestMatchTriggerPatches().
|
protected |
Request MC true track.
Definition at line 85 of file AliEMCalTriggerRecTrackAnalysisComponent.h.
Referenced by Process(), and SetRequestMCtrueTracks().
|
protected |
Swap eta sign.
Definition at line 84 of file AliEMCalTriggerRecTrackAnalysisComponent.h.
Referenced by FillHistogram(), and SetSwapEta().
|
protected |
Track selection cuts used in the analysis.
Definition at line 83 of file AliEMCalTriggerRecTrackAnalysisComponent.h.
Referenced by Process(), SetTrackSelection(), and ~AliEMCalTriggerRecTrackAnalysisComponent().