Jpp 21.0.0
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
 
JLANG::JClockwork< int > clock
 

Detailed Description

ORCA muon reconstruction.

Definition at line 41 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 142 of file JORCAMuonReconstruction.hh.

147 :
148 prefit (parameters.prefit, debug),
149 simplex (parameters.simplex, debug),
150 start (parameters.start, storage.start, rates_Hz, debug),
151 gandalf (parameters.gandalf, storage.gandalf, pmtParameters, debug),
152 start2 (parameters.start2, storage.start2, rates_Hz, debug),
153 energy (parameters.energy, storage.energy, pmtParameters, correct, debug),
154 features(parameters.features, storage.features, debug)
155 {}
int debug
debug level
Definition JSirene.cc:74

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 167 of file JORCAMuonReconstruction.hh.

171 {
172 input_type input(event.getDAQEventHeader());
173
174 input.prefit = prefit .getInput(router, event, coverage);
175 input.simplex = simplex .getInput(router, event, JEvt(), coverage);
176 input.start = start .getInput(router, summary, event, JEvt(), coverage);
177 input.gandalf = gandalf .getInput(router, summary, event, JEvt(), coverage);
178 input.start2 = start2 .getInput(router, summary, event, JEvt(), coverage);
179 input.energy = energy .getInput(router, summary, event, JEvt(), coverage);
180 input.features = features.getInput(router, summary, event, JEvt(), coverage);
181
182 return input;
183 }
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 192 of file JORCAMuonReconstruction.hh.

193 {
194 std::vector<int> apps;
195
196 {
197 JLANG::JClock::sentry sentry(clock[apps.size()]);
198
199 input.simplex.in = prefit(input.prefit);
200
201 apps.push_back(JMUONPREFIT);
202 }
203 {
204 JLANG::JClock::sentry sentry(clock[apps.size()]);
205
206 input.start.in = simplex(input.simplex);
207
208 apps.push_back(JMUONSIMPLEX);
209 }
210 {
211 JLANG::JClock::sentry sentry(clock[apps.size()]);
212
213 input.gandalf.in = start(input.start);
214
215 apps.push_back(JMUONSTART);
216 }
217 {
218 JLANG::JClock::sentry sentry(clock[apps.size()]);
219
220 input.start2.in = gandalf(input.gandalf);
221
222 apps.push_back(JMUONGANDALF);
223 }
224 {
225 JLANG::JClock::sentry sentry(clock[apps.size()]);
226
227 input.energy.in = start2(input.start2);
228
229 apps.push_back(JMUONSTART);
230 }
231 {
232 JLANG::JClock::sentry sentry(clock[apps.size()]);
233
234 input.features.in = energy(input.energy);
235
236 apps.push_back(JMUONENERGY);
237 }
238
239 JLANG::JClock::sentry sentry(clock[apps.size()]);
240
241 JEvt out = features(input.features);
242
243 apps.push_back(JMUONFEATURES);
244
245 for (JFIT::JEvt::iterator i = out.begin(); i != out.end(); ++i) {
246 i->setStatus(i->getHistory().getStatus(apps) ? COMPLETE_CHAIN : INCOMPLETE_CHAIN);
247 }
248
249 return out;
250 }
Acoustic event fit.
Auxiliary data structure for scoped timing.
Definition JClock.hh:53

Member Data Documentation

◆ prefit

JMuonPrefit JRECONSTRUCTION::JORCAMuonReconstruction::prefit

Definition at line 252 of file JORCAMuonReconstruction.hh.

◆ simplex

JMuonSimplex JRECONSTRUCTION::JORCAMuonReconstruction::simplex

Definition at line 253 of file JORCAMuonReconstruction.hh.

◆ start

JMuonStart JRECONSTRUCTION::JORCAMuonReconstruction::start

Definition at line 254 of file JORCAMuonReconstruction.hh.

◆ gandalf

JMuonGandalf JRECONSTRUCTION::JORCAMuonReconstruction::gandalf

Definition at line 255 of file JORCAMuonReconstruction.hh.

◆ start2

JMuonStart JRECONSTRUCTION::JORCAMuonReconstruction::start2

Definition at line 256 of file JORCAMuonReconstruction.hh.

◆ energy

JMuonEnergy JRECONSTRUCTION::JORCAMuonReconstruction::energy

Definition at line 257 of file JORCAMuonReconstruction.hh.

◆ features

JMuonFeatures JRECONSTRUCTION::JORCAMuonReconstruction::features

Definition at line 258 of file JORCAMuonReconstruction.hh.

◆ clock

JLANG::JClockwork<int> JRECONSTRUCTION::JORCAMuonReconstruction::clock

Definition at line 260 of file JORCAMuonReconstruction.hh.


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