All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sbndcode/sbndcode/CosmicId/Algs/GeometryCosmicIdAlg.h
Go to the documentation of this file.
1 #ifndef GEOMETRYCOSMICIDALG_H_SEEN
2 #define GEOMETRYCOSMICIDALG_H_SEEN
3 
4 
5 ///////////////////////////////////////////////
6 // GeometryCosmicIdAlg.h
7 //
8 // Functions for fiducial volume cosmic tagger
9 // T Brooks (tbrooks@fnal.gov), November 2018
10 ///////////////////////////////////////////////
11 
12 // sbndcode
14 
15 // framework
16 #include "fhiclcpp/ParameterSet.h"
17 #include "fhiclcpp/types/Table.h"
18 #include "fhiclcpp/types/Atom.h"
19 #include "canvas/Persistency/Common/Ptr.h"
20 
21 // LArSoft
24 
25 // c++
26 #include <vector>
27 
28 
29 namespace sbnd{
30 
32  public:
33 
34  struct Config {
35  using Name = fhicl::Name;
36  using Comment = fhicl::Comment;
37 
38  };
39 
40  GeometryCosmicIdAlg(const Config& config);
41 
42  GeometryCosmicIdAlg(const fhicl::ParameterSet& pset) :
43  GeometryCosmicIdAlg(fhicl::Table<Config>(pset, {})()) {}
44 
46 
48 
49  void reconfigure(const Config& config);
50 
51  // Remove any tracks in different TPC to beam activity
52  bool GeometryCosmicId(recob::Track track, std::vector<art::Ptr<recob::Hit>> hits, bool tpc0Flash, bool tpc1Flash);
53 
54  private:
55 
57 
58  };
59 
60 }
61 
62 #endif
Declaration of signal hit object.
process_name use argoneut_mc_hitfinder track
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:265
BEGIN_PROLOG vertical distance to the surface Name
bool GeometryCosmicId(recob::Track track, std::vector< art::Ptr< recob::Hit >> hits, bool tpc0Flash, bool tpc1Flash)
Provides recob::Track data product.
stream1 can override from command line with o or output services user sbnd
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a &quot;fitted&quot; track: