Jpp 20.0.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
JRECONSTRUCTION::JORCAMuonReconstruction Struct Reference

ORCA muon reconstruction. More...

#include <JORCAMuonReconstruction.hh>

Classes

struct  input_type
 Input data type. More...
 
struct  JParameters_t
 Parameters. More...
 
struct  JStorage_t
 Storage for PDFs. More...
 

Public Member Functions

 JORCAMuonReconstruction (const JParameters_t &parameters, const JStorage_t &storage, const JK40Rates &rates_Hz, const JPMTParametersMap &pmtParameters, const JEnergyCorrection &correct, const int debug)
 Constructor.
 
input_type getInput (const JModuleRouter &router, const JSummaryRouter &summary, const JDAQEvent &event, const coverage_type &coverage) const
 Get input data.
 
JEvt operator() (input_type &input)
 Fit function.
 

Public Attributes

JMuonPrefit prefit
 
JMuonSimplex simplex
 
JMuonStart start
 
JMuonGandalf gandalf
 
JMuonStart start2
 
JMuonEnergy energy
 
JMuonFeatures features
 

Detailed Description

ORCA muon reconstruction.

Definition at line 38 of file JORCAMuonReconstruction.hh.

Constructor & Destructor Documentation

◆ JORCAMuonReconstruction()

JRECONSTRUCTION::JORCAMuonReconstruction::JORCAMuonReconstruction ( const JParameters_t & parameters,
const JStorage_t & storage,
const JK40Rates & rates_Hz,
const JPMTParametersMap & pmtParameters,
const JEnergyCorrection & correct,
const int debug )
inline

Constructor.

Parameters
parametersparameters
storagestorage
rates_HzK40 rates [Hz]
pmtParametersPMT parameters
correctenergy correction
debugdebug

Definition at line 139 of file JORCAMuonReconstruction.hh.

144 :
145 prefit (parameters.prefit, debug),
146 simplex(parameters.simplex, debug),
147 start (parameters.start, storage.start, rates_Hz, debug),
148 gandalf(parameters.gandalf, storage.gandalf, debug),
149 start2 (parameters.start2, storage.start2, rates_Hz, debug),
150 energy (parameters.energy, storage.energy, pmtParameters, correct, debug),
151 features(parameters.features, storage.features, debug)
152 {}
int debug
debug level
Definition JSirene.cc:72

Member Function Documentation

◆ getInput()

input_type JRECONSTRUCTION::JORCAMuonReconstruction::getInput ( const JModuleRouter & router,
const JSummaryRouter & summary,
const JDAQEvent & event,
const coverage_type & coverage ) const
inline

Get input data.

Parameters
routermodule router
summarysummary data
eventevent
coveragecoverage
Returns
input data

Definition at line 164 of file JORCAMuonReconstruction.hh.

168 {
169 input_type input(event.getDAQEventHeader());
170
171 input.prefit = prefit .getInput(router, event, coverage);
172 input.simplex = simplex.getInput(router, event, JEvt(), coverage);
173 input.start = start .getInput(router, summary, event, JEvt(), coverage);
174 input.gandalf = gandalf.getInput(router, summary, event, JEvt(), coverage);
175 input.start2 = start2 .getInput(router, summary, event, JEvt(), coverage);
176 input.energy = energy .getInput(router, summary, event, JEvt(), coverage);
177 input.features = features.getInput(router, summary, event, JEvt(), coverage);
178
179 return input;
180 }
input_type getInput(const JModuleRouter &router, const JSummaryRouter &summary, const JDAQEvent &event, const JEvt &in, const coverage_type &coverage) const
Get input data.
input_type getInput(const JModuleRouter &router, const JSummaryRouter &summary, const JDAQEvent &event, const JEvt &in, const coverage_type &coverage) const
Get input data.
const JDAQEventHeader & getDAQEventHeader() const
Get DAQ event header.
input_type getInput(const JModuleRouter &router, const JSummaryRouter &summary, const JDAQEvent &event, const JEvt &in, const coverage_type &coverage) const
Get input data.
input_type getInput(const JModuleRouter &router, const JSummaryRouter &summary, const JDAQEvent &event, const JEvt &in, const coverage_type &coverage) const
Get input data.
input_type getInput(const JModuleRouter &router, const JDAQEvent &event, const coverage_type &coverage) const
Get input data.
input_type getInput(const JModuleRouter &router, const JDAQEvent &event, const JEvt &in, const coverage_type &coverage) const
Get input data.

◆ operator()()

JEvt JRECONSTRUCTION::JORCAMuonReconstruction::operator() ( input_type & input)
inline

Fit function.

Parameters
inputinput data
Returns
fit results

Definition at line 189 of file JORCAMuonReconstruction.hh.

190 {
191 std::vector<int> apps;
192
193 input.simplex.in = prefit(input.prefit);
194
195 apps.push_back(JMUONPREFIT);
196
197 input.start.in = simplex(input.simplex);
198
199 apps.push_back(JMUONSIMPLEX);
200
201 input.gandalf.in = start(input.start);
202
203 apps.push_back(JMUONSTART);
204
205 input.start2.in = gandalf(input.gandalf);
206
207 apps.push_back(JMUONGANDALF);
208
209 input.energy.in = start2(input.start2);
210
211 apps.push_back(JMUONSTART);
212
213 input.features.in= energy(input.energy);
214
215 apps.push_back(JMUONENERGY);
216
217 JEvt out = features(input.features);
218
219 apps.push_back(JMUONFEATURES);
220
221 for (JFIT::JEvt::iterator i = out.begin(); i != out.end(); ++i) {
222 i->setStatus(i->getHistory().getStatus(apps) ? COMPLETE_CHAIN : INCOMPLETE_CHAIN);
223 }
224
225 return out;
226 }
Acoustic event fit.

Member Data Documentation

◆ prefit

JMuonPrefit JRECONSTRUCTION::JORCAMuonReconstruction::prefit

Definition at line 228 of file JORCAMuonReconstruction.hh.

◆ simplex

JMuonSimplex JRECONSTRUCTION::JORCAMuonReconstruction::simplex

Definition at line 229 of file JORCAMuonReconstruction.hh.

◆ start

JMuonStart JRECONSTRUCTION::JORCAMuonReconstruction::start

Definition at line 230 of file JORCAMuonReconstruction.hh.

◆ gandalf

JMuonGandalf JRECONSTRUCTION::JORCAMuonReconstruction::gandalf

Definition at line 231 of file JORCAMuonReconstruction.hh.

◆ start2

JMuonStart JRECONSTRUCTION::JORCAMuonReconstruction::start2

Definition at line 232 of file JORCAMuonReconstruction.hh.

◆ energy

JMuonEnergy JRECONSTRUCTION::JORCAMuonReconstruction::energy

Definition at line 233 of file JORCAMuonReconstruction.hh.

◆ features

JMuonFeatures JRECONSTRUCTION::JORCAMuonReconstruction::features

Definition at line 234 of file JORCAMuonReconstruction.hh.


The documentation for this struct was generated from the following file: