DPhaseSimChannelExtractService.h
Go to the documentation of this file.
1 // DPhaseSimChannelExtractService.h
2 //
3 // Vyacheslav Galymov
4 // February 2016
5 //
6 // Simulate signals from dual-phase detector:
7 // - charge amplification in gas
8 // - charge collection in two views
9 //
10 
11 #ifndef _DPhaseSimChannelExtractService_H_
12 #define _DPhaseSimChannelExtractService_H_
13 
14 #include <vector>
15 #include <string>
22 //#include "dunesim/DetSim/Tool/CrpGainSimTool.h"
23 
24 namespace sim {
25  class SimChannel;
26 }
27 
28 //class CrpGainSimulator;
29 
31 
32 public:
33 
35 
36  int extract(detinfo::DetectorClocksData const& clockData,
37  const sim::SimChannel* psc, AdcSignalVector& sig) const;
38 
39  std::ostream& print(std::ostream& out =std::cout, std::string prefix ="") const;
40 
41  //float GainPerView(){ return fDPGainPerView; };
42 
43 private:
44 
45  // standard larsoft FFT service
47 
48  // dual-phase signal response service
50 
51  //
53  // tool to simulate charge gain in CRPs
54  //std::string m_CrpGainToolName;
55  //std::unique_ptr<CrpGainSimTool> m_CrpGainTool;
56 
57  unsigned int m_ntick;
58  //float fDPGainPerView; // gain in dual-phase
59 };
60 
62 
63 #endif
Energy deposited on a readout channel by simulated tracks.
Definition: SimChannel.h:140
art::ServiceHandle< util::CrpGainService > m_crpgain
std::string string
Definition: nybbler.cc:12
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
art::ServiceHandle< util::SignalShapingServiceDUNEDPhase > m_psss
Code to link reconstructed objects back to the MC truth information.
Service to provide DUNE dual-phase signal shaping for simulation (convolution) and reconstruction (de...
Contains all timing reference information for the detector.
art::ServiceHandle< util::LArFFT > m_pfft
std::vector< AdcSignal > AdcSignalVector
Definition: AdcTypes.h:22