SimChannelExtractService.h
Go to the documentation of this file.
1 // SimChannelExtractService.h
2 
3 // David Adams
4 // December 2015
5 //
6 // Interface for a service that extracts charge for one channel from
7 // a SimChannel object and assigns it to ticks.
8 
9 #ifndef SimChannelExtractService_H
10 #define SimChannelExtractService_H
11 
12 #include <vector>
13 #include <iostream>
15 
16 namespace detinfo {
17  class DetectorClocksData;
18 }
19 
20 namespace sim {
21 class SimChannel;
22 }
23 
25 
26 public:
27 
28  virtual ~SimChannelExtractService() =default;
29 
30  virtual int extract(detinfo::DetectorClocksData const& clockData,
31  const sim::SimChannel* psc, AdcSignalVector& sig) const =0;
32 
33  virtual std::ostream& print(std::ostream& out =std::cout, std::string prefix ="") const =0;
34 
35 };
36 
37 #ifndef __CLING__
40 #endif
41 
42 #endif
Energy deposited on a readout channel by simulated tracks.
Definition: SimChannel.h:140
std::string string
Definition: nybbler.cc:12
General LArSoft Utilities.
Code to link reconstructed objects back to the MC truth information.
Contains all timing reference information for the detector.
std::vector< AdcSignal > AdcSignalVector
Definition: AdcTypes.h:22
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)