CMS 3D CMS Logo

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

#include <AbsOOTPileupCorrection.h>

Inheritance diagram for AbsOOTPileupCorrection:
DummyOOTPileupCorrection OOTPileupCorrData

Public Member Functions

virtual void apply (const HcalDetId &id, const double *inputCharge, unsigned lenInputCharge, const BunchXParameter *bcParams, unsigned lenBcParams, unsigned firstTimeSlice, unsigned nTimeSlices, double *correctedCharge, unsigned lenCorrectedCharge, bool *pulseShapeCorrApplied, bool *leakCorrApplied, bool *readjustTiming) const =0
 
virtual bool inputIsEnergy () const =0
 
bool operator!= (const AbsOOTPileupCorrection &r) const
 
bool operator== (const AbsOOTPileupCorrection &r) const
 
virtual ~AbsOOTPileupCorrection ()
 

Protected Member Functions

virtual bool isEqual (const AbsOOTPileupCorrection &) const =0
 

Private Member Functions

template<typename Ar >
void serialize (Ar &ar, unsigned)
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 24 of file AbsOOTPileupCorrection.h.

Constructor & Destructor Documentation

virtual AbsOOTPileupCorrection::~AbsOOTPileupCorrection ( )
inlinevirtual

Definition at line 27 of file AbsOOTPileupCorrection.h.

27 {}

Member Function Documentation

virtual void AbsOOTPileupCorrection::apply ( const HcalDetId id,
const double *  inputCharge,
unsigned  lenInputCharge,
const BunchXParameter *  bcParams,
unsigned  lenBcParams,
unsigned  firstTimeSlice,
unsigned  nTimeSlices,
double *  correctedCharge,
unsigned  lenCorrectedCharge,
bool *  pulseShapeCorrApplied,
bool *  leakCorrApplied,
bool *  readjustTiming 
) const
pure virtual
virtual bool AbsOOTPileupCorrection::inputIsEnergy ( ) const
pure virtual
virtual bool AbsOOTPileupCorrection::isEqual ( const AbsOOTPileupCorrection ) const
protectedpure virtual

Implemented in OOTPileupCorrData, and DummyOOTPileupCorrection.

Referenced by operator==().

bool AbsOOTPileupCorrection::operator!= ( const AbsOOTPileupCorrection r) const
inline

Definition at line 101 of file AbsOOTPileupCorrection.h.

References alignCSCRings::r.

102  {return !(*this == r);}
bool AbsOOTPileupCorrection::operator== ( const AbsOOTPileupCorrection r) const
inline

Definition at line 99 of file AbsOOTPileupCorrection.h.

References isEqual().

100  {return (typeid(*this) == typeid(r)) && this->isEqual(r);}
virtual bool isEqual(const AbsOOTPileupCorrection &) const =0
template<typename Ar >
void AbsOOTPileupCorrection::serialize ( Ar &  ar,
unsigned   
)
inlineprivate

Definition at line 112 of file AbsOOTPileupCorrection.h.

112 {}

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 110 of file AbsOOTPileupCorrection.h.