PandaRoot
PndDiscTaskReconstruction Class Reference

#include <PndDiscTaskReconstruction.h>

Inheritance diagram for PndDiscTaskReconstruction:
PndPersistencyTask

Public Member Functions

 PndDiscTaskReconstruction ()
 
 PndDiscTaskReconstruction (const char *name)
 
virtual ~PndDiscTaskReconstruction ()
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void Exec (Option_t *opt)
 
virtual void FinishEvent ()
 
virtual void FinishTask ()
 
void RunTimeBased (Bool_t time_based)
 
void SetFlag_ExportPatterns (Bool_t flag)
 
void SetAvgWavelength (Double_t const &val)
 
Double_t const & GetAvgWavelength () const
 
void SetMinWavelength (Double_t const &val)
 
Double_t const & GetMinWavelength () const
 
double gauss (int x, double mean, double rms)
 
double mean (std::vector< double > values)
 
double deviation (double mean, std::vector< double > values)
 
- 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 Attributes

TString branch_name_digits
 Branch name where digitized hits are stored. More...
 
TString folder_name_digits
 Folder name for digits. More...
 
TClonesArray * tclarr_digits
 
TClonesArray * tclarr_digits_out
 
TClonesArray * tclarr_particles_out
 
TClonesArray * tclarr_particles
 to cache the pointer to particle MC TClonesArray returned by IO manager. More...
 
TClonesArray * tclarr_tracks
 to cache the pointer to fitted tracks TClonesArray returned by IO manager. More...
 
TClonesArray * tclarr_recon_results
 results of reconstruction (pattern matching) More...
 
Bool_t is_time_based
 Time based buffering on/off. More...
 
Bool_t flag_export_patterns
 Write the pattern hypothesis and measured patterns to file. More...
 
StopTime start_functor
 
StopTime stop_functor
 
Double_t average_wl
 
Double_t minimum_wl
 

Detailed Description

Definition at line 20 of file PndDiscTaskReconstruction.h.

Constructor & Destructor Documentation

◆ PndDiscTaskReconstruction() [1/2]

PndDiscTaskReconstruction::PndDiscTaskReconstruction ( )

◆ PndDiscTaskReconstruction() [2/2]

PndDiscTaskReconstruction::PndDiscTaskReconstruction ( const char *  name)

◆ ~PndDiscTaskReconstruction()

virtual PndDiscTaskReconstruction::~PndDiscTaskReconstruction ( )
virtual

Member Function Documentation

◆ deviation()

double PndDiscTaskReconstruction::deviation ( double  mean,
std::vector< double >  values 
)

Referenced by GetMinWavelength().

◆ Exec()

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

◆ FinishEvent()

virtual void PndDiscTaskReconstruction::FinishEvent ( )
virtual

◆ FinishTask()

virtual void PndDiscTaskReconstruction::FinishTask ( )
virtual

◆ gauss()

double PndDiscTaskReconstruction::gauss ( int  x,
double  mean,
double  rms 
)

Referenced by GetMinWavelength().

◆ GetAvgWavelength()

Double_t const& PndDiscTaskReconstruction::GetAvgWavelength ( ) const
inline

Definition at line 37 of file PndDiscTaskReconstruction.h.

References average_wl.

◆ GetMinWavelength()

Double_t const& PndDiscTaskReconstruction::GetMinWavelength ( ) const
inline

Definition at line 40 of file PndDiscTaskReconstruction.h.

References deviation(), gauss(), mean(), and minimum_wl.

◆ Init()

virtual InitStatus PndDiscTaskReconstruction::Init ( )
virtual

◆ mean()

double PndDiscTaskReconstruction::mean ( std::vector< double >  values)

Referenced by GetMinWavelength().

◆ ReInit()

virtual InitStatus PndDiscTaskReconstruction::ReInit ( )
virtual

◆ RunTimeBased()

void PndDiscTaskReconstruction::RunTimeBased ( Bool_t  time_based)
inline

Definition at line 33 of file PndDiscTaskReconstruction.h.

References is_time_based.

33 { is_time_based = time_based; }
Bool_t is_time_based
Time based buffering on/off.

◆ SetAvgWavelength()

void PndDiscTaskReconstruction::SetAvgWavelength ( Double_t const &  val)
inline

Definition at line 36 of file PndDiscTaskReconstruction.h.

References average_wl.

◆ SetFlag_ExportPatterns()

void PndDiscTaskReconstruction::SetFlag_ExportPatterns ( Bool_t  flag)
inline

Definition at line 34 of file PndDiscTaskReconstruction.h.

References flag_export_patterns.

34 { flag_export_patterns = flag; }
Bool_t flag_export_patterns
Write the pattern hypothesis and measured patterns to file.

◆ SetMinWavelength()

void PndDiscTaskReconstruction::SetMinWavelength ( Double_t const &  val)
inline

Definition at line 39 of file PndDiscTaskReconstruction.h.

References minimum_wl.

Member Data Documentation

◆ average_wl

Double_t PndDiscTaskReconstruction::average_wl
protected

Definition at line 65 of file PndDiscTaskReconstruction.h.

Referenced by GetAvgWavelength(), and SetAvgWavelength().

◆ branch_name_digits

TString PndDiscTaskReconstruction::branch_name_digits
protected

Branch name where digitized hits are stored.

Definition at line 47 of file PndDiscTaskReconstruction.h.

◆ flag_export_patterns

Bool_t PndDiscTaskReconstruction::flag_export_patterns
protected

Write the pattern hypothesis and measured patterns to file.

Definition at line 60 of file PndDiscTaskReconstruction.h.

Referenced by SetFlag_ExportPatterns().

◆ folder_name_digits

TString PndDiscTaskReconstruction::folder_name_digits
protected

Folder name for digits.

Definition at line 48 of file PndDiscTaskReconstruction.h.

◆ is_time_based

Bool_t PndDiscTaskReconstruction::is_time_based
protected

Time based buffering on/off.

Definition at line 58 of file PndDiscTaskReconstruction.h.

Referenced by RunTimeBased().

◆ minimum_wl

Double_t PndDiscTaskReconstruction::minimum_wl
protected

Definition at line 66 of file PndDiscTaskReconstruction.h.

Referenced by GetMinWavelength(), and SetMinWavelength().

◆ start_functor

StopTime PndDiscTaskReconstruction::start_functor
protected

Definition at line 62 of file PndDiscTaskReconstruction.h.

◆ stop_functor

StopTime PndDiscTaskReconstruction::stop_functor
protected

Definition at line 63 of file PndDiscTaskReconstruction.h.

◆ tclarr_digits

TClonesArray* PndDiscTaskReconstruction::tclarr_digits
protected

Definition at line 50 of file PndDiscTaskReconstruction.h.

◆ tclarr_digits_out

TClonesArray* PndDiscTaskReconstruction::tclarr_digits_out
protected

Definition at line 51 of file PndDiscTaskReconstruction.h.

◆ tclarr_particles

TClonesArray* PndDiscTaskReconstruction::tclarr_particles
protected

to cache the pointer to particle MC TClonesArray returned by IO manager.

Definition at line 53 of file PndDiscTaskReconstruction.h.

◆ tclarr_particles_out

TClonesArray* PndDiscTaskReconstruction::tclarr_particles_out
protected

Definition at line 52 of file PndDiscTaskReconstruction.h.

◆ tclarr_recon_results

TClonesArray* PndDiscTaskReconstruction::tclarr_recon_results
protected

results of reconstruction (pattern matching)

Definition at line 55 of file PndDiscTaskReconstruction.h.

◆ tclarr_tracks

TClonesArray* PndDiscTaskReconstruction::tclarr_tracks
protected

to cache the pointer to fitted tracks TClonesArray returned by IO manager.

Definition at line 54 of file PndDiscTaskReconstruction.h.


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