14 #ifndef ALIANALYSISTASKDMESONJETSDETECTORRESPONSE_H 15 #define ALIANALYSISTASKDMESONJETSDETECTORRESPONSE_H 49 virtual void Reset() = 0;
128 const char*
GetName()
const {
return fName.Data(); }
132 TTree* BuildTree(
const char* taskName);
virtual AliDmesonInfoSummary * GetReconstructed()=0
Lightweight class that encapsulates D meson jets.
static AliAnalysisTaskDmesonJetsDetectorResponse * AddTaskDmesonJetsDetectorResponse(TString trackName, TString clusName, TString mcPartName, Int_t nMaxTrees, TString suffix)
Int_t PostDataFromResponseEngine(const ResponseEngine &eng)
Analysis task for D meson jets.
Lightweight class that encapsulates matching between reconstructed and generated D0 mesons...
Bool_t fInhibit
!inhibit execution of the task
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.
virtual AliDmesonInfoSummary * GetGenerated()
AliJetInfoSummary ** fCurrentJetInfoReco
! Tree branch
Analysis engine to produce detector response matrix in the D meson jet analysis.
Lightweight class that encapsulates D meson jets.
THistManager * fHistManagerResponse
! Histogram manager for response
void SetGeneratedAnalysisEngine(AnalysisEngine *truth)
AliAnalysisTaskDmesonJetsDetectorResponse & operator=(const AliAnalysisTaskDmesonJetsDetectorResponse &source)
virtual void UserCreateOutputObjects()
Creates the output containers.
Bool_t fInhibit
Inhibit the task.
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...
TString fName
! D meson candidate name
Struct that encapsulates analysis parameters.
AliDmesonMatchInfoSummary * fCurrentDmeson
! Tree branch
virtual ~AliDmesonMatchInfoSummary()
friend bool operator!=(const ResponseEngine &lhs, const ResponseEngine &rhs)
bool operator<(const AliAnalysisTaskDmesonJets::AliHFJetDefinition &lhs, const AliAnalysisTaskDmesonJets::AliHFJetDefinition &rhs)
AliDStarInfoSummary fReconstructed
Reconstructed D meson.
Double_t fMaxJetDmesonDistance
Maximum distance between a generated D meson and a reconstructed jet, used for geometrical matching (...
Lightweight class that encapsulates D*.
THistManager fHistManagerResponse
Histogram manager for response.
AliJetInfoSummary ** fCurrentJetInfoTruth
! Tree branch
virtual AliDmesonInfoSummary * GetReconstructed()
TTree * fTree
! Output tree
virtual ~AliAnalysisTaskDmesonJetsDetectorResponse()
void AssignDataSlot(Int_t n)
virtual void SetReconstructed(const AliDmesonJetInfo &reco)=0
Lightweight class that encapsulates matching between reconstructed and generated D* mesons...
virtual void SetOutputTypeInternal(EOutputType_t b)
AliDmesonMCInfoSummary fGenerated
Generated D meson.
virtual AliDmesonInfoSummary * GetGenerated()=0
Int_t GetDataSlotNumber() const
friend bool operator<=(const ResponseEngine &lhs, const ResponseEngine &rhs)
virtual AliDmesonInfoSummary * GetReconstructed()
virtual ~ResponseEngine()
Container class for histograms.
std::vector< ResponseEngine > fResponseEngines
! Response engines
friend bool operator>=(const ResponseEngine &lhs, const ResponseEngine &rhs)
bool operator==(const AliAnalysisTaskDmesonJets::AliHFJetDefinition &lhs, const AliAnalysisTaskDmesonJets::AliHFJetDefinition &rhs)
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 FillTree(TTree *tree, TList &parList)
ECandidateType_t fCandidateType
D meson candidate type.