CMS 3D CMS Logo

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

◆ Efficiency()

condex::Efficiency::Efficiency ( )
inline

Definition at line 21 of file Efficiency.h.

21 {}

◆ ~Efficiency()

virtual condex::Efficiency::~Efficiency ( )
inlinevirtual

Definition at line 22 of file Efficiency.h.

22 {}

Member Function Documentation

◆ initialize()

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; }

◆ operator()()

float condex::Efficiency::operator() ( float  pt,
float  eta 
) const
inline

Definition at line 24 of file Efficiency.h.

References PVValHelper::eta, DiDispStaMuonMonitor_cfi::pt, and value().

24 { return value(pt, eta); }
virtual float value(float pt, float eta) const =0

◆ serialize()

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

◆ value()

virtual float condex::Efficiency::value ( float  pt,
float  eta 
) const
pure virtual

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 28 of file Efficiency.h.

◆ cond::serialization::access

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

Definition at line 28 of file Efficiency.h.