PandaRoot
PndListProvider Class Reference

#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 ()
 

Detailed Description

Definition at line 53 of file PndListProvider.h.

Constructor & Destructor Documentation

◆ PndListProvider() [1/2]

PndListProvider::PndListProvider ( std::string  name,
std::string  pdgType = "" 
)

◆ PndListProvider() [2/2]

PndListProvider::PndListProvider ( std::string  name,
int  pdgcode 
)

◆ ~PndListProvider()

virtual PndListProvider::~PndListProvider ( )
virtual

Member Function Documentation

◆ AddDaughterPointer()

void PndListProvider::AddDaughterPointer ( PndListProvider p)

Referenced by SetHisto().

◆ AddDaughterType() [1/2]

void PndListProvider::AddDaughterType ( std::string  dtype)

Referenced by SetHisto().

◆ AddDaughterType() [2/2]

void PndListProvider::AddDaughterType ( int  pdgcode)

◆ AddDecayProduct()

void PndListProvider::AddDecayProduct ( std::string  dname)

Referenced by SetHisto().

◆ FillHisto()

void PndListProvider::FillHisto ( )

Referenced by GetHisto().

◆ GetCandList()

void PndListProvider::GetCandList ( RhoCandList tl)

Referenced by GetNDaughters().

◆ GetDaughterType()

int PndListProvider::GetDaughterType ( int  i)

Referenced by SetHisto().

◆ GetDecayProdName()

std::string PndListProvider::GetDecayProdName ( int  i)

Referenced by SetHisto().

◆ GetHisto()

TH1F* PndListProvider::GetHisto ( )
inline

Definition at line 99 of file PndListProvider.h.

References FillHisto(), Print(), and Reset().

99 { return fHisto; }

◆ GetName()

std::string PndListProvider::GetName ( )
inline

Definition at line 75 of file PndListProvider.h.

75 { return fName; }

◆ GetNCandidates()

int PndListProvider::GetNCandidates ( )

Referenced by GetNDaughters().

◆ GetNDaughters()

int PndListProvider::GetNDaughters ( )
inline

Definition at line 94 of file PndListProvider.h.

References GetCandList(), and GetNCandidates().

94 { return fNDaughters; }

◆ GetType()

int PndListProvider::GetType ( )

Referenced by SetHisto().

◆ IsGeneric()

bool PndListProvider::IsGeneric ( )
inline

Definition at line 76 of file PndListProvider.h.

76 { return fIsGeneric; }

◆ Print()

void PndListProvider::Print ( )

Referenced by GetHisto().

◆ Reset()

void PndListProvider::Reset ( )

Referenced by GetHisto().

◆ SetCandList()

void PndListProvider::SetCandList ( RhoCandList cl)

Referenced by SetHisto().

◆ SetGeneric()

void PndListProvider::SetGeneric ( bool  isgeneric = true)
inline

Definition at line 81 of file PndListProvider.h.

81 { fIsGeneric = isgeneric; }

◆ SetHisto()

void PndListProvider::SetHisto ( TH1F *  h)
inline

◆ SetMassSelector()

void PndListProvider::SetMassSelector ( double  mean,
double  width 
)

Referenced by SetHisto().

◆ SetToDump()

void PndListProvider::SetToDump ( bool  todump = true)
inline

Definition at line 82 of file PndListProvider.h.

82 { fToDump = todump; }

◆ SetType() [1/2]

void PndListProvider::SetType ( std::string  pdgType)

Referenced by ToDump().

◆ SetType() [2/2]

void PndListProvider::SetType ( int  pdgcode)

◆ ToDump()

bool PndListProvider::ToDump ( )
inline

Definition at line 77 of file PndListProvider.h.

References SetType().

77 { return fToDump; }

The documentation for this class was generated from the following file: