CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 19 of file Efficiency.h.

Constructor & Destructor Documentation

condex::Efficiency::Efficiency ( )
inline

Definition at line 21 of file Efficiency.h.

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

Definition at line 22 of file Efficiency.h.

22 {}

Member Function Documentation

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

Definition at line 23 of file Efficiency.h.

References gather_cfg::cout.

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

Definition at line 24 of file Efficiency.h.

References value().

24 { return value(pt, eta); }
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 28 of file Efficiency.h.

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

Definition at line 28 of file Efficiency.h.