DefaultOpDetResponse.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file DefaultOpDetResponse.h
3 //
4 // \brief service containing information about the response of optical detectors, which by default does nothing
5 //
6 // \author ahimmel@phy.duke.edu
7 //
8 ////////////////////////////////////////////////////////////////////////
9 
10 #ifndef DEFAULT_OPDET_RESPONSE_H
11 #define DEFAULT_OPDET_RESPONSE_H
12 
13 // LArSoft includes
16 
17 
18 
19 namespace opdet
20 {
22  public:
23 
25 
26  private:
27 
28  virtual void doReconfigure(fhicl::ParameterSet const& p);
29  virtual bool doDetected(int OpChannel, const sim::OnePhoton& Phot, int &newOpChannel) const;
30  virtual bool doDetectedLite(int OpChannel, int &newOpChannel) const;
31 
32  }; // class DefaultOpDetResponse
33 
34 
35 } //namespace opdet
36 
37 
39 
40 #endif //DEFAULT_OPDET_RESPONSE_H
Index OpChannel(Index detNum, Index channel)
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
All information of a photon entering the sensitive optical detector volume.
Definition: SimPhotons.h:64
virtual void doReconfigure(fhicl::ParameterSet const &p)
Simulation objects for optical detectors.
p
Definition: test.py:223
DefaultOpDetResponse(fhicl::ParameterSet const &pset)
virtual bool doDetectedLite(int OpChannel, int &newOpChannel) const
virtual bool doDetected(int OpChannel, const sim::OnePhoton &Phot, int &newOpChannel) const