9 #ifndef GapFilter_Module 10 #define GapFilter_Module 21 #include "art_root_io/TFileService.h" 22 #include "art_root_io/TFileDirectory.h" 40 #include "TTimeStamp.h" 41 #include "TLorentzVector.h" 198 std::map< int, const simb::MCParticle* > particleMap;
202 std::vector<art::Ptr<recob::Hit> > hitlist;
205 nhits = hitlist.size();
208 for (
size_t k = 0;
k < hitlist.size(); ++
k){
209 unsigned int channel = hitlist[
k]->Channel();
218 hit_ph[
k] = hitlist[
k]->PeakAmplitude();
295 fTree = tfs->make<TTree>(
"hitdumper",
"analysis tree");
301 fTree->Branch(
"t0",&
t0,
"t0/I");
336 for (
int i = 0; i<3; ++i){
355 #endif // GapFilter_Module code to link reconstructed objects back to the MC truth information
std::vector< int > cross34
std::vector< int > cross2and1or3
double hit_peakT[kMaxHits]
double hit_charge[kMaxHits]
Declaration of signal hit object.
CryostatID_t Cryostat
Index of cryostat.
WireID_t Wire
Index of the wire within its plane.
std::vector< int > cross1and2or4
EDAnalyzer(fhicl::ParameterSet const &pset)
int hit_channel[kMaxHits]
std::vector< int > cross14
void analyze(const art::Event &evt)
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
#define DEFINE_ART_MODULE(klass)
std::vector< int > cross1or3and2or4
T get(std::string const &key) const
TH2F * fPrimaryMom_vs_TrackLength
SubRunNumber_t subRun() const
GapFilter(fhicl::ParameterSet const &p)
std::string fHitsModuleLabel
PlaneID_t Plane
Index of the plane within its TPC.
int hit_cryostat[kMaxHits]
Encapsulate the geometry of a wire.
Utility object to perform functions of association.
Encapsulate the construction of a single detector plane.
object containing MC truth information necessary for making RawDigits and doing back tracking ...
EventNumber_t event() const
void reconfigure(fhicl::ParameterSet const &pset)
std::string fSimulationProducerLabel
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
TPCID_t TPC
Index of the TPC within its cryostat.
Event finding and building.
std::vector< int > cross23
std::vector< int > cross12