SimPPS
RPDigiProducer
plugins
RPHitChargeConverter.h
Go to the documentation of this file.
1
#ifndef SimPPS_RPDigiProducer_RP_HIT_CHARGE_CONVERTER_H
2
#define SimPPS_RPDigiProducer_RP_HIT_CHARGE_CONVERTER_H
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
6
#include "
SimPPS/RPDigiProducer/plugins/RPLinearChargeCollectionDrifter.h
"
7
#include "
SimPPS/RPDigiProducer/plugins/RPLinearChargeDivider.h
"
8
#include "
SimPPS/RPDigiProducer/plugins/RPLinearInduceChargeOnStrips.h
"
9
#include "
SimPPS/RPDigiProducer/interface/RPSimTypes.h
"
10
11
#include <map>
12
13
class
RPHitChargeConverter
{
14
public
:
15
RPHitChargeConverter
(
const
edm::ParameterSet
¶ms_, CLHEP::HepRandomEngine &eng,
RPDetId
det_id);
16
~RPHitChargeConverter
();
17
18
simromanpot::strip_charge_map
processHit
(
const
PSimHit
&
hit
);
19
20
private
:
21
const
RPDetId
det_id_
;
22
23
std::unique_ptr<RPLinearChargeDivider>
theRPChargeDivider
;
24
std::unique_ptr<RPLinearChargeCollectionDrifter>
theRPChargeCollectionDrifter
;
25
std::unique_ptr<RPLinearInduceChargeOnStrips>
theRPInduceChargeOnStrips
;
26
int
verbosity_
;
27
};
28
29
#endif //SimPPS_RPDigiProducer_RP_HIT_CHARGE_CONVERTER_H
RPLinearChargeCollectionDrifter.h
RPHitChargeConverter::processHit
simromanpot::strip_charge_map processHit(const PSimHit &hit)
Definition:
RPHitChargeConverter.cc:18
RPHitChargeConverter::~RPHitChargeConverter
~RPHitChargeConverter()
Definition:
RPHitChargeConverter.cc:16
RPHitChargeConverter
Definition:
RPHitChargeConverter.h:13
simromanpot::strip_charge_map
std::map< unsigned short, double > strip_charge_map
Definition:
RPSimTypes.h:14
PSimHit.h
RPHitChargeConverter::theRPChargeCollectionDrifter
std::unique_ptr< RPLinearChargeCollectionDrifter > theRPChargeCollectionDrifter
Definition:
RPHitChargeConverter.h:24
RPHitChargeConverter::verbosity_
int verbosity_
Definition:
RPHitChargeConverter.h:26
RPHitChargeConverter::theRPInduceChargeOnStrips
std::unique_ptr< RPLinearInduceChargeOnStrips > theRPInduceChargeOnStrips
Definition:
RPHitChargeConverter.h:25
edm::ParameterSet
Definition:
ParameterSet.h:36
RPHitChargeConverter::RPHitChargeConverter
RPHitChargeConverter(const edm::ParameterSet ¶ms_, CLHEP::HepRandomEngine &eng, RPDetId det_id)
Definition:
RPHitChargeConverter.cc:8
RPDetId
uint32_t RPDetId
Definition:
RPSimTypes.h:11
RPSimTypes.h
RPLinearInduceChargeOnStrips.h
RPHitChargeConverter::det_id_
const RPDetId det_id_
Definition:
RPHitChargeConverter.h:21
RPHitChargeConverter::theRPChargeDivider
std::unique_ptr< RPLinearChargeDivider > theRPChargeDivider
Definition:
RPHitChargeConverter.h:23
RPLinearChargeDivider.h
ParameterSet.h
PSimHit
Definition:
PSimHit.h:15
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
Generated for CMSSW Reference Manual by
1.8.16