Jpp 21.0.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
JRECONSTRUCTION::JORCAShowerReconstruction Struct Reference

ORCA shower reconstruction. More...

#include <JORCAShowerReconstruction.hh>

Classes

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

Public Member Functions

 JORCAShowerReconstruction (const JParameters_t &parameters, const JStorage_t &storage, 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

JShowerPrefit prefit
 
JShowerPointSimplex simplex
 
JShowerPositionFit position
 
JShowerDirectionPrefit direction
 
JShowerFit fit
 
JShowerFeatures features
 

Detailed Description

ORCA shower reconstruction.

Definition at line 39 of file JORCAShowerReconstruction.hh.

Constructor & Destructor Documentation

◆ JORCAShowerReconstruction()

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

Constructor.

Parameters
parametersparameters
storagestorage
pmtParametersPMT parameters
correctenergy correction
debugdebug

Definition at line 135 of file JORCAShowerReconstruction.hh.

139 :
140 prefit (parameters.prefit, debug),
141 simplex (parameters.simplex, debug),
142 position (parameters.position, storage.position, pmtParameters, debug),
143 direction(parameters.direction, storage.direction, pmtParameters, debug),
144 fit (parameters.fit, storage.fit, pmtParameters, correct, debug),
145 features (parameters.features, storage.features, pmtParameters, debug)
146 {}
int debug
debug level
Definition JSirene.cc:74

Member Function Documentation

◆ getInput()

input_type JRECONSTRUCTION::JORCAShowerReconstruction::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 158 of file JORCAShowerReconstruction.hh.

162 {
163 input_type input(event.getDAQEventHeader());
164
165 input.prefit = prefit .getInput(router, event, coverage);
166 input.simplex = simplex .getInput(router, event, JEvt(), coverage);
167 input.position = position .getInput(router, summary, event, JEvt(), coverage);
168 input.direction = direction.getInput(router, summary, event, JEvt(), coverage);
169 input.fit = fit .getInput(router, summary, event, JEvt(), coverage);
170 input.features = features .getInput(router, summary, event, JEvt(), coverage);
171
172 return input;
173 }
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 KM3NETDAQ::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 KM3NETDAQ::JDAQEvent &event, 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.

◆ operator()()

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

Fit function.

Parameters
inputinput data
Returns
fit results

Definition at line 182 of file JORCAShowerReconstruction.hh.

183 {
184 std::vector<int> apps;
185
186 input.simplex.in = prefit(input.prefit);
187
188 apps.push_back(JSHOWERPREFIT);
189
190 input.position.in = simplex(input.simplex);
191
192 apps.push_back(JSHOWERPOINTSIMPLEX);
193
194 input.direction.in = position(input.position);
195
196 apps.push_back(JSHOWERPOSITIONFIT);
197
198 input.fit.in = direction(input.direction);
199
200 apps.push_back(JSHOWERDIRECTIONPREFIT);
201
202 input.features.in = fit(input.fit);
203
204 apps.push_back(JSHOWERCOMPLETEFIT);
205
206 JEvt out = features(input.features);
207
208 apps.push_back(JSHOWERFEATURES);
209
210 for (JFIT::JEvt::iterator i = out.begin(); i != out.end(); ++i) {
211 i->setStatus(i->getHistory().getStatus(apps) ? COMPLETE_CHAIN : INCOMPLETE_CHAIN);
212 }
213
214 return out;
215 }
Acoustic event fit.

Member Data Documentation

◆ prefit

JShowerPrefit JRECONSTRUCTION::JORCAShowerReconstruction::prefit

Definition at line 218 of file JORCAShowerReconstruction.hh.

◆ simplex

JShowerPointSimplex JRECONSTRUCTION::JORCAShowerReconstruction::simplex

Definition at line 219 of file JORCAShowerReconstruction.hh.

◆ position

JShowerPositionFit JRECONSTRUCTION::JORCAShowerReconstruction::position

Definition at line 220 of file JORCAShowerReconstruction.hh.

◆ direction

JShowerDirectionPrefit JRECONSTRUCTION::JORCAShowerReconstruction::direction

Definition at line 221 of file JORCAShowerReconstruction.hh.

◆ fit

JShowerFit JRECONSTRUCTION::JORCAShowerReconstruction::fit

Definition at line 222 of file JORCAShowerReconstruction.hh.

◆ features

JShowerFeatures JRECONSTRUCTION::JORCAShowerReconstruction::features

Definition at line 223 of file JORCAShowerReconstruction.hh.


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