59 fZLeading = source.
fZ;
112 fZLeading = source.
fZ;
115 fArea = source.
fArea;
171 fZLeading = source.
fZ;
174 fArea = source.
fArea;
177 fMCPt = source.
fMCPt;
190 DefineOutput(2, TTree::Class());
203 ::Info(
"AliAnalysisTaskEmcalJetTreeBase::CreateInstance",
"Created an instance of AliAnalysisTaskEmcalJetTree<AliEmcalJetInfoSummaryPP>");
207 ::Info(
"AliAnalysisTaskEmcalJetTreeBase::CreateInstance",
"Created an instance of AliAnalysisTaskEmcalJetTree<AliEmcalJetInfoSummaryPbPb>");
211 ::Info(
"AliAnalysisTaskEmcalJetTreeBase::CreateInstance",
"Created an instance of AliAnalysisTaskEmcalJetTree<AliEmcalJetInfoSummaryEmbedding>");
215 ::Error(
"AliAnalysisTaskEmcalJetTreeBase::CreateInstance",
"Type %d not implemented!", type);
277 typename std::map<std::string,std::vector<T> >::iterator it = (fCurrentOutput->insert(std::pair<std::string,std::vector<T> >(jets->GetName(), std::vector<T>()))).first;
278 fTree->Branch(jets->GetName(), &((*it).second));
285 fCurrentOutput =
new std::map<std::string, std::vector<T> >();
286 TString treeName = TString::Format(
"%s_jets", GetName());
287 fTree =
new TTree(treeName, treeName);
300 static typename std::map<std::string, std::vector<T> >::iterator it = fCurrentOutput->end();
302 if (it == fCurrentOutput->end() || TString(jets->GetName()) != it->first) {
303 it = fCurrentOutput->find(jets->GetName());
304 if (it == fCurrentOutput->end())
return;
307 it->second.push_back(T(jet));
316 typedef typename std::map<std::string, std::vector<T> >::iterator iterator_type;
318 for (iterator_type it = fCurrentOutput->begin(); it != fCurrentOutput->end(); it++) {
323 if (!r)
return kFALSE;
void Set(const AliEmcalJetInfo &source)
templateClassImp(AliTHnT) template< class TemplateArray
void Reset()
Reset the object.
Class that encapsulates jets in a very compact structure (embedding analysis)
AliAnalysisTaskEmcalJetTree()
Default constructor for ROOT I/O purposes.
void Reset()
Reset the object.
void Set(const AliEmcalJetInfo &source)
void UserCreateOutputObjects()
Overloads base class method. Creates output objects.
void Set(const AliEmcalJetInfo &source)
AliEmcalJetInfoSummaryPP()
void UserCreateOutputObjects()
Overloads base class method. Creates output objects.
TTree * fTree
! Output tree
Double_t Phi_0_2pi() const
Declaration of class AliAnalysisTaskEmcalJetTree.
void SetHistoType(EHistoType_t t)
Pure virtual base class for AliAnalysisTaskEmcalJetTree<T>
Implementation of a task to generate a tree with all jets.
void FillTTree(const AliEmcalJetInfo &jetInfo, const AliJetContainer *jets)
static AliAnalysisTaskEmcalJetTreeBase * CreateInstance(const char *name, EAnalisysType_t type=kJetPP)
ClassImp(AliAnalysisTaskCRC) AliAnalysisTaskCRC
Class that encapsulates jets in a very compact structure (pp analysis)
void Reset()
Reset the object.
Class that encapsulates jets in a very compact structure (Pb-Pb analysis)
void AllocateTTree(const AliJetContainer *jets)
Double_t fCent
!event centrality
Container for jet within the EMCAL jet framework.
Implementation of a task to perform QA on jet spectra.
Class that encapsulates jets.