10 #ifndef OPDET_RESPONSE_INTERFACE_H 11 #define OPDET_RESPONSE_INTERFACE_H 22 #include "CLHEP/Random/RandFlat.h" 42 virtual bool detectedLite(
int OpChannel,
int &newOpChannel)
const;
54 virtual bool doDetectedLite(
int OpChannel,
int &newOpChannel)
const = 0;
102 return doDetected(OpChannel, Phot, newOpChannel);
109 return doDetected(OpChannel, Phot, newOpChannel);
128 return (2.0*3.142)*0.000197/
energy;
136 #endif //OPDET_RESPONSE_H Index OpChannel(Index detNum, Index channel)
virtual void reconfigure(fhicl::ParameterSet const &p)
All information of a photon entering the sensitive optical detector volume.
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.
art framework interface to geometry description
unsigned int OpDetFromOpChannel(int opChannel) const
Convert unique channel to detector number.
virtual void doReconfigure(fhicl::ParameterSet const &p)=0
Simulation objects for optical detectors.
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
virtual int readoutToGeoChannel(int readoutChannel) const
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
virtual float wavelength(double energy) const