Public Types | |
using | WorkerType = WorkerT< EDAnalyzer > |
using | ModuleType = EDAnalyzer |
Public Member Functions | |
SupernovaAna (fhicl::ParameterSet const &p) | |
SupernovaAna (SupernovaAna const &)=delete | |
SupernovaAna (SupernovaAna &&)=delete | |
SupernovaAna & | operator= (SupernovaAna const &)=delete |
SupernovaAna & | operator= (SupernovaAna &&)=delete |
void | analyze (art::Event const &e) override |
void | beginJob () |
void | endJob () |
void | FillPlaneSeperations (art::Ptr< rb::Cluster > &aSlice, int &min_cell_sep, double &min_plane_sep, double &min_sep) |
std::string | workerType () const |
void | doBeginJob () |
void | doEndJob () |
void | doRespondToOpenInputFile (FileBlock const &fb) |
void | doRespondToCloseInputFile (FileBlock const &fb) |
void | doRespondToOpenOutputFiles (FileBlock const &fb) |
void | doRespondToCloseOutputFiles (FileBlock const &fb) |
bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
void | registerProducts (ProductDescriptions &, ModuleDescription const &) |
void | fillDescriptions (ModuleDescription const &) |
std::string const & | processName () const |
bool | wantAllEvents () const |
bool | wantEvent (Event const &e) |
fhicl::ParameterSetID | selectorConfig () const |
Handle< TriggerResults > | getTriggerResults (Event const &e) const |
ModuleDescription const & | moduleDescription () const |
void | setModuleDescription (ModuleDescription const &) |
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
void | sortConsumables (std::string const ¤t_process_name) |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Protected Member Functions | |
detail::ProcessAndEventSelectors & | processAndEventSelectors () |
ConsumesCollector & | consumesCollector () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
Private Attributes | |
std::string | fCellHitsLabel |
Label of module making the cell hits. More... | |
std::string | fSlicerLabel |
Instance label making the slices. More... | |
bool | fVerbose |
Verbose output. More... | |
int | nEvent = 0 |
TH1F * | hNSlices |
TH1F * | hSlicesNHits |
TH1F * | hSlicesSumADC |
TH1F * | hSlicesMeanADC |
TH1F * | hSlicesMinInPlaneSeperation |
TH1F * | hSlicesMinCrossPlaneSeperation |
TH1F * | hSlicesMinSeperation |
TH1F * | hNNoiseSlices |
TH1F * | hNoiseSlicesNHits |
TH1F * | hNoiseSlicesSumADC |
TH1F * | hNoiseSlicesMeanADC |
TH1F * | hNoiseSlicesMinInPlaneSeperation |
TH1F * | hNoiseSlicesMinCrossPlaneSeperation |
TH1F * | hNoiseSlicesMinSeperation |
TH1F * | h_t_SumADC |
TH1F * | h_t_Nhits |
TH1F * | h_t_MeanADC |
TH1F * | h_t_NSlices |
TH1F * | h_t_SliceNHits |
TH1F * | h_t_SliceMeanHits |
TH1F * | h_t_NNoiseSlices |
TH1F * | h_t_NoiseNHits |
TH1F * | h_t_NoiseMeanHits |
TH2F * | hADC_vs_mb |
TH2F * | hSlice_hits_vs_mb |
TH2F * | hMeanADC_vs_Slice_hits |
TH2F * | hNoiseSlice_hits_vs_mb |
TH2F * | hNoiseMeanADC_vs_Slice_hits |
Definition at line 38 of file SupernovaAna_module.cc.
|
inherited |
Definition at line 25 of file EDAnalyzer.h.
|
inherited |
Definition at line 24 of file EDAnalyzer.h.
|
explicit |
Definition at line 99 of file SupernovaAna_module.cc.
References om::cout, allTimeWatchdog::endl, fCellHitsLabel, fSlicerLabel, fVerbose, h_t_MeanADC, h_t_Nhits, h_t_NNoiseSlices, h_t_NoiseMeanHits, h_t_NoiseNHits, h_t_NSlices, h_t_SliceMeanHits, h_t_SliceNHits, h_t_SumADC, hADC_vs_mb, hMeanADC_vs_Slice_hits, hNNoiseSlices, hNoiseMeanADC_vs_Slice_hits, hNoiseSlice_hits_vs_mb, hNoiseSlicesMeanADC, hNoiseSlicesMinCrossPlaneSeperation, hNoiseSlicesMinInPlaneSeperation, hNoiseSlicesMinSeperation, hNoiseSlicesNHits, hNoiseSlicesSumADC, hNSlices, hSlice_hits_vs_mb, hSlicesMeanADC, hSlicesMinCrossPlaneSeperation, hSlicesMinInPlaneSeperation, hSlicesMinSeperation, hSlicesNHits, and hSlicesSumADC.
|
delete |
|
delete |
|
overridevirtual |
Implements art::EDAnalyzer.
Definition at line 160 of file SupernovaAna_module.cc.
References rawdata::RawDigit::ADC(), getBrightness::cell, rawdata::RawDigit::Channel(), visualisationForPaperMasterPlot::cmap, om::cout, allTimeWatchdog::endl, art::EventID::event(), fCellHitsLabel, FillPlaneSeperations(), fSlicerLabel, fVerbose, art::DataViewImpl::getByLabel(), cmap::dataprov::CMap::GetCell(), cmap::dataprov::CMap::GetPlane(), daqchannelmap::DAQChannelMap::getView(), h_t_MeanADC, h_t_Nhits, h_t_NNoiseSlices, h_t_NoiseMeanHits, h_t_NoiseNHits, h_t_NSlices, h_t_SliceMeanHits, h_t_SliceNHits, h_t_SumADC, hADC_vs_mb, hits(), hMeanADC_vs_Slice_hits, hNNoiseSlices, hNoiseMeanADC_vs_Slice_hits, hNoiseSlice_hits_vs_mb, hNoiseSlicesMeanADC, hNoiseSlicesMinCrossPlaneSeperation, hNoiseSlicesMinInPlaneSeperation, hNoiseSlicesMinSeperation, hNoiseSlicesNHits, hNoiseSlicesSumADC, hNSlices, hSlice_hits_vs_mb, hSlicesMeanADC, hSlicesMinCrossPlaneSeperation, hSlicesMinInPlaneSeperation, hSlicesMinSeperation, hSlicesNHits, hSlicesSumADC, art::Event::id(), makeTrainCVSamples::int, rb::Cluster::IsNoise(), cmap::dataprov::CMap::Map(), rb::Cluster::NCell(), nEvent, NDAPDHVSetting::plane, string, rawdata::RawDigit::TDC(), rb::Cluster::TotalADC(), POTSpillRate::view, and daqchannelmap::X_VIEW.
|
virtual |
Reimplemented from art::EDAnalyzer.
Definition at line 147 of file SupernovaAna_module.cc.
References om::cout, and allTimeWatchdog::endl.
|
protectedinherited |
Definition at line 55 of file ModuleBase.h.
References art::ModuleBase::collector_, art::ConsumesCollector::consumes(), T, and getGoodRuns4SAM::tag.
|
protectedinherited |
|
protectedinherited |
Definition at line 69 of file ModuleBase.h.
References art::ModuleBase::collector_, art::ConsumesCollector::consumesMany(), and T.
|
protectedinherited |
|
inherited |
Definition at line 62 of file ModuleBase.h.
References art::ModuleBase::collector_, art::ConsumesCollector::consumesView(), T, and getGoodRuns4SAM::tag.
|
inherited |
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Referenced by art::detail::Analyzer::Analyzer().
Referenced by art::detail::Analyzer::Analyzer().
Referenced by art::detail::Analyzer::Analyzer().
Referenced by art::detail::Analyzer::Analyzer().
Referenced by art::detail::Analyzer::Analyzer().
|
virtual |
Reimplemented from art::EDAnalyzer.
Definition at line 153 of file SupernovaAna_module.cc.
References om::cout, allTimeWatchdog::endl, and nEvent.
|
inherited |
void sn::SupernovaAna::FillPlaneSeperations | ( | art::Ptr< rb::Cluster > & | aSlice, |
int & | min_cell_sep, | ||
double & | min_plane_sep, | ||
double & | min_sep | ||
) |
Definition at line 326 of file SupernovaAna_module.cc.
References rb::CellHit::Cell(), rb::Cluster::Cell(), DEFINE_ART_MODULE(), MECModelEnuComparisons::i, calib::j, rb::Cluster::NCell(), rb::CellHit::Plane(), util::pythag(), sep, and rb::CellHit::View().
Referenced by analyze().
|
inherited |
|
inherited |
|
protectedinherited |
Definition at line 76 of file ModuleBase.h.
References art::ModuleBase::collector_, art::ConsumesCollector::mayConsume(), T, and getGoodRuns4SAM::tag.
|
protectedinherited |
Definition at line 90 of file ModuleBase.h.
References art::ModuleBase::collector_, art::ConsumesCollector::mayConsumeMany(), and T.
|
protectedinherited |
|
inherited |
Definition at line 83 of file ModuleBase.h.
References art::ModuleBase::collector_, art::ConsumesCollector::mayConsumeView(), T, and getGoodRuns4SAM::tag.
|
inherited |
|
delete |
|
delete |
|
protectedinherited |
|
inherited |
Referenced by art::FileDumperOutput::printPrincipal().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Referenced by art::EDAnalyzer::EDAnalyzer().
|
private |
Label of module making the cell hits.
Definition at line 56 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Instance label making the slices.
Definition at line 57 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Verbose output.
Definition at line 58 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 82 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 81 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 86 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 88 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 87 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 83 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 85 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 84 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 80 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 91 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 93 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 71 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 95 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 94 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 74 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 76 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 75 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 77 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 72 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 73 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 64 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 92 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 67 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 69 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 68 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 70 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 65 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 66 of file SupernovaAna_module.cc.
Referenced by analyze(), and SupernovaAna().
|
private |
Definition at line 61 of file SupernovaAna_module.cc.