Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SQReco Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/reco/ktracker/SQReco.h>

+ Inheritance diagram for SQReco:
+ Collaboration diagram for SQReco:

Public Types

enum  INPUT_TYPE { E906, E1039 }
 
enum  FITTER_TYPE {
  LEGACY, KF, KFREF, DAF,
  DAFREF
}
 
- Public Types inherited from Fun4AllBase
enum  enu_Verbosity {
  VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3,
  VERBOSITY_A_LOT = 4, VERBOSITY_MAX = INT_MAX - 10
}
 

Public Member Functions

 SQReco (const std::string &name="SQReco")
 
virtual ~SQReco ()
 
int Init (PHCompositeNode *topNode)
 
int InitRun (PHCompositeNode *topNode)
 
int process_event (PHCompositeNode *topNode)
 
int End (PHCompositeNode *topNode)
 Called at the end of all processing. More...
 
void setInputTy (SQReco::INPUT_TYPE input_ty)
 
void setFitterTy (SQReco::FITTER_TYPE fitter_ty)
 
const TString & get_eval_file_name () const
 
void set_eval_file_name (const TString &evalFileName)
 
const std::string & get_geom_file_name () const
 
void set_geom_file_name (const std::string &geomFileName)
 
bool is_KF_enabled () const
 
void set_enable_KF (bool enable)
 
bool is_eval_enabled () const
 
void set_enable_eval (bool enable)
 
bool is_eval_dst_enabled () const
 
void set_enable_eval_dst (bool enable)
 
void add_eval_list (int listID)
 
const TString & get_evt_reducer_opt () const
 
void set_evt_reducer_opt (const TString &opt)
 
void set_legacy_rec_container (const bool b=true)
 
- Public Member Functions inherited from SubsysReco
virtual ~SubsysReco ()
 
virtual int EndRun (const int)
 Called at the end of each run. More...
 
virtual int Reset (PHCompositeNode *)
 Reset. More...
 
virtual int ResetEvent (PHCompositeNode *)
 Clean up after each event. More...
 
virtual void Print (const std::string &what="ALL") const
 
- Public Member Functions inherited from Fun4AllBase
virtual ~Fun4AllBase ()
 
virtual const std::string Name () const
 Returns the name of this module. More...
 
virtual void Name (const std::string &name)
 Sets the name of this module. More...
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet). More...
 
virtual void Verbosity (enu_Verbosity ival)
 Sets the verbosity of this module (0 by default=quiet). More...
 
virtual int Verbosity () const
 Gets the verbosity of this module. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 
- Protected Member Functions inherited from Fun4AllBase
 Fun4AllBase (const std::string &name="NONAME")
 
- Protected Attributes inherited from Fun4AllBase
std::string ThisName
 
int verbosity
 The verbosity level. 0 means not verbose at all. More...
 

Detailed Description

Definition at line 42 of file SQReco.h.

Member Enumeration Documentation

Enumerator
LEGACY 
KF 
KFREF 
DAF 
DAFREF 

Definition at line 46 of file SQReco.h.

Enumerator
E906 
E1039 

Definition at line 45 of file SQReco.h.

Constructor & Destructor Documentation

SQReco::SQReco ( const std::string &  name = "SQReco")

Definition at line 48 of file SQReco.cxx.

References recoConsts::instance().

+ Here is the call graph for this function:

SQReco::~SQReco ( )
virtual

Definition at line 83 of file SQReco.cxx.

Member Function Documentation

void SQReco::add_eval_list ( int  listID)

Definition at line 665 of file SQReco.cxx.

Referenced by Fun4Sim(), RecoE1039Data(), and RecoE1039Sim().

+ Here is the caller graph for this function:

int SQReco::End ( PHCompositeNode )
virtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 462 of file SQReco.cxx.

References PHTFileServer::cd(), Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), is_eval_enabled(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.

+ Here is the call graph for this function:

const TString& SQReco::get_eval_file_name ( ) const
inline

Definition at line 59 of file SQReco.h.

const TString& SQReco::get_evt_reducer_opt ( ) const
inline

Definition at line 74 of file SQReco.h.

const std::string& SQReco::get_geom_file_name ( ) const
inline

Definition at line 62 of file SQReco.h.

int SQReco::Init ( PHCompositeNode )
virtual

Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).

Reimplemented from SubsysReco.

Definition at line 86 of file SQReco.cxx.

References Fun4AllReturnCodes::EVENT_OK.

int SQReco::InitRun ( PHCompositeNode )
virtual

Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.

Reimplemented from SubsysReco.

Definition at line 91 of file SQReco.cxx.

References DAF, DAFREF, Fun4AllReturnCodes::EVENT_OK, PHFlag::get_CharFlag(), SQGenFit::GFFitter::init(), is_eval_enabled(), KF, KFREF, LEGACY, KalmanFitter::setControlParameter(), KalmanFastTracking::Verbosity(), and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

bool SQReco::is_eval_dst_enabled ( ) const
inline

Definition at line 70 of file SQReco.h.

Referenced by process_event().

+ Here is the caller graph for this function:

bool SQReco::is_eval_enabled ( ) const
inline

Definition at line 68 of file SQReco.h.

Referenced by End(), InitRun(), and process_event().

+ Here is the caller graph for this function:

bool SQReco::is_KF_enabled ( ) const
inline

Definition at line 65 of file SQReco.h.

int SQReco::process_event ( PHCompositeNode )
virtual
void SQReco::set_enable_eval ( bool  enable)
inline

Definition at line 69 of file SQReco.h.

Referenced by Fun4Sim(), Fun4Sim_TrkQA(), RecoE1039Data(), RecoE1039Sim(), and RecoE906Data().

+ Here is the caller graph for this function:

void SQReco::set_enable_eval_dst ( bool  enable)
inline

Definition at line 71 of file SQReco.h.

Referenced by Fun4Sim(), Fun4Sim_TrkQA(), and RecoE1039Sim().

+ Here is the caller graph for this function:

void SQReco::set_enable_KF ( bool  enable)
inline

Definition at line 66 of file SQReco.h.

Referenced by Fun4Sim(), Fun4Sim_TrkQA(), RecoE1039Data(), RecoE1039Sim(), and RecoE906Data().

+ Here is the caller graph for this function:

void SQReco::set_eval_file_name ( const TString &  evalFileName)
inline

Definition at line 60 of file SQReco.h.

Referenced by Fun4Sim(), Fun4Sim_TrkQA(), RecoE1039Data(), RecoE1039Sim(), and RecoE906Data().

+ Here is the caller graph for this function:

void SQReco::set_evt_reducer_opt ( const TString &  opt)
inline

Definition at line 75 of file SQReco.h.

Referenced by Fun4Sim(), Fun4Sim_TrkQA(), RecoE1039Data(), RecoE1039Sim(), and RecoE906Data().

+ Here is the caller graph for this function:

void SQReco::set_geom_file_name ( const std::string &  geomFileName)
inline

Definition at line 63 of file SQReco.h.

Referenced by RecoE1039Data(), and RecoE906Data().

+ Here is the caller graph for this function:

void SQReco::set_legacy_rec_container ( const bool  b = true)
inline

Definition at line 77 of file SQReco.h.

Referenced by RecoE1039Data(), and RecoE1039Sim().

+ Here is the caller graph for this function:

void SQReco::setFitterTy ( SQReco::FITTER_TYPE  fitter_ty)
inline

Definition at line 57 of file SQReco.h.

Referenced by Fun4Sim(), Fun4Sim_TrkQA(), RecoE1039Data(), RecoE1039Sim(), and RecoE906Data().

+ Here is the caller graph for this function:

void SQReco::setInputTy ( SQReco::INPUT_TYPE  input_ty)
inline

Definition at line 56 of file SQReco.h.

Referenced by Fun4Sim(), Fun4Sim_TrkQA(), RecoE1039Data(), RecoE1039Sim(), and RecoE906Data().

+ Here is the caller graph for this function:


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