class AliMuonTrackCuts;
class AliMuonPairCuts;
class AliVVertex;
+class AliUtilityMuonAncestor;
class AliVAnalysisMuon : public AliAnalysisTaskSE {
public:
void SetWeight ( TObject* wgtObj );
TObject* GetWeight ( const char* wgtName );
+
+ enum {
+ kPhysSelPass, ///< Physics selected events
+ kPhysSelReject, ///< Events non-passing selection
+ kNselections ///< Number of selections
+ };
+
+ enum {
+ kCharmMu, ///< Mu from charm
+ kBeautyMu, ///< Mu from beauty
+ kQuarkoniumMu, ///< Mu from resonance
+ kWbosonMu, ///< Mu from W
+ kZbosonMu, ///< Mu from Z
+ kDecayMu, ///< Decay mu
+ kSecondaryMu, ///< Secondary mu
+ kRecoHadron, ///< Reconstructed hadron
+ kUnidentified, ///< Particle that fails matching kine
+ kNtrackSources ///< Total number of track sources
+ };
+
protected:
/////////////////////
// Methods for MC
- Int_t GetParticleType(AliVParticle* track);
- Int_t RecoTrackMother(AliVParticle* mcParticle);
+ Int_t GetParticleType ( AliVParticle* track );
// Methods for mergeable object collections
Bool_t AddObjectToCollection(TObject* object, Int_t index = -1);
TObject* GetMergeableObject(TString physSel, TString trigClassName, TString centrality, TString objectName);
TObject* GetSum(TString physSel, TString trigClassNames, TString centrality, TString objectPattern);
- enum {
- kPhysSelPass, ///< Physics selected events
- kPhysSelReject, ///< Events non-passing selection
- kNselections ///< Number of selections
- };
-
- enum {
- kCharmMu, ///< Mu from charm
- kBeautyMu, ///< Mu from beauty
- kQuarkoniumMu, ///< Mu from resonance
- kWbosonMu, ///< Mu from W
- kDecayMu, ///< Decay mu
- kSecondaryMu, ///< Secondary mu
- kRecoHadron, ///< Reconstructed hadron
- kUnidentified, ///< Particle that fails matching kine
- kNtrackSources ///< Total number of track sources
- };
-
+
AliMuonEventCuts* fMuonEventCuts; ///< Muon event cuts
AliMuonTrackCuts* fMuonTrackCuts; ///< Muon track cuts
AliMuonPairCuts* fMuonPairCuts; ///< Muon pair track cuts
TObjArray* fSrcKeys; ///< MC sources names
TObjArray* fPhysSelKeys; ///< Physics selection names
THashList* fWeights; ///< List of objects to weight histograms
+ AliUtilityMuonAncestor* fUtilityMuonAncestor; ///< Utility to get the muon ancestor
AliCounterCollection* fEventCounters; //!< event counters
AliMergeableCollection* fMergeableCollection; //!< collection of mergeable objects
void CreateMergeableObjects(TString physSel, TString trigClassName, TString centrality);
TObjArray* fOutputPrototypeList; //!< List of prototype object to be used in collection
- ClassDef(AliVAnalysisMuon, 5);
+ ClassDef(AliVAnalysisMuon, 6);
};
#endif