ToolDAQFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ReconInfo Class Reference

#include <ReconInfo.h>

Public Member Functions

 ReconInfo ()
 
void AddRecon (Reconstructer_t reconstructer, int trigger_num, int nhits, TimeDelta time, double *vertex, double goodness_of_fit, double goodness_of_time_fit, bool fill_has_direction=true, double energy=-1.)
 
void AddRecon (Reconstructer_t reconstructer, int trigger_num, int nhits, TimeDelta time, double *vertex, double goodness_of_fit, double goodness_of_time_fit, double *direction_euler, double *cherenkov_cone, double direction_likelihood, double energy=-1.)
 
void AddReconFrom (ReconInfo *in, const int irecon)
 
CherenkovCone GetCherenkovCone (int irecon)
 
DirectionEuler GetDirectionEuler (int irecon)
 
double GetDirectionLikelihood (int irecon)
 
double GetEnergy (int irecon)
 
TimeDelta GetFirstTime ()
 
double GetGoodnessOfFit (int irecon)
 
double GetGoodnessOfTimeFit (int irecon)
 
bool GetHasDirection (int irecon)
 
TimeDelta GetLastTime ()
 
int GetNHits (int irecon)
 
int GetNRecons ()
 
Reconstructer_t GetReconstructer (int irecon)
 
TimeDelta GetTime (int irecon)
 
int GetTriggerNum (int irecon)
 
Pos3D GetVertex (int irecon)
 
void Reset ()
 
void SetEnergy (int irecon, double energy)
 

Static Public Member Functions

static std::string EnumAsString (Reconstructer_t r)
 
static std::string EnumAsString (NClustersWarning_t w)
 
static std::string EnumAsString (SNWarning_t w)
 
static NClustersWarning_t NClustersWarningFromString (std::string s)
 
static Reconstructer_t ReconstructerFromString (std::string s)
 
static bool ShouldProvideDirection (Reconstructer_t r)
 
static SNWarning_t SNWarningFromString (std::string s)
 

Private Member Functions

void UpdateTimeBoundaries (TimeDelta time)
 

Private Attributes

std::vector< CherenkovConefCherenkovCone
 
std::vector< DirectionEulerfDirectionEuler
 
std::vector< double > fDirectionLikelihood
 
std::vector< double > fEnergy
 
TimeDelta fFirstTime
 
std::vector< double > fGoodnessOfFit
 
std::vector< double > fGoodnessOfTimeFit
 
std::vector< bool > fHasDirection
 
TimeDelta fLastTime
 
std::vector< int > fNHits
 
int fNRecons
 
std::vector< Reconstructer_tfReconstructer
 
std::vector< TimeDeltafTime
 
std::vector< int > fTriggerNum
 
std::vector< Pos3DfVertex
 

Detailed Description

Definition at line 58 of file ReconInfo.h.

Constructor & Destructor Documentation

ReconInfo::ReconInfo ( )

Definition at line 6 of file ReconInfo.cpp.

Member Function Documentation

void ReconInfo::AddRecon ( Reconstructer_t  reconstructer,
int  trigger_num,
int  nhits,
TimeDelta  time,
double *  vertex,
double  goodness_of_fit,
double  goodness_of_time_fit,
bool  fill_has_direction = true,
double  energy = -1. 
)

Definition at line 11 of file ReconInfo.cpp.

void ReconInfo::AddRecon ( Reconstructer_t  reconstructer,
int  trigger_num,
int  nhits,
TimeDelta  time,
double *  vertex,
double  goodness_of_fit,
double  goodness_of_time_fit,
double *  direction_euler,
double *  cherenkov_cone,
double  direction_likelihood,
double  energy = -1. 
)

Definition at line 38 of file ReconInfo.cpp.

void ReconInfo::AddReconFrom ( ReconInfo in,
const int  irecon 
)

Definition at line 58 of file ReconInfo.cpp.

std::string ReconInfo::EnumAsString ( Reconstructer_t  r)
static

Definition at line 78 of file ReconInfo.cpp.

std::string ReconInfo::EnumAsString ( NClustersWarning_t  w)
static

Definition at line 113 of file ReconInfo.cpp.

std::string ReconInfo::EnumAsString ( SNWarning_t  w)
static

Definition at line 145 of file ReconInfo.cpp.

CherenkovCone ReconInfo::GetCherenkovCone ( int  irecon)
inline

Definition at line 99 of file ReconInfo.h.

DirectionEuler ReconInfo::GetDirectionEuler ( int  irecon)
inline

Definition at line 98 of file ReconInfo.h.

double ReconInfo::GetDirectionLikelihood ( int  irecon)
inline

Definition at line 100 of file ReconInfo.h.

double ReconInfo::GetEnergy ( int  irecon)
inline

Definition at line 90 of file ReconInfo.h.

TimeDelta ReconInfo::GetFirstTime ( )
inline

Definition at line 85 of file ReconInfo.h.

double ReconInfo::GetGoodnessOfFit ( int  irecon)
inline

Definition at line 94 of file ReconInfo.h.

double ReconInfo::GetGoodnessOfTimeFit ( int  irecon)
inline

Definition at line 95 of file ReconInfo.h.

bool ReconInfo::GetHasDirection ( int  irecon)
inline

Definition at line 97 of file ReconInfo.h.

TimeDelta ReconInfo::GetLastTime ( )
inline

Definition at line 86 of file ReconInfo.h.

int ReconInfo::GetNHits ( int  irecon)
inline

Definition at line 89 of file ReconInfo.h.

int ReconInfo::GetNRecons ( )
inline

Definition at line 84 of file ReconInfo.h.

Reconstructer_t ReconInfo::GetReconstructer ( int  irecon)
inline

Definition at line 87 of file ReconInfo.h.

TimeDelta ReconInfo::GetTime ( int  irecon)
inline

Definition at line 92 of file ReconInfo.h.

int ReconInfo::GetTriggerNum ( int  irecon)
inline

Definition at line 88 of file ReconInfo.h.

Pos3D ReconInfo::GetVertex ( int  irecon)
inline

Definition at line 93 of file ReconInfo.h.

NClustersWarning_t ReconInfo::NClustersWarningFromString ( std::string  s)
static

Definition at line 134 of file ReconInfo.cpp.

Reconstructer_t ReconInfo::ReconstructerFromString ( std::string  s)
static

Definition at line 102 of file ReconInfo.cpp.

void ReconInfo::Reset ( )

Definition at line 191 of file ReconInfo.cpp.

void ReconInfo::SetEnergy ( int  irecon,
double  energy 
)
inline

Definition at line 91 of file ReconInfo.h.

bool ReconInfo::ShouldProvideDirection ( Reconstructer_t  r)
static

Definition at line 177 of file ReconInfo.cpp.

SNWarning_t ReconInfo::SNWarningFromString ( std::string  s)
static

Definition at line 166 of file ReconInfo.cpp.

void ReconInfo::UpdateTimeBoundaries ( TimeDelta  time)
private

Definition at line 213 of file ReconInfo.cpp.

Member Data Documentation

std::vector<CherenkovCone> ReconInfo::fCherenkovCone
private

Definition at line 126 of file ReconInfo.h.

std::vector<DirectionEuler> ReconInfo::fDirectionEuler
private

Definition at line 125 of file ReconInfo.h.

std::vector<double> ReconInfo::fDirectionLikelihood
private

Definition at line 127 of file ReconInfo.h.

std::vector<double> ReconInfo::fEnergy
private

Definition at line 115 of file ReconInfo.h.

TimeDelta ReconInfo::fFirstTime
private

Definition at line 108 of file ReconInfo.h.

std::vector<double> ReconInfo::fGoodnessOfFit
private

Definition at line 120 of file ReconInfo.h.

std::vector<double> ReconInfo::fGoodnessOfTimeFit
private

Definition at line 121 of file ReconInfo.h.

std::vector<bool> ReconInfo::fHasDirection
private

Definition at line 124 of file ReconInfo.h.

TimeDelta ReconInfo::fLastTime
private

Definition at line 109 of file ReconInfo.h.

std::vector<int> ReconInfo::fNHits
private

Definition at line 114 of file ReconInfo.h.

int ReconInfo::fNRecons
private

Definition at line 107 of file ReconInfo.h.

std::vector<Reconstructer_t> ReconInfo::fReconstructer
private

Definition at line 112 of file ReconInfo.h.

std::vector<TimeDelta> ReconInfo::fTime
private

Definition at line 118 of file ReconInfo.h.

std::vector<int> ReconInfo::fTriggerNum
private

Definition at line 113 of file ReconInfo.h.

std::vector<Pos3D> ReconInfo::fVertex
private

Definition at line 119 of file ReconInfo.h.


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