114 #include "TLorentzVector.h" 115 #include "TVector3.h" 194 std::vector<TH1D*> HitHist;
196 sprintf(HistName,
"Event %d AllOpDets", evt.
id().
event());
198 TH1D * AllHits =
nullptr;
201 AllHits = tfs->
make<TH1D>(HistName,
";t (ns);",
207 for(
int i=0; i!=NOpChannels; ++i)
210 sprintf(HistName,
"Event %d OpDet %i", evt.
id().
event(), i);
223 for(
unsigned int i = 0; i < HitHandle->size(); ++i)
MaybeLogger_< ELseverityLevel::ELsev_error, false > LogError
unsigned int NOpChannels() const
Number of electronics channels for all the optical detectors.
#define DEFINE_ART_MODULE(klass)
T get(std::string const &key) const
EDAnalyzer(Table< Config > const &config)
T * make(ARGS...args) const
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
void analyze(const art::Event &)
EventNumber_t event() const
OpHitAna(const fhicl::ParameterSet &)
art framework interface to geometry description
bool fMakeHistAllChannels