#include <SimpleFastMCProcessor.h>
Inheritance diagram for marlin::SimpleFastMCProcessor:
Public Member Functions | |
virtual Processor * | newProcessor () |
Returns a new instance of the processor. | |
virtual void | init () |
Initializes ... | |
virtual void | processRunHeader (LCRunHeader *run) |
Called for every run. | |
virtual void | processEvent (LCEvent *evt) |
Updates all registered conditions handlers and adds the data to the event. | |
virtual void | check (LCEvent *evt) |
Creates some checkplots. | |
virtual void | end () |
Called after data processing for clean up. | |
Protected Attributes | |
std::string | _inputCollectionName |
Input collection name. | |
std::string | _recoParticleCollectionName |
Ouput collection names. | |
std::string | _mcTruthCollectionName |
float | _momentumCut |
Momentum cut in GeV. | |
FloatVec | _initChargedRes |
Resolutions of charged particles. | |
FloatVec | _initPhotonRes |
Resolutions of photons. | |
FloatVec | _initNeutralHadronRes |
Resolutions of photons. | |
IRecoParticleFactory * | _factory |
The particle factory. | |
int | _nRun |
int | _nEvt |
It creates ReconstructedParticles from MCParticles according to the resolution that is specified for the particle type, one of:
A collection of LCRelations, called "MCTruthMapping" holds the relation between the ReconstructedParticles and their proper MCParticles.
A collection of MCParticles (the MCPArticle collection).
ChargedResolution | Resolution of charged particles in polar angle range: d(1/P) th_min th_max |
InputCollectionName | Name of the MCParticle input collection |
MomentumCut | No reconstructed particles are produced for smaller momenta (in [GeV]) |
NeutralHadronResolution | Resolution dE/E=A+B/sqrt(E/GeV) of neutral hadrons in polar angle range: A B th_min th_max |
PhotonResolution | Resolution dE/E=A+B/sqrt(E/GeV) of photons in polar angle range: A B th_min th_max |
RecoParticleCollectionName | default is "ReconstructedParticles" |
MCTruthMappingCollectionName | default is "MCTruthMapping" |