FairRoot/PandaRoot
|
#include <PndListProvider.h>
Public Member Functions | |
PndListProvider (std::string name, std::string pdgType="") | |
PndListProvider (std::string name, int pdgcode) | |
virtual | ~PndListProvider () |
std::string | GetName () |
bool | IsGeneric () |
bool | ToDump () |
void | SetType (std::string pdgType) |
void | SetType (int pdgcode) |
void | SetGeneric (bool isgeneric=true) |
void | SetToDump (bool todump=true) |
void | SetHisto (TH1F *h) |
void | SetCandList (RhoCandList &cl) |
void | SetMassSelector (double mean, double width) |
void | AddDaughterPointer (PndListProvider *p) |
void | AddDecayProduct (std::string dname) |
void | AddDaughterType (std::string dtype) |
void | AddDaughterType (int pdgcode) |
int | GetType () |
int | GetDaughterType (int i) |
std::string | GetDecayProdName (int i) |
int | GetNDaughters () |
void | GetCandList (RhoCandList &tl) |
int | GetNCandidates () |
TH1F * | GetHisto () |
void | FillHisto () |
void | Reset () |
void | Print () |
Private Attributes | |
std::string | fName |
RhoCandList | fOwnList |
RhoMinusParticleSelector * | fMinusSel |
RhoPlusParticleSelector * | fPlusSel |
RhoMassParticleSelector * | fMassSel |
TH1F * | fHisto |
TParticlePDG * | fParticlePDG |
std::vector< TParticlePDG * > | fDaughterPDG |
ArgVector | fDaughterListNames |
std::vector< PndListProvider * > | fDaughterPointers |
int | fNDaughters |
bool | fIsGeneric |
bool | fToDump |
bool | fCandsUptodate |
bool | fHistoFilled |
Definition at line 55 of file PndListProvider.h.
PndListProvider::PndListProvider | ( | std::string | name, |
std::string | pdgType = "" |
||
) |
Definition at line 51 of file PndListProvider.cxx.
References RhoCandList::Cleanup(), fCandsUptodate, fDaughterListNames, fDaughterPDG, fHisto, fHistoFilled, fIsGeneric, fMassSel, fMinusSel, fName, fNDaughters, fOwnList, fParticlePDG, fPlusSel, fToDump, and name.
PndListProvider::PndListProvider | ( | std::string | name, |
int | pdgcode | ||
) |
Definition at line 80 of file PndListProvider.cxx.
References RhoCandList::Cleanup(), fCandsUptodate, fDaughterListNames, fDaughterPDG, fHisto, fHistoFilled, fIsGeneric, fMassSel, fMinusSel, fName, fNDaughters, fOwnList, fParticlePDG, fPlusSel, fToDump, and name.
|
virtual |
void PndListProvider::AddDaughterPointer | ( | PndListProvider * | p | ) |
Definition at line 355 of file PndListProvider.cxx.
References fDaughterPointers.
void PndListProvider::AddDaughterType | ( | std::string | dtype | ) |
Definition at line 134 of file PndListProvider.cxx.
References fDaughterPDG.
void PndListProvider::AddDaughterType | ( | int | pdgcode | ) |
Definition at line 141 of file PndListProvider.cxx.
References fDaughterPDG.
void PndListProvider::AddDecayProduct | ( | std::string | dname | ) |
void PndListProvider::FillHisto | ( | ) |
Definition at line 371 of file PndListProvider.cxx.
References fHisto, fHistoFilled, fOwnList, RhoCandList::GetLength(), i, and Mass.
void PndListProvider::GetCandList | ( | RhoCandList & | tl | ) |
Definition at line 224 of file PndListProvider.cxx.
References RhoCandidate::AddDaughterLinkSimple(), Bool_t, c, RhoCandList::Cleanup(), RhoCandList::Combine(), Double_t, fCandsUptodate, fDaughterPointers, fHisto, fMassSel, fNDaughters, fOwnList, GetCandList(), RhoCandList::GetLength(), RhoCandList::GetNumberOfTracks(), i, Mass, RhoCandList::Put(), RhoCandList::Select(), and RhoCandidate::SetMarker().
Referenced by GetCandList().
int PndListProvider::GetDaughterType | ( | int | i | ) |
Definition at line 148 of file PndListProvider.cxx.
References fDaughterPDG, and i.
std::string PndListProvider::GetDecayProdName | ( | int | i | ) |
Definition at line 346 of file PndListProvider.cxx.
References fDaughterListNames, fNDaughters, and i.
|
inline |
|
inline |
int PndListProvider::GetNCandidates | ( | ) |
Definition at line 214 of file PndListProvider.cxx.
References fOwnList, and RhoCandList::GetLength().
|
inline |
int PndListProvider::GetType | ( | ) |
|
inline |
void PndListProvider::Print | ( | ) |
Definition at line 166 of file PndListProvider.cxx.
References fDaughterPDG, fDaughterPointers, fIsGeneric, fName, fNDaughters, fParticlePDG, i, and IsGeneric().
void PndListProvider::Reset | ( | ) |
Definition at line 186 of file PndListProvider.cxx.
References RhoCandList::Cleanup(), fCandsUptodate, fHistoFilled, and fOwnList.
Referenced by SetCandList(), and ~PndListProvider().
void PndListProvider::SetCandList | ( | RhoCandList & | cl | ) |
Definition at line 195 of file PndListProvider.cxx.
References RhoCandList::Append(), fCandsUptodate, fMinusSel, fOwnList, fParticlePDG, fPlusSel, and Reset().
|
inline |
|
inline |
Definition at line 87 of file PndListProvider.h.
void PndListProvider::SetMassSelector | ( | double | mean, |
double | width | ||
) |
|
inline |
void PndListProvider::SetType | ( | std::string | pdgType | ) |
void PndListProvider::SetType | ( | int | pdgcode | ) |
|
inline |
|
private |
Definition at line 130 of file PndListProvider.h.
Referenced by GetCandList(), PndListProvider(), Reset(), and SetCandList().
|
private |
Definition at line 123 of file PndListProvider.h.
Referenced by AddDecayProduct(), GetDecayProdName(), and PndListProvider().
|
private |
Definition at line 122 of file PndListProvider.h.
Referenced by AddDaughterType(), GetDaughterType(), PndListProvider(), and Print().
|
private |
Definition at line 124 of file PndListProvider.h.
Referenced by AddDaughterPointer(), GetCandList(), and Print().
|
private |
Definition at line 119 of file PndListProvider.h.
Referenced by FillHisto(), GetCandList(), GetHisto(), PndListProvider(), and SetHisto().
|
private |
Definition at line 131 of file PndListProvider.h.
Referenced by FillHisto(), PndListProvider(), and Reset().
|
private |
Definition at line 128 of file PndListProvider.h.
Referenced by IsGeneric(), PndListProvider(), Print(), and SetGeneric().
|
private |
Definition at line 117 of file PndListProvider.h.
Referenced by GetCandList(), PndListProvider(), SetMassSelector(), and ~PndListProvider().
|
private |
Definition at line 115 of file PndListProvider.h.
Referenced by PndListProvider(), SetCandList(), and ~PndListProvider().
|
private |
Definition at line 111 of file PndListProvider.h.
Referenced by GetName(), PndListProvider(), Print(), and SetMassSelector().
|
private |
Definition at line 126 of file PndListProvider.h.
Referenced by AddDecayProduct(), GetCandList(), GetDecayProdName(), GetNDaughters(), PndListProvider(), and Print().
|
private |
Definition at line 113 of file PndListProvider.h.
Referenced by FillHisto(), GetCandList(), GetNCandidates(), PndListProvider(), Reset(), and SetCandList().
|
private |
Definition at line 121 of file PndListProvider.h.
Referenced by GetType(), PndListProvider(), Print(), SetCandList(), and SetType().
|
private |
Definition at line 116 of file PndListProvider.h.
Referenced by PndListProvider(), SetCandList(), and ~PndListProvider().
|
private |
Definition at line 129 of file PndListProvider.h.
Referenced by PndListProvider(), SetToDump(), and ToDump().