Definition at line 61 of file RawDigitAna_module.cc.
RawDigitAna::RawDigitAna::RawDigitAna |
( |
fhicl::ParameterSet const & |
pset | ) |
|
|
explicit |
Definition at line 117 of file RawDigitAna_module.cc.
118 : EDAnalyzer(parameterSet),
122 fGeometry = lar::providerFrom<geo::Geometry>();
const geo::GeometryCore * fGeometry
const lariov::DetPedestalProvider & fPedestalRetrievalAlg
Keep track of an instance to the pedestal retrieval alg.
void reconfigure(fhicl::ParameterSet const &pset)
RawDigitAna::RawDigitAna::~RawDigitAna |
( |
| ) |
|
|
virtual |
void RawDigitAna::RawDigitAna::analyze |
( |
const art::Event & |
evt | ) |
|
|
override |
Definition at line 183 of file RawDigitAna_module.cc.
186 fEvent =
event.id().event();
192 auto const clockData = art::ServiceHandle<detinfo::DetectorClocksService const>()->DataFor(event);
193 auto const detProp = art::ServiceHandle<detinfo::DetectorPropertiesService const>()->DataFor(event, clockData);
199 art::Handle< std::vector<raw::RawDigit> > rawDigitHandle;
200 event.getByLabel(rawDigitLabel, rawDigitHandle);
204 art::Handle<std::vector<sim::SimChannel>> simChannelHandle;
211 if (simChannelHandle.isValid())
213 for(
const auto& simChannel : *simChannelHandle) channelMap[simChannel.Channel()] = &simChannel;
216 if (rawDigitHandle.isValid())
219 art::fill_ptr_vector(allRawDigitVec, rawDigitHandle);
std::vector< art::InputTag > fRawDigitProducerLabelVec
art::InputTag fSimChannelProducerLabel
std::vector< std::unique_ptr< IRawDigitHistogramTool > > fRawDigitHistogramToolVec
void RawDigitAna::RawDigitAna::beginJob |
( |
| ) |
|
|
override |
Definition at line 134 of file RawDigitAna_module.cc.
142 art::ServiceHandle<art::TFileService>
tfs;
147 auto const clockData = art::ServiceHandle<detinfo::DetectorClocksService const>()->DataForJob();
148 auto const detProp = art::ServiceHandle<detinfo::DetectorPropertiesService const>()->DataForJob(clockData);
std::vector< std::unique_ptr< IRawDigitHistogramTool > > fRawDigitHistogramToolVec
art::ServiceHandle< art::TFileService > tfs
void RawDigitAna::RawDigitAna::beginRun |
( |
const art::Run & |
run | ) |
|
|
override |
void RawDigitAna::RawDigitAna::endJob |
( |
| ) |
|
|
override |
Definition at line 228 of file RawDigitAna_module.cc.
std::vector< std::unique_ptr< IRawDigitHistogramTool > > fRawDigitHistogramToolVec
void RawDigitAna::RawDigitAna::reconfigure |
( |
fhicl::ParameterSet const & |
pset | ) |
|
Definition at line 166 of file RawDigitAna_module.cc.
170 fRawDigitProducerLabelVec =
p.get< std::vector<art::InputTag> >(
"RawDigitModuleLabel", std::vector<art::InputTag>() = {
"rawdigitfilter"});
174 const std::vector<fhicl::ParameterSet>& rawDigitHistogramToolVec =
p.get<std::vector<fhicl::ParameterSet>>(
"RawDigitHistogramToolList");
176 for(
auto& rawDigitHistogramTool : rawDigitHistogramToolVec)
std::vector< art::InputTag > fRawDigitProducerLabelVec
art::InputTag fSimChannelProducerLabel
std::vector< std::unique_ptr< IRawDigitHistogramTool > > fRawDigitHistogramToolVec
std::vector<std::vector<double> > RawDigitAna::RawDigitAna::fChannelPedVec |
|
private |
int RawDigitAna::RawDigitAna::fEvent |
|
private |
int RawDigitAna::RawDigitAna::fNumEvents |
|
private |
std::vector<art::InputTag> RawDigitAna::RawDigitAna::fRawDigitProducerLabelVec |
|
private |
int RawDigitAna::RawDigitAna::fRun |
|
private |
art::InputTag RawDigitAna::RawDigitAna::fSimChannelProducerLabel |
|
private |
int RawDigitAna::RawDigitAna::fSubRun |
|
private |
The documentation for this class was generated from the following file: