PandaRoot
PndElectronCorrectionTest Class Reference

#include <PndElectronCorrectionTest.h>

Inheritance diagram for PndElectronCorrectionTest:
PndPersistencyTask

Public Member Functions

 PndElectronCorrectionTest ()
 
 PndElectronCorrectionTest (const char *name, Int_t iVerbose)
 
virtual ~PndElectronCorrectionTest ()
 
void SetTrackBranchNames (TString branchName)
 
void SetEmcBranchName (TString val)
 
virtual void Exec (Option_t *opt)
 
- 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 ()
 

Protected Member Functions

Bool_t IsPhotonFromMother (FairMCPoint *point, Int_t motherPdg=11)
 

Detailed Description

Definition at line 33 of file PndElectronCorrectionTest.h.

Constructor & Destructor Documentation

◆ PndElectronCorrectionTest() [1/2]

PndElectronCorrectionTest::PndElectronCorrectionTest ( )

Default constructor

◆ PndElectronCorrectionTest() [2/2]

PndElectronCorrectionTest::PndElectronCorrectionTest ( const char *  name,
Int_t  iVerbose 
)

Constructor with name

◆ ~PndElectronCorrectionTest()

virtual PndElectronCorrectionTest::~PndElectronCorrectionTest ( )
virtual

Destructor

Member Function Documentation

◆ Exec()

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

Execution

Referenced by SetEmcBranchName().

◆ IsPhotonFromMother()

Bool_t PndElectronCorrectionTest::IsPhotonFromMother ( FairMCPoint *  point,
Int_t  motherPdg = 11 
)
protected

Referenced by SetEmcBranchName().

◆ SetEmcBranchName()

void PndElectronCorrectionTest::SetEmcBranchName ( TString  val)
inline

Definition at line 47 of file PndElectronCorrectionTest.h.

References Exec(), and IsPhotonFromMother().

47 { fEmcDetectorName = val; }

◆ SetTrackBranchNames()

void PndElectronCorrectionTest::SetTrackBranchNames ( TString  branchName)
inline

Definition at line 45 of file PndElectronCorrectionTest.h.

45 { fTrackArrays[branchName] = nullptr; }

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