Jpp in_tag_pdf_generation
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 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 JEnergyCorrection & correct,
const int debug )
inline

Constructor.

Parameters
parametersparameters
storagestorage
rates_HzK40 rates [Hz]
correctenergy correction
debugdebug

Definition at line 138 of file JORCAMuonReconstruction.hh.

142 :
143 prefit (parameters.prefit, debug),
144 simplex(parameters.simplex, debug),
145 start (parameters.start, storage.start, rates_Hz, debug),
146 gandalf(parameters.gandalf, storage.gandalf, debug),
147 start2 (parameters.start2, storage.start2, rates_Hz, debug),
148 energy (parameters.energy, storage.energy, correct, debug),
149 features(parameters.features, storage.features, debug)
150 {}
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 162 of file JORCAMuonReconstruction.hh.

166 {
167 input_type input(event.getDAQEventHeader());
168
169 input.prefit = prefit .getInput(router, event, coverage);
170 input.simplex = simplex.getInput(router, event, JEvt(), coverage);
171 input.start = start .getInput(router, summary, event, JEvt(), coverage);
172 input.gandalf = gandalf.getInput(router, summary, event, JEvt(), coverage);
173 input.start2 = start2 .getInput(router, summary, event, JEvt(), coverage);
174 input.energy = energy .getInput(router, summary, event, JEvt(), coverage);
175 input.features = features.getInput(router, summary, event, JEvt(), coverage);
176
177 return input;
178 }
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 187 of file JORCAMuonReconstruction.hh.

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

Member Data Documentation

◆ prefit

JMuonPrefit JRECONSTRUCTION::JORCAMuonReconstruction::prefit

Definition at line 226 of file JORCAMuonReconstruction.hh.

◆ simplex

JMuonSimplex JRECONSTRUCTION::JORCAMuonReconstruction::simplex

Definition at line 227 of file JORCAMuonReconstruction.hh.

◆ start

JMuonStart JRECONSTRUCTION::JORCAMuonReconstruction::start

Definition at line 228 of file JORCAMuonReconstruction.hh.

◆ gandalf

JMuonGandalf JRECONSTRUCTION::JORCAMuonReconstruction::gandalf

Definition at line 229 of file JORCAMuonReconstruction.hh.

◆ start2

JMuonStart JRECONSTRUCTION::JORCAMuonReconstruction::start2

Definition at line 230 of file JORCAMuonReconstruction.hh.

◆ energy

JMuonEnergy JRECONSTRUCTION::JORCAMuonReconstruction::energy

Definition at line 231 of file JORCAMuonReconstruction.hh.

◆ features

JMuonFeatures JRECONSTRUCTION::JORCAMuonReconstruction::features

Definition at line 232 of file JORCAMuonReconstruction.hh.


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