20 #include "art_root_io/TFileService.h" 86 _tree = fileService->make<TTree>(
"pmt_tree",
"Analysis Tree");
104 std::vector<const raw::OpDetWaveform*> pmtArray;
114 for (
size_t i = 0; i < pmtArray.size(); ++i) {
TTree * _tree
output data holder TTree
EDAnalyzer(fhicl::ParameterSet const &pset)
void AddRecoAlgo(pmtana::PMTPulseRecoBase *algo, PMTPedestalBase *ped_algo=nullptr)
A method to set pulse reconstruction algorithm.
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.
PulseRecoManager _preco_man
PMTAna(const fhicl::ParameterSet &)
Constructor.
std::size_t getView(std::string const &moduleLabel, std::string const &productInstanceName, std::string const &processName, std::vector< ELEMENT const * > &result) const
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.
Class definition file of PulseRecoManager.