14 #ifndef ALIANALYSISTASKDMESONJETSDETECTORRESPONSE_H
15 #define ALIANALYSISTASKDMESONJETSDETECTORRESPONSE_H
47 virtual void Reset() = 0;
132 Bool_t
FillTree(Bool_t applyKinCuts, Bool_t findNoDMesonRecoJets);
173 virtual Bool_t
Run();
virtual AliDmesonInfoSummary * GetReconstructed()=0
virtual void SetGenerated(const AliDmesonJetInfo &truth)
AliDmesonInfoSummary fGenerated
Generated D meson.
Int_t PostDataFromResponseEngine(const ResponseEngine &eng)
Analysis task for D meson jets.
Lightweight class that encapsulates matching between reconstructed and generated D0 mesons...
virtual void SetGenerated(const AliDmesonJetInfo &truth)=0
void SetMaxJetDmesonDistance(Double_t d)
Analysis task used to build a detector response for D meson jets.
Lightweight class that encapsulates D meson jets.
Int_t fDataSlotNumber
! Data slot where the tree output is posted
AliD0InfoSummary fReconstructed
Reconstructed D meson.
std::map< ECandidateType_t, ResponseEngine > fResponseEngines
! Response engines
virtual void SetReconstructed(const AliDmesonJetInfo &reco)
virtual AliDmesonInfoSummary * GetGenerated()
AliJetInfoSummary ** fCurrentJetInfoReco
! Tree branch
Analysis engine to produce detector response matrix in the D meson jet analysis.
virtual void Reset()
Reset the object.
Lightweight class that encapsulates D meson jets.
void SetGeneratedAnalysisEngine(AnalysisEngine *truth)
AliAnalysisTaskDmesonJetsDetectorResponse & operator=(const AliAnalysisTaskDmesonJetsDetectorResponse &source)
virtual void UserCreateOutputObjects()
Creates the output containers.
Bool_t fInhibit
Inhibit the task.
TTree * BuildTree(const char *taskName)
void SetReconstructedAnalysisEngine(AnalysisEngine *reco)
AliAnalysisTaskDmesonJetsDetectorResponse()
This is the default constructor, used for ROOT I/O purposes.
AnalysisEngine * fRecontructed
! Reconstructed level analysis engine
const char * GetName() const
Lightweight class that encapsulates matching between reconstructed and generated D mesons...
friend bool operator==(const ResponseEngine &lhs, const ResponseEngine &rhs)
Bool_t fFindRecoJetsForLostDMesons
If switched on, looks for reconstructed jets even when the D meson was lost.
TString fName
! D meson candidate name
Struct that encapsulates analysis parameters.
AliDmesonMatchInfoSummary * fCurrentDmeson
! Tree branch
Bool_t FillTree(Bool_t applyKinCuts, Bool_t findNoDMesonRecoJets)
virtual ~AliDmesonMatchInfoSummary()
friend bool operator!=(const ResponseEngine &lhs, const ResponseEngine &rhs)
AliDStarInfoSummary fReconstructed
Reconstructed D meson.
Double_t fMaxJetDmesonDistance
Maximum distance between a generated D meson and a reconstructed jet, used for geometrical matching (...
virtual void SetReconstructed(const AliDmesonJetInfo &reco)
Lightweight class that encapsulates D*.
void SetFindRecoJetsForLostDMesons(Bool_t b)
AliJetInfoSummary ** fCurrentJetInfoTruth
! Tree branch
virtual AliDmesonInfoSummary * GetReconstructed()
TTree * fTree
! Output tree
virtual ~AliAnalysisTaskDmesonJetsDetectorResponse()
void AssignDataSlot(Int_t n)
ResponseEngine()
Default constructor, for ROOT I/O.
virtual void SetReconstructed(const AliDmesonJetInfo &reco)=0
Lightweight class that encapsulates matching between reconstructed and generated D* mesons...
virtual void SetOutputTypeInternal(EOutputType_t b)
ResponseEngine & operator=(const ResponseEngine &source)
virtual AliDmesonInfoSummary * GetGenerated()=0
Int_t GetDataSlotNumber() const
virtual AliDmesonInfoSummary * GetReconstructed()
virtual ~ResponseEngine()
virtual void Reset()
Reset the object.
virtual AliDmesonInfoSummary * GetGenerated()
AliDmesonInfoSummary fGenerated
Generated D meson.
AliDStarMatchInfoSummary()
AliDmesonMatchInfoSummary()
AnalysisEngine * fGenerated
! Generated level analysis engine
Lightweight class that encapsulates D0.
virtual Bool_t FillHistograms()
void RunAnalysis()
Run the requested analysis for the current event.
ECandidateType_t fCandidateType
D meson candidate type.
virtual void SetGenerated(const AliDmesonJetInfo &truth)