10 #ifndef OPDET_RESPONSE_INTERFACE_H 11 #define OPDET_RESPONSE_INTERFACE_H 24 #include "CLHEP/Random/RandFlat.h" 44 virtual bool detectedLite(
int OpChannel,
int &newOpChannel)
const;
56 virtual bool doDetectedLite(
int OpChannel,
int &newOpChannel)
const = 0;
104 return doDetected(OpChannel, Phot, newOpChannel);
111 return doDetected(OpChannel, Phot, newOpChannel);
130 return (2.0*3.142)*0.000197/
energy;
138 #endif //OPDET_RESPONSE_H
virtual void reconfigure(fhicl::ParameterSet const &p)
virtual bool detected(int OpChannel, const sim::OnePhoton &Phot, int &newOpChannel) const
unsigned int NOpChannels() const
Number of electronics channels for all the optical detectors.
unsigned int OpDetFromOpChannel(int opChannel) const
Convert unique channel to detector number.
virtual void doReconfigure(fhicl::ParameterSet const &p)=0
contains objects relating to OpDet hits
virtual int NOpChannels() const
virtual ~OpDetResponseInterface()=default
virtual bool doDetected(int OpChannel, const sim::OnePhoton &Phot, int &newOpChannel) const =0
virtual bool detectedLite(int OpChannel, int &newOpChannel) const
virtual int doNOpChannels() const
virtual bool doDetectedLite(int OpChannel, int &newOpChannel) const =0
virtual int doReadoutToGeoChannel(int readoutChannel) const
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
virtual int readoutToGeoChannel(int readoutChannel) const
virtual float wavelength(double energy) const
art framework interface to geometry description