5#ifndef MUONDIGITIZATION_CSCDIGITIZATIONTOOL_H
6#define MUONDIGITIZATION_CSCDIGITIZATIONTOOL_H
12#include "GaudiKernel/ServiceHandle.h"
13#include "GaudiKernel/ToolHandle.h"
15#include "CLHEP/Random/RandomEngine.h"
41 typedef std::vector<CscSimData::Deposit>
deposits;
42 typedef std::map<IdentifierHash,std::pair<double,double> >
csc_map;
43 typedef std::map<IdentifierHash,std::vector<float> >
csc_newmap;
52 virtual StatusCode
initialize() override final;
68 virtual StatusCode
prepareEvent(
const EventContext& ctx,
unsigned int ) override final;
91 BooleanProperty
m_onlyUseContainerName{
this,
"OnlyUseContainerName",
true,
"Don't use the ReadHandleKey directly. Just extract the container name from it."};
101 Gaudi::Property<double>
m_pedestal{
this,
"pedestal",0.0,
""};
113 Gaudi::Property<bool>
m_isPileUp{
this,
"isPileUp",
false,
""};
121 ServiceHandle <IAthRNGSvc>
m_rndmSvc{
this,
"RndmSvc",
"AthRNGSvc",
""};
the preferred mechanism to access information from the different event stores in a pileup job.
This is a "hash" representation of an Identifier.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.