IB-0.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
IBAnalyzerEM Class Reference

#include <IBAnalyzerEM.h>

Inheritance diagram for IBAnalyzerEM:
IBAnalyzer IBAnalyzerEM3p IBAnalyzerEMTrim

Data Structures

struct  Event
 

Public Types

typedef IBAnalyzer BaseClass
 

Public Member Functions

 IBAnalyzerEM (IBVoxCollection &voxels, int nPath=2, double alpha=0., bool doRecoPath=true, bool oldTCalculation=false, float rankLimit=-100., IBVoxCollection *initialSqrPfromVtk=NULL, int pVoxelMean=0)
 
 ~IBAnalyzerEM ()
 
virtual const char * type_name () const
 
bool AddMuon (const MuonScatterData &muon)
 
bool AddMuonFullPath (const MuonScatterData &muon, std::vector< HPoint3f > &muonPath)
 
void SetMuonCollection (IBMuonCollection *muons)
 
unsigned int Size ()
 
void Run (unsigned int iterations, float muons_ratio)
 
void SetMLAlgorithm (IBAnalyzerEMAlgorithm *MLAlgorithm)
 
IBPocaEvaluatorGetPocaAlgorithm () const
 
void SetPocaAlgorithm (IBPocaEvaluator *algo)
 
IBMinimizationVariablesEvaluatorGetVarAlgorithm () const
 
void SetVarAlgorithm (IBMinimizationVariablesEvaluator *eval)
 
IBVoxRaytracerGetRayAlgorithm () const
 
void SetRayAlgorithm (IBVoxRaytracer *algo)
 
IBAbstract::IBVoxCollectionUpdateAlgorithmGetUpdateAlgorithm () const
 
void SetUpdateAlgorithm (IBAbstract::IBVoxCollectionUpdateAlgorithm *algo)
 
void filterEventsVoxelMask ()
 
void filterEventsLineDistance (float min, float max)
 
void SijCut (float threshold)
 
std::vector< EventSijCutCount (float threshold_low, float threshold_high)
 
void dumpEventsSijInfo (const char *filename, std::vector< float > N)
 
void SijGuess (std::vector< Vector2f > tpv)
 
void Chi2Cut (float threshold)
 
void SetVoxCollection (IBVoxCollection *voxels)
 
void SetVoxcollectionShift (Vector3f shift)
 
void dumpEventsTTree (const char *filename)
 
void DumpP (const char *filename, float x0=0, float x1=10)
 
void DumpEvent (Event *evc)
 
std::vector< Event > & Events ()
 
float SijMedian (const Event &evc)
 
void SetSijMedianMomentum ()
 
- Public Member Functions inherited from IBAnalyzer
virtual IBExperiment * GetExperiment () const
 
virtual void SetExperiment (IBExperiment *exp)
 
virtual IBVoxCollectionGetVoxCollection () const
 
virtual IBMuonCollectionGetMuonCollection () const
 

Protected Attributes

IBAnalyzerEMAlgorithmm_SijAlgorithm
 
Scalarf nominal_momentum
 

Additional Inherited Members

- Data Fields inherited from IBAnalyzer
IBMuonCollectionm_MuonCollection
 
- Protected Member Functions inherited from IBAnalyzer
 IBAnalyzer ()
 
virtual ~IBAnalyzer ()
 

Member Typedef Documentation

Constructor & Destructor Documentation

IBAnalyzerEM::IBAnalyzerEM ( IBVoxCollection voxels,
int  nPath = 2,
double  alpha = 0.,
bool  doRecoPath = true,
bool  oldTCalculation = false,
float  rankLimit = -100.,
IBVoxCollection initialSqrPfromVtk = NULL,
int  pVoxelMean = 0 
)
IBAnalyzerEM::~IBAnalyzerEM ( )

Member Function Documentation

bool IBAnalyzerEM::AddMuon ( const MuonScatterData &  muon)
virtual

Implements IBAnalyzer.

Reimplemented in IBAnalyzerEM3p.

bool IBAnalyzerEM::AddMuonFullPath ( const MuonScatterData &  muon,
std::vector< HPoint3f > &  muonPath 
)
void IBAnalyzerEM::Chi2Cut ( float  threshold)
void IBAnalyzerEM::DumpEvent ( Event evc)
void IBAnalyzerEM::dumpEventsSijInfo ( const char *  filename,
std::vector< float >  N 
)
void IBAnalyzerEM::dumpEventsTTree ( const char *  filename)
void IBAnalyzerEM::DumpP ( const char *  filename,
float  x0 = 0,
float  x1 = 10 
)
std::vector<Event>& IBAnalyzerEM::Events ( )
void IBAnalyzerEM::filterEventsLineDistance ( float  min,
float  max 
)
void IBAnalyzerEM::filterEventsVoxelMask ( )
IBPocaEvaluator* IBAnalyzerEM::GetPocaAlgorithm ( ) const
inline
IBVoxRaytracer* IBAnalyzerEM::GetRayAlgorithm ( ) const
inline
IBAbstract::IBVoxCollectionUpdateAlgorithm* IBAnalyzerEM::GetUpdateAlgorithm ( ) const
inline
IBMinimizationVariablesEvaluator* IBAnalyzerEM::GetVarAlgorithm ( ) const
inline
void IBAnalyzerEM::Run ( unsigned int  iterations,
float  muons_ratio 
)
virtual

Implements IBAnalyzer.

void IBAnalyzerEM::SetMLAlgorithm ( IBAnalyzerEMAlgorithm MLAlgorithm)
void IBAnalyzerEM::SetMuonCollection ( IBMuonCollection muons)
virtual

Reimplemented from IBAnalyzer.

void IBAnalyzerEM::SetPocaAlgorithm ( IBPocaEvaluator algo)
inline
void IBAnalyzerEM::SetRayAlgorithm ( IBVoxRaytracer algo)
inline
void IBAnalyzerEM::SetSijMedianMomentum ( )
void IBAnalyzerEM::SetUpdateAlgorithm ( IBAbstract::IBVoxCollectionUpdateAlgorithm algo)
inline
void IBAnalyzerEM::SetVarAlgorithm ( IBMinimizationVariablesEvaluator eval)
inline
void IBAnalyzerEM::SetVoxCollection ( IBVoxCollection voxels)
virtual

Reimplemented from IBAnalyzer.

void IBAnalyzerEM::SetVoxcollectionShift ( Vector3f  shift)
void IBAnalyzerEM::SijCut ( float  threshold)
std::vector<Event > IBAnalyzerEM::SijCutCount ( float  threshold_low,
float  threshold_high 
)
void IBAnalyzerEM::SijGuess ( std::vector< Vector2f >  tpv)
float IBAnalyzerEM::SijMedian ( const Event evc)
unsigned int IBAnalyzerEM::Size ( )
virtual

Reimplemented from IBAnalyzer.

virtual const char* IBAnalyzerEM::type_name ( ) const
inlinevirtual

Implements IBAnalyzer.

Reimplemented in IBAnalyzerEMTrim, and IBAnalyzerEM3p.

Field Documentation

IBAnalyzerEMAlgorithm* IBAnalyzerEM::m_SijAlgorithm
protected
Scalarf IBAnalyzerEM::nominal_momentum
protected

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