EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
Functions
eicrecon::Tools Namespace Reference

Functions

std::unordered_map< int, std::string > GetRadiatorIDs ()
 
std::string GetRadiatorName (int id)
 
int GetRadiatorID (std::string name)
 
std::vector< std::pair< double, double > > ApplyFineBinning (const std::vector< std::pair< double, double > > &input, unsigned nbins)
 
bool GetFinelyBinnedTableEntry (const std::vector< std::pair< double, double > > &table, double argument, double *entry)
 
template<class PodioVector3 >
TVector3 PodioVector3_to_TVector3 (const PodioVector3 v)
 
template<class MathVector3 >
TVector3 MathVector3_to_TVector3 (MathVector3 v)
 
std::string PrintTVector3 (std::string name, TVector3 vec, int nameBuffer=30)
 
std::string HypothesisTableHead (int indent=4)
 
std::string HypothesisTableLine (edm4eic::CherenkovParticleIDHypothesis hyp, int indent=4)
 
std::string HypothesisTableLine (edm4hep::ParticleID hyp, int indent=4)
 

Function Documentation

◆ ApplyFineBinning()

std::vector< std::pair< double, double > > eicrecon::Tools::ApplyFineBinning ( const std::vector< std::pair< double, double > > &  input,
unsigned  nbins 
)
inline

◆ GetFinelyBinnedTableEntry()

bool eicrecon::Tools::GetFinelyBinnedTableEntry ( const std::vector< std::pair< double, double > > &  table,
double  argument,
double *  entry 
)
inline

◆ GetRadiatorID()

int eicrecon::Tools::GetRadiatorID ( std::string  name)
inline

◆ GetRadiatorIDs()

std::unordered_map< int, std::string > eicrecon::Tools::GetRadiatorIDs ( )
inline

◆ GetRadiatorName()

std::string eicrecon::Tools::GetRadiatorName ( int  id)
inline

◆ HypothesisTableHead()

std::string eicrecon::Tools::HypothesisTableHead ( int  indent = 4)
inline

◆ HypothesisTableLine() [1/2]

std::string eicrecon::Tools::HypothesisTableLine ( edm4eic::CherenkovParticleIDHypothesis  hyp,
int  indent = 4 
)
inline

◆ HypothesisTableLine() [2/2]

std::string eicrecon::Tools::HypothesisTableLine ( edm4hep::ParticleID  hyp,
int  indent = 4 
)
inline

◆ MathVector3_to_TVector3()

template<class MathVector3 >
TVector3 eicrecon::Tools::MathVector3_to_TVector3 ( MathVector3  v)

◆ PodioVector3_to_TVector3()

template<class PodioVector3 >
TVector3 eicrecon::Tools::PodioVector3_to_TVector3 ( const PodioVector3  v)

◆ PrintTVector3()

std::string eicrecon::Tools::PrintTVector3 ( std::string  name,
TVector3  vec,
int  nameBuffer = 30 
)
inline