ChannelMapStandardTestAlg.h
Go to the documentation of this file.
1 /**
2  * @file ChannelMapStandardTestAlg.h
3  * @brief Tests the standard channel mapping algorithm.
4  * @author Gianluca Petrillo (petrillo@fnal.gov)
5  * @date June 26th, 2015
6  */
7 
8 #ifndef GEO_CHANNELMAPSTANDARDTESTALG_H
9 #define GEO_CHANNELMAPSTANDARDTESTALG_H
10 
11 
12 namespace fhicl {
13  class ParameterSet;
14 }
15 
16 namespace geo {
17 
18  class GeometryCore; // forward declaration
19 
20  //----------------------------------------------------------------------------
21 
23  public:
24 
25  /// Constructor: reads configuration, does nothing
27 
28  /// Virtual destructor
29  virtual ~ChannelMapStandardTestAlg() = default;
30 
31  /// Algorithm set up
32  virtual void Setup(geo::GeometryCore const& new_geo) { geom = &new_geo; }
33 
34  /// Executes the test
35  virtual unsigned int Run();
36 
37  /// Tests TPCset mappings
38  void TPCsetMappingTest() const;
39 
40  /// Tests ROP mappings
41  void ROPMappingTest() const;
42 
43  /// Tests channel mappings (very, very partial)
44  void ChannelMappingTest() const;
45 
46  protected:
47  GeometryCore const* geom = nullptr; ///< pointer to the geometry description
48 
49  }; // class ChannelMapStandardTestAlg
50 
51 
52 } // namespace geo
53 
54 
55 #endif // GEO_CHANNELMAPSTANDARDTESTALG_H
virtual void Setup(geo::GeometryCore const &new_geo)
Algorithm set up.
Description of geometry of one entire detector.
ChannelMapStandardTestAlg(fhicl::ParameterSet const &)
Constructor: reads configuration, does nothing.
LArSoft geometry interface.
Definition: ChannelGeo.h:16