10 #ifndef MCAssociations_H
11 #define MCAssociations_H
14 #include "gallery/Event.h"
17 #include "nusimdata/SimulationBase/MCParticle.h"
21 #include "fhiclcpp/ParameterSet.h"
24 #include "TDirectory.h"
61 double length(
const simb::MCParticle& part,
double dx,
62 TVector3& start, TVector3&
end, TVector3& startmom, TVector3& endmom,
63 unsigned int tpc = 0,
unsigned int cstat = 0)
const;
74 TDirectory*
fDir =
nullptr;
110 #endif // MCAssociations_H
std::unique_ptr< TH1 > fPrimaryCompleteness
art::InputTag fAssnsProducerLabel
std::unique_ptr< TProfile > fPrimaryEffVsLen
std::unique_ptr< TH1 > fPrimaryPurity
std::string fLocalDirName
std::unique_ptr< TH1 > fPrimaryEfficiency
std::unique_ptr< TProfile > fPrimaryCompVsLogHits
art::InputTag fHitProducerLabel
std::unique_ptr< TProfile > fPrimaryPurityVsHits
std::unique_ptr< TProfile > fPrimaryCompVsLen
std::unique_ptr< TH2 > fPrimaryLenVsHits
std::unique_ptr< TH1 > fNHitsPerTrack
std::unique_ptr< TH1 > fNTracks
art::InputTag fTrackProducerLabel
std::unique_ptr< TH1 > fDeltaNHits
std::unique_ptr< TProfile > fPrimaryPurityVsMom
Access the description of detector geometry.
std::unique_ptr< TProfile > fPrimaryPurityVsLen
std::unique_ptr< TH1 > fPrimaryRecoLength
std::unique_ptr< detinfo::DetectorPropertiesData const > fDetectorProperties
std::unique_ptr< TProfile > fPrimaryCompVsMom
auto end(FixedBins< T, C > const &) noexcept
MCAssociations(fhicl::ParameterSet const &config)
std::unique_ptr< TH1 > fPrimaryLength
std::unique_ptr< TProfile > fPrimaryEffVsHits
std::unique_ptr< TH1 > fNHitsPerReco
Description of geometry of one entire detector.
Provides recob::Track data product.
void doTrackHitMCAssociations(gallery::Event &)
std::unique_ptr< TProfile > fPrimaryCompVsHits
std::unique_ptr< TProfile > fPrimaryEffVsLogHits
std::unique_ptr< TProfile > fPrimaryPurityVsLogHits
std::unique_ptr< TH2 > fTrackLenVsHits
geo::GeometryCore const * fGeometry
std::unique_ptr< TH1 > fDeltaTrackLen
std::unique_ptr< TH1 > fNHitsPerPrimary
double length(const recob::Track *) const
std::unique_ptr< TH1 > fTrackLength
art::InputTag fMCTruthProducerLabel
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track:
void setup(const geo::GeometryCore &, const detinfo::DetectorPropertiesData &, TDirectory *)
std::unique_ptr< TProfile > fPrimaryEffVsMom