Public Member Functions | List of all members
calib::IPhotonCalibrator Class Referenceabstract

#include <IPhotonCalibrator.h>

Inheritance diagram for calib::IPhotonCalibrator:
calib::PhotonCalibratorProtoDUNESP 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 29 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 38 of file IPhotonCalibrator.h.

38 {};
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 49 of file IPhotonCalibrator.h.

50  {
51  return oh.PE();
52  }
double PE() const
Definition: OpHit.h:69
double calib::IPhotonCalibrator::PE ( const recob::OpFlash of) const
inline

Definition at line 54 of file IPhotonCalibrator.h.

55  {
56  return of.TotalPE();
57  }
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: