CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Friends
condex::Efficiency Class Referenceabstract

#include <Efficiency.h>

Inheritance diagram for condex::Efficiency:
condex::ParametricEfficiencyInEta condex::ParametricEfficiencyInPt

Public Member Functions

 Efficiency ()
 
virtual void initialize ()
 
float operator() (float pt, float eta) const
 
virtual float value (float pt, float eta) const =0
 
virtual ~Efficiency ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 21 of file Efficiency.h.

Constructor & Destructor Documentation

condex::Efficiency::Efficiency ( )
inline

Definition at line 23 of file Efficiency.h.

23 {}
virtual condex::Efficiency::~Efficiency ( )
inlinevirtual

Definition at line 24 of file Efficiency.h.

24 {}

Member Function Documentation

virtual void condex::Efficiency::initialize ( )
inlinevirtual

Definition at line 25 of file Efficiency.h.

References gather_cfg::cout.

25 { std::cout << "initializing base class Efficiency" <<std::endl;}
tuple cout
Definition: gather_cfg.py:145
float condex::Efficiency::operator() ( float  pt,
float  eta 
) const
inline

Definition at line 26 of file Efficiency.h.

References value().

26  {
27  return value(pt,eta);
28  }
virtual float value(float pt, float eta) const =0
template<class Archive >
void condex::Efficiency::serialize ( Archive &  ar,
const unsigned int  version 
)
private
virtual float condex::Efficiency::value ( float  pt,
float  eta 
) const
pure virtual

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 33 of file Efficiency.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 33 of file Efficiency.h.