11 #include "art_root_io/TFileDirectory.h" 12 #include "art_root_io/TFileService.h" 17 #include "TDirectory.h" 23 #include "CLHEP/Units/SystemOfUnits.h" 50 _hnHits = tfs->make<TH1F>(
"hnHits",
"Number of AuxDetHits", 30, 0, 30);
51 _hEdep = tfs->make<TH1F>(
"hEdep",
"Energy deposition in AuxDetHits", 100, 0., 4.);
52 _hID = tfs->make<TH1F>(
"hID",
"Id of hit AuxDet", 100, 0., 5.);
53 _hexit = tfs->make<TH1F>(
"hexit",
"exit points in z", 100, -100., 100.);
54 _hentry = tfs->make<TH1F>(
"hentry",
"entry points in z", 100, -100., 100.);
64 for (
auto const& sims : allSims) {
66 for (
auto const&
hit : *sims) {
void analyze(const art::Event &event) override
CheckAuxDetHit(fhicl::ParameterSet const &p)
EDAnalyzer(fhicl::ParameterSet const &pset)
#define DEFINE_ART_MODULE(klass)
Detector simulation of raw signals on wires.
std::vector< AuxDetHit > AuxDetHitCollection
Event finding and building.