PandaRoot
PndFastSim Class Reference

#include <PndFastSim.h>

Inheritance diagram for PndFastSim:
PndPersistencyTask

Public Member Functions

 PndFastSim (bool persist=true)
 
 ~PndFastSim ()
 
void Register ()
 
virtual InitStatus Init ()
 
virtual void Finish ()
 
virtual void Exec (Option_t *opt)
 
bool AddDetector (std::string name, std::string params="")
 
bool AddDetector (PndFsmAbsDet *det)
 
void SetVerbosity (int vb)
 
bool EnableSplitoffs (std::string fname="splitpars.dat")
 
bool MergeNeutralClusters (bool merge=true, double par=0.389)
 
void EnableElectronBremsstrahlung (bool brems=true)
 
void EnablePropagation (bool propagate=true, bool tostartvtx=true, bool usecovmatrix=true, double tolerance=0.0)
 
void SetUseFlatCov (bool v=true)
 
void SetMultFilter (TString type, int min, int max=1000)
 
void SetInvMassFilter (TString filter, double min, double max, int mult=1)
 
void SetSeed (unsigned int seed=65539)
 
- Public Member Functions inherited from PndPersistencyTask
 PndPersistencyTask ()
 
 PndPersistencyTask (const char *name, Int_t iVerbose=1)
 
virtual ~PndPersistencyTask ()
 
void SetPersistency (Bool_t val=kTRUE)
 
Bool_t GetPersistency ()
 

Detailed Description

Definition at line 32 of file PndFastSim.h.

Constructor & Destructor Documentation

◆ PndFastSim()

PndFastSim::PndFastSim ( bool  persist = true)

Default constructor

◆ ~PndFastSim()

PndFastSim::~PndFastSim ( )

Destructor

Member Function Documentation

◆ AddDetector() [1/2]

bool PndFastSim::AddDetector ( std::string  name,
std::string  params = "" 
)

◆ AddDetector() [2/2]

bool PndFastSim::AddDetector ( PndFsmAbsDet det)

◆ EnableElectronBremsstrahlung()

void PndFastSim::EnableElectronBremsstrahlung ( bool  brems = true)
inline

Definition at line 63 of file PndFastSim.h.

References EnablePropagation().

63 { fElectronBrems = brems; }

◆ EnablePropagation()

void PndFastSim::EnablePropagation ( bool  propagate = true,
bool  tostartvtx = true,
bool  usecovmatrix = true,
double  tolerance = 0.0 
)

◆ EnableSplitoffs()

bool PndFastSim::EnableSplitoffs ( std::string  fname = "splitpars.dat")

Referenced by SetVerbosity().

◆ Exec()

virtual void PndFastSim::Exec ( Option_t *  opt)
virtual

Virtual method Exec

◆ Finish()

virtual void PndFastSim::Finish ( )
virtual

◆ Init()

virtual InitStatus PndFastSim::Init ( )
virtual

Virtual method Init

◆ MergeNeutralClusters()

bool PndFastSim::MergeNeutralClusters ( bool  merge = true,
double  par = 0.389 
)
inline

Definition at line 57 of file PndFastSim.h.

58  {
59  fMergeNeutralClusters = merge;
60  fMergeProbPar = par;
61  return true;
62  }

◆ Register()

void PndFastSim::Register ( )

◆ SetInvMassFilter()

void PndFastSim::SetInvMassFilter ( TString  filter,
double  min,
double  max,
int  mult = 1 
)

Referenced by SetUseFlatCov().

◆ SetMultFilter()

void PndFastSim::SetMultFilter ( TString  type,
int  min,
int  max = 1000 
)

Referenced by SetUseFlatCov().

◆ SetSeed()

void PndFastSim::SetSeed ( unsigned int  seed = 65539)

Referenced by SetUseFlatCov().

◆ SetUseFlatCov()

void PndFastSim::SetUseFlatCov ( bool  v = true)
inline

Definition at line 65 of file PndFastSim.h.

References i, max(), min(), SetInvMassFilter(), SetMultFilter(), SetSeed(), and v.

65 { fUseFlatCovMatrix = v; };
__m128 v
Definition: P4_F32vec4.h:3

◆ SetVerbosity()

void PndFastSim::SetVerbosity ( int  vb)
inline

Definition at line 55 of file PndFastSim.h.

References EnableSplitoffs().

55 { fVb = vb; }

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