LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 20 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 28 of file IPhotonCalibrator.h.

References PE(), UseArea(), and ~IPhotonCalibrator().

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

Referenced by IPhotonCalibrator().

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 39 of file IPhotonCalibrator.h.

References recob::OpHit::PE().

39 { return oh.PE(); }
double PE() const
Definition: OpHit.h:122
double calib::IPhotonCalibrator::PE ( const recob::OpFlash of) const
inline

Definition at line 41 of file IPhotonCalibrator.h.

References recob::OpFlash::TotalPE().

41 { return of.TotalPE(); }
double TotalPE() const
Definition: OpFlash.cxx:94
virtual bool calib::IPhotonCalibrator::UseArea ( ) const
pure virtual

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