All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
calib::IPhotonCalibrator Class Referenceabstract

#include <IPhotonCalibrator.h>

Inheritance diagram for calib::IPhotonCalibrator:
calib::PhotonCalibratorStandard

Public Member Functions

 IPhotonCalibrator (IPhotonCalibrator const &)=delete
 
 IPhotonCalibrator (IPhotonCalibrator &&)=delete
 
IPhotonCalibratoroperator= (IPhotonCalibrator const &)=delete
 
IPhotonCalibratoroperator= (IPhotonCalibrator &&)=delete
 
 IPhotonCalibrator ()
 
virtual ~IPhotonCalibrator ()=default
 
virtual double PE (double adcs, int opchannel) const =0
 
virtual bool UseArea () const =0
 
double PE (const recob::OpHit &oh) const
 Convenience. More...
 
double PE (const recob::OpFlash &of) const
 

Detailed Description

May want to swap in dummy charge and photon calibrations in various combinations.

Definition at line 21 of file IPhotonCalibrator.h.

Constructor & Destructor Documentation

calib::IPhotonCalibrator::IPhotonCalibrator ( IPhotonCalibrator const &  )
delete
calib::IPhotonCalibrator::IPhotonCalibrator ( IPhotonCalibrator &&  )
delete
calib::IPhotonCalibrator::IPhotonCalibrator ( )
inline

Definition at line 30 of file IPhotonCalibrator.h.

30 {};
virtual calib::IPhotonCalibrator::~IPhotonCalibrator ( )
virtualdefault

Member Function Documentation

IPhotonCalibrator& calib::IPhotonCalibrator::operator= ( IPhotonCalibrator const &  )
delete
IPhotonCalibrator& calib::IPhotonCalibrator::operator= ( IPhotonCalibrator &&  )
delete
virtual double calib::IPhotonCalibrator::PE ( double  adcs,
int  opchannel 
) const
pure virtual
double calib::IPhotonCalibrator::PE ( const recob::OpHit oh) const
inline

Convenience.

Need a 3D position because result depends on position along length of bar. This is going to be pretty imprecise even so.

Definition at line 41 of file IPhotonCalibrator.h.

42  {
43  return oh.PE();
44  }
double PE() const
Definition: OpHit.h:95
double calib::IPhotonCalibrator::PE ( const recob::OpFlash of) const
inline

Definition at line 46 of file IPhotonCalibrator.h.

47  {
48  return of.TotalPE();
49  }
double TotalPE() const
Definition: OpFlash.cxx:68
virtual bool calib::IPhotonCalibrator::UseArea ( ) const
pure virtual

The documentation for this class was generated from the following file: