1
/* This file is part of MAUS: http://micewww.pp.rl.ac.uk:8080/projects/maus
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.
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.
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/>.
18
/** @class MAUS::recon::global::ImportSciFiRecon
19
* @ingroup globalrecon
20
* @brief Imports the reconstructed output of the SciFi Tracker
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.
27
#ifndef _SRC_COMMON_CPP_RECON_IMPORTSCIFI_HH_
28
#define _SRC_COMMON_CPP_RECON_IMPORTSCIFI_HH_
38
#include "DataStructure/ReconEvent.hh"
44
class ImportSciFiRecon {
47
/// Default constructor
51
~ImportSciFiRecon() {}
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
58
void process(const MAUS::SciFiEvent &scifi_event,
59
MAUS::GlobalEvent* global_event,
60
std::string mapper_name);
63
/// Disallow copy constructor as unnecessary
64
ImportSciFiRecon(const ImportSciFiRecon&);
66
/// Disallow operator= as unnecessary
67
void operator=(const ImportSciFiRecon);
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);
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