9#ifndef MCMATCHERTRGECLMODULE_H_
10#define MCMATCHERTRGECLMODULE_H_
13#include <framework/core/Module.h>
14#include <framework/datastore/StoreArray.h>
15#include "trg/ecl/TrgEclMapping.h"
16#include "trg/ecl/dataobjects/TRGECLDigi0MC.h"
17#include "trg/ecl/dataobjects/TRGECLHitMC.h"
55 virtual void event()
override;
58 virtual void endRun()
override;
Class to represent the hit of one cell.
double pz[100][3]
Momentum Z of particle.
double BKGContribution[100]
Backgroun Contribution in a TC
int background_tag[100][3]
Beam background tag.
int gmotherHit[100][3]
Grand mother ID
double contributionHit[100][3]
particles contribution
std::multimap< int, int > MultiMap
define a multimap for hits in showers
int pidHit[100][3]
Particle ID.
virtual void initialize() override
Initialize variables, print info, and start CPU clock.
StoreArray< TRGECLDigi0MC > m_trgECLDigi0MC
output for TRGECLDigi0MC
double pxHit[100][3]
Momentum X of particle.
int ggmother[100][3]
Grand Grand Mother ID
double MCEnergy[100][3]
Raw Energy of particle
virtual void event() override
Actual digitization of all hits in the ECL.
MCMatcherTRGECLModule(MCMatcherTRGECLModule &)=delete
Copy constructor, deleted.
double SignalContribution[100]
Signal Contibution in a TC.
double contribution[100][3]
particles contribution
double py[100][3]
Momentum Y of particle.
MCMatcherTRGECLModule()
Constructor.
virtual void endRun() override
Nothing so far.
MCMatcherTRGECLModule & operator=(MCMatcherTRGECLModule &)=delete
Assignment operator, deleted.
double BKGContributionHit[100]
Backgroun Contribution in a TC
int gggmotherHit[100][3]
Grand Grand Grand Mother ID
virtual void terminate() override
Stopping of CPU clock.
int gmother[100][3]
Grand mother ID
double TCHitEnergy[100]
TC Hit energy
int TCPrimaryIndexHit[100][3]
Primary Index in TC hit
double pzHit[100][3]
Momentum X of particle.
double MCEnergyHit[100][3]
Raw Energy of particle
double SignalContributionHit[100]
Signal Contibution in a TC.
int pid[100][3]
Particle ID.
int ggmotherHit[100][3]
Grand Grand Mother ID
int TCPrimaryIndex[100][3]
Primary Index in TC hit
int mother[100][3]
Mother ID
int XtalId[100][3]
XtalId in TC
StoreArray< TRGECLHitMC > m_trgECLHitMC
output for TRGECLHitMC
int m_nEvent
Event number.
virtual void beginRun() override
Nothing so far.
int gggmother[100][3]
Grand Grand Grand Mother ID
double maxEnergy[100][3]
Energy of maximum contribtion particle
double TCRawEnergy[100]
TC raw energy.
int motherHit[100][3]
Mother ID
virtual ~MCMatcherTRGECLModule()
Destructor.
int trackId[100][3]
Track Id.
int background_tagHit[100][3]
Beam background tag.
int ieclhit[100][3]
eclhit id
double pyHit[100][3]
Momentum X of particle.
double TCHitTiming[100]
TC Hit Timking
std::map< int, int > PrimaryTrackMap
define a map for Primary Track
int XtalIdHit[100][3]
XtalId in TC
double TCRawTiming[100]
TC raw timing.
int trackIdHit[100][3]
Track Id.
double px[100][3]
Momentum X of particle.
TrgEclMapping * _TCMap
object of TC Mapping
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.