LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 30 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 39 of file IPhotonCalibrator.h.

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

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

References recob::OpHit::PE().

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

Definition at line 55 of file IPhotonCalibrator.h.

References recob::OpFlash::TotalPE().

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

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