~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/common_cpp/Recon/Global/ImportSciFiRecon.hh

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* This file is part of MAUS: http://micewww.pp.rl.ac.uk:8080/projects/maus
2
 
 *
3
 
 * MAUS is free software: you can redistribute it and/or modify
4
 
 * it under the terms of the GNU General Public License as published by
5
 
 * the Free Software Foundation, either version 3 of the License, or
6
 
 * (at your option) any later version.
7
 
 *
8
 
 * MAUS is distributed in the hope that it will be useful,
9
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
 
 * GNU General Public License for more details.
12
 
 *
13
 
 * You should have received a copy of the GNU General Public License
14
 
 * along with MAUS.  If not, see <http://www.gnu.org/licenses/>.
15
 
 *
16
 
 */
17
 
 
18
 
/** @class MAUS::recon::global::ImportSciFiRecon
19
 
 *  @ingroup globalrecon
20
 
 *  @brief Imports the reconstructed output of the SciFi Tracker
21
 
 *
22
 
 *  Imports reconstructed tracks from the SciFi Tracker detector into
23
 
 *  the MAUS::recon::global format.  This will be the standard
24
 
 *  starting point of the global reconstruction.
25
 
 */
26
 
 
27
 
#ifndef _SRC_COMMON_CPP_RECON_IMPORTSCIFI_HH_
28
 
#define _SRC_COMMON_CPP_RECON_IMPORTSCIFI_HH_
29
 
 
30
 
// C++ headers
31
 
#include <string>
32
 
#include <vector>
33
 
 
34
 
// ROOT headers
35
 
#include "Rtypes.h"
36
 
 
37
 
// MAUS headers
38
 
#include "DataStructure/ReconEvent.hh"
39
 
 
40
 
namespace MAUS {
41
 
namespace recon {
42
 
namespace global {
43
 
 
44
 
class ImportSciFiRecon {
45
 
 public:
46
 
 
47
 
  /// Default constructor
48
 
  ImportSciFiRecon() {}
49
 
 
50
 
  /// Destructor
51
 
  ~ImportSciFiRecon() {}
52
 
 
53
 
  /**  Main process, accepting the MAUS::SciFiEvent and importing
54
 
       track details into an existing MAUS::GlobalEvent
55
 
   *  @param[in]  scifi_event  The reconstructed Tracker Event
56
 
   *  @param[out] global_event The Global Event, which will be changed
57
 
   */
58
 
  void process(const MAUS::SciFiEvent &scifi_event,
59
 
               MAUS::GlobalEvent* global_event,
60
 
               std::string mapper_name);
61
 
 
62
 
 private:
63
 
  /// Disallow copy constructor as unnecessary
64
 
  ImportSciFiRecon(const ImportSciFiRecon&);
65
 
 
66
 
  /// Disallow operator= as unnecessary
67
 
  void operator=(const ImportSciFiRecon);
68
 
 
69
 
  /// Import Straight tracks, populating a
70
 
  /// MAUS::recon::global::PrimaryChain object with
71
 
  /// MAUS::recon::global::Track's, MAUS::recon::global::TrackPoint's
72
 
  /// and MAUS::recon::global::SpacePoint's,
73
 
  void ImportStraightTracks(
74
 
      const MAUS::SciFiStraightPRTrackPArray straightarray,
75
 
      MAUS::GlobalEvent* global_event,
76
 
      std::string mapper_name);
77
 
 
78
 
  /// Import Straight tracks, populating a
79
 
  /// MAUS::recon::global::PrimaryChain object with
80
 
  /// MAUS::recon::global::Track's, MAUS::recon::global::TrackPoint's
81
 
  /// and MAUS::recon::global::SpacePoint's,
82
 
  void ImportHelicalTracks(
83
 
      const MAUS::SciFiHelicalPRTrackPArray helicalarray,
84
 
      MAUS::GlobalEvent* global_event,
85
 
      std::string mapper_name);
86
 
}; // ~class ImportSciFiRecon
87
 
} // ~namespace global
88
 
} // ~namespace recon
89
 
} // ~namespace MAUS
90
 
 
91
 
#endif