CMS 3D CMS Logo

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 26 of file AbsOOTPileupCorrection.h.

Constructor & Destructor Documentation

◆ ~AbsOOTPileupCorrection()

virtual AbsOOTPileupCorrection::~AbsOOTPileupCorrection ( )
inlinevirtual

Definition at line 28 of file AbsOOTPileupCorrection.h.

28 {}

Member Function Documentation

◆ apply()

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

◆ inputIsEnergy()

virtual bool AbsOOTPileupCorrection::inputIsEnergy ( ) const
pure virtual

◆ isEqual()

virtual bool AbsOOTPileupCorrection::isEqual ( const AbsOOTPileupCorrection ) const
protectedpure virtual

Implemented in OOTPileupCorrData, and DummyOOTPileupCorrection.

Referenced by operator==().

◆ operator!=()

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

Definition at line 108 of file AbsOOTPileupCorrection.h.

References alignCSCRings::r.

108 { return !(*this == r); }

◆ operator==()

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

Definition at line 105 of file AbsOOTPileupCorrection.h.

References isEqual(), and alignCSCRings::r.

105  {
106  return (typeid(*this) == typeid(r)) && this->isEqual(r);
107  }
virtual bool isEqual(const AbsOOTPileupCorrection &) const =0

◆ serialize()

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

Definition at line 118 of file AbsOOTPileupCorrection.h.

118 {}

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 116 of file AbsOOTPileupCorrection.h.