SimPPS
PPSPixelDigiProducer
interface
RPixLinearChargeDivider.h
Go to the documentation of this file.
1
#ifndef SimPPS_PPSPixelDigiProducer_LINEAR_CHARGE_DIVIDER_H
2
#define SimPPS_PPSPixelDigiProducer_LINEAR_CHARGE_DIVIDER_H
3
4
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
5
#include "
SimTracker/Common/interface/SiG4UniversalFluctuation.h
"
6
#include "
SimPPS/PPSPixelDigiProducer/interface/RPixEnergyDepositUnit.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
9
namespace
CLHEP
{
10
class
HepRandomEngine;
11
}
12
13
class
RPixLinearChargeDivider
{
14
public
:
15
RPixLinearChargeDivider
(
const
edm::ParameterSet
&
params
, CLHEP::HepRandomEngine& eng, uint32_t det_id);
16
~RPixLinearChargeDivider
();
17
18
std::vector<RPixEnergyDepositUnit>
divide
(
const
PSimHit
&
hit
);
19
20
private
:
21
CLHEP::HepRandomEngine&
rndEngine_
;
22
uint32_t
det_id_
;
23
bool
fluctuateCharge_
;
24
int
chargedivisions_
;
25
double
deltaCut_
;
26
double
pitch_
;
27
double
thickness_
;
28
29
std::vector<RPixEnergyDepositUnit>
the_energy_path_distribution_
;
30
SiG4UniversalFluctuation
*
fluctuate
;
31
int
verbosity_
;
32
33
void
FluctuateEloss
(
int
pid,
34
double
particleMomentum,
35
double
eloss,
36
double
length,
37
int
NumberOfSegs,
38
std::vector<RPixEnergyDepositUnit>& elossVector);
39
};
40
41
#endif
RPixLinearChargeDivider::deltaCut_
double deltaCut_
Definition:
RPixLinearChargeDivider.h:25
RPixLinearChargeDivider
Definition:
RPixLinearChargeDivider.h:13
CalibrationSummaryClient_cfi.params
params
Definition:
CalibrationSummaryClient_cfi.py:14
RPixLinearChargeDivider::thickness_
double thickness_
Definition:
RPixLinearChargeDivider.h:27
RPixLinearChargeDivider::fluctuate
SiG4UniversalFluctuation * fluctuate
Definition:
RPixLinearChargeDivider.h:30
RPixLinearChargeDivider::FluctuateEloss
void FluctuateEloss(int pid, double particleMomentum, double eloss, double length, int NumberOfSegs, std::vector< RPixEnergyDepositUnit > &elossVector)
Definition:
RPixLinearChargeDivider.cc:62
RPixLinearChargeDivider::~RPixLinearChargeDivider
~RPixLinearChargeDivider()
Definition:
RPixLinearChargeDivider.cc:17
SiG4UniversalFluctuation.h
RPixLinearChargeDivider::fluctuateCharge_
bool fluctuateCharge_
Definition:
RPixLinearChargeDivider.h:23
PSimHit.h
RPixEnergyDepositUnit.h
RPixLinearChargeDivider::chargedivisions_
int chargedivisions_
Definition:
RPixLinearChargeDivider.h:24
RPixLinearChargeDivider::det_id_
uint32_t det_id_
Definition:
RPixLinearChargeDivider.h:22
CLHEP
Definition:
CocoaGlobals.h:27
edm::ParameterSet
Definition:
ParameterSet.h:36
RPixLinearChargeDivider::rndEngine_
CLHEP::HepRandomEngine & rndEngine_
Definition:
RPixLinearChargeDivider.h:21
RPixLinearChargeDivider::pitch_
double pitch_
Definition:
RPixLinearChargeDivider.h:26
SiG4UniversalFluctuation
Definition:
SiG4UniversalFluctuation.h:25
RPixLinearChargeDivider::the_energy_path_distribution_
std::vector< RPixEnergyDepositUnit > the_energy_path_distribution_
Definition:
RPixLinearChargeDivider.h:29
RPixLinearChargeDivider::verbosity_
int verbosity_
Definition:
RPixLinearChargeDivider.h:31
ParameterSet.h
PSimHit
Definition:
PSimHit.h:15
RPixLinearChargeDivider::RPixLinearChargeDivider
RPixLinearChargeDivider(const edm::ParameterSet ¶ms, CLHEP::HepRandomEngine &eng, uint32_t det_id)
Definition:
RPixLinearChargeDivider.cc:6
RPixLinearChargeDivider::divide
std::vector< RPixEnergyDepositUnit > divide(const PSimHit &hit)
Definition:
RPixLinearChargeDivider.cc:19
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
Generated for CMSSW Reference Manual by
1.8.16