1 #ifndef STOPPINGPARTICLECOSMICIDALG_H_SEEN
2 #define STOPPINGPARTICLECOSMICIDALG_H_SEEN
13 #include "fhiclcpp/ParameterSet.h"
14 #include "fhiclcpp/types/Table.h"
15 #include "fhiclcpp/types/Atom.h"
16 #include "canvas/Persistency/Common/Ptr.h"
56 Name(
"ContainmentCuts"),
57 Comment(
"Fiducial volume cut (cm) to decide if track exits")
62 Comment(
"Minumum residual range (cm) to fit")
68 Comment(
"Maximum residual range (cm) to fit")
73 Comment(
"Maximum dE/dx (MeV/cm) to fit")
77 Name(
"StoppingChi2Limit"),
78 Comment(
"Limit of pol/exp chi2 ratio to cut on to determine if stopping")
fhicl::Atom< double > MinY
fhicl::Atom< double > DEdxMax
fhicl::Table< Containment > ContainmentCuts
void reconfigure(const core::ProviderManager &manager, const Config &config)
process_name use argoneut_mc_hitfinder track
process_name opflashCryoW ana
fhicl::Atom< double > MaxY
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
Interface to LArSoft services.
StoppingParticleCosmicIdAlg(const core::ProviderManager &manager, const Config &config)
bool InFiducial(geo::Point_t point)
fhicl::Atom< double > MinZ
auto end(FixedBins< T, C > const &) noexcept
double fStoppingChi2Limit
BEGIN_PROLOG vertical distance to the surface Name
fhicl::Atom< double > MinX
Provides recob::Track data product.
Provides a base class aware of world box coordinates.
std::vector< geo::BoxBoundedGeo > fFiducialVolumes
~StoppingParticleCosmicIdAlg()
double StoppingChiSq(geo::Point_t end, std::vector< art::Ptr< anab::Calorimetry >> calos)
StoppingParticleCosmicIdAlg(const core::ProviderManager &manager, const fhicl::ParameterSet &pset)
bool StoppingEnd(geo::Point_t end, std::vector< art::Ptr< anab::Calorimetry >> calos)
fhicl::Atom< double > ResRangeMin
fhicl::Atom< double > MaxZ
fhicl::Atom< double > ResRangeMax
fhicl::Atom< double > StoppingChi2Limit
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
bool StoppingParticleCosmicId(recob::Track track, std::vector< art::Ptr< anab::Calorimetry >> calos)
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track:
fhicl::Atom< double > MaxX