125 _tree = fileService->make<TTree>(
"pmt_tree",
"Analysis Tree");
153 std::vector<const raw::OpDetWaveform*> pmtArray;
167 for(
size_t i=0; i<pmtArray.size(); ++i) {
void ClearEventData()
Function to clear event-wise variables.
void beginSubRun(const art::SubRun &)
Function to be called per sub run.
TTree * _tree
output data holder TTree
void AddRecoAlgo(pmtana::PMTPulseRecoBase *algo, PMTPedestalBase *ped_algo=nullptr)
A method to set pulse reconstruction algorithm.
virtual ~PMTAna()
Destructor.
std::size_t getView(std::string const &moduleLabel, std::string const &productInstanceName, std::vector< ELEMENT const * > &result) const
void analyze(const art::Event &)
Function to be called per event.
#define DEFINE_ART_MODULE(klass)
bool Reconstruct(const pmtana::Waveform_t &) const
Implementation of ana_base::analyze method.
T get(std::string const &key) const
std::string _fifo_mod_name
Input FIFOChannel producer name.
EDAnalyzer(Table< Config > const &config)
PulseRecoManager _preco_man
PMTAna(const fhicl::ParameterSet &)
Constructor.
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Class definition file of AlgoFixedWindow.
Class definition file of AlgoThreshold.
void SetDefaultPedAlgo(pmtana::PMTPedestalBase *algo)
A method to set a choice of pedestal estimation method.
Class definition file of PedAlgoEdges.
void beginJob()
Function to be called before an event loop.
art framework interface to geometry description
Class definition file of PulseRecoManager.