16 #include "art_root_io/TFileService.h" 27 class FlashHypothesisAna;
65 fAlg(p.
get<
fhicl::ParameterSet>(
"FlashHypothesisAnaAlgParams"))
73 std::vector<sim::MCTrack>
const& mctrackVec(*mctrackHandle);
77 std::vector<sim::SimPhotons>
const& simPhotonsVec(*simPhotonsHandle);
87 mctrackVec,simPhotonsVec,
88 lar::extractProviders<geo::Geometry, detinfo::LArPropertiesService>(),
101 tfs->make<TH1F>(), tfs->make<TH1F>(), tfs->make<TH1F>(),
102 tfs->make<TH1F>(), tfs->make<TH1F>(), tfs->make<TH1F>(),
103 tfs->make<TH1F>(), tfs->make<TH1F>(), tfs->make<TH1F>(),
void RunComparison(const unsigned int run, const unsigned int event, std::vector< sim::MCTrack > const &, std::vector< sim::SimPhotons > const &, Providers_t providers, opdet::OpDigiProperties const &opdigip, phot::PhotonVisibilityService const &pvs)
EDAnalyzer(fhicl::ParameterSet const &pset)
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
void SetOutputObjects(TTree *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, geo::Geometry const &)
std::string fMCSimPhotonsLabel
#define DEFINE_ART_MODULE(klass)
FlashHypothesisAnaAlg fAlg
FlashHypothesisAna & operator=(FlashHypothesisAna const &)=delete
The geometry of one entire detector, as served by art.
FlashHypothesisAna(fhicl::ParameterSet const &p)
EventNumber_t event() const
auto const & get(AssnsNode< L, R, D > const &r)
std::string fMCTrackLabel
LArSoft geometry interface.
void FillOpDetPositions(geo::Geometry const &)
void analyze(art::Event const &e) override