9 #include "art_root_io/TFileDirectory.h" 10 #include "art_root_io/TFileService.h" 13 #include "artg4tk/services/DetectorHolder_service.hh" 20 #include "TDirectory.h" 23 #include "CLHEP/Units/SystemOfUnits.h" 52 _hnHits = tfs->make<TH1F>(
"hnHits",
"Number of AuxDetHits", 30, 0,30 );
53 _hEdep = tfs->make<TH1F>(
"hEdep",
"Energy deposition in AuxDetHits", 100,0.,4.);
54 _hID = tfs->make<TH1F>(
"hID",
"Id of hit AuxDet", 100,0.,5.);
55 _hexit = tfs->make<TH1F>(
"hexit",
"exit points in z", 100,-100.,100.);
56 _hentry = tfs->make<TH1F>(
"hentry",
"entry points in z", 100,-100.,100.);
66 for (
auto const& sims : allSims) {
68 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.