12 #ifndef _tls_EMComponent_h_
13 #define _tls_EMComponent_h_
15 #include <tls/VEMComponent.h>
17 #include <boost/shared_ptr.hpp>
19 namespace utl {
class Branch; }
51 double SignalRatio(
double x,
double y,
double rmu,
double theta,
double phi)
60 const double emRatio =
fEMComponent->SignalRatio(x,y,rmu,theta,phi);
61 return emRatio > 0.0 ? 1.0 - 1.0/(1.0+emRatio) : 0.0;
77 #endif // _tls_EMComponent_h_
Facade for any instance of EMComponent.
virtual double GetThetaMin()
EMComponent(utl::Branch branch)
Class representing a document branch.
double TotalSignalFraction(double x, double y, double rmu, double theta, double phi)
Ratio between electromagnetic and total signal.
double SignalRatio(double x, double y, double rmu, double theta, double phi)
Ratio between electromagnetic and muon signal.
virtual double GetThetaMax()
boost::shared_ptr< tls::VEMComponent > fEMComponent