#include <RPLinearChargeDivider.h>
Public Member Functions | |
simromanpot::energy_path_distribution | divide (const PSimHit &hit) |
RPLinearChargeDivider (const edm::ParameterSet ¶ms, CLHEP::HepRandomEngine &eng, RPDetId det_id) | |
~RPLinearChargeDivider () | |
Private Member Functions | |
void | FluctuateEloss (int pid, double particleMomentum, double eloss, double length, int NumberOfSegs, simromanpot::energy_path_distribution &elossVector) |
Private Attributes | |
int | chargedivisionsPerStrip_ |
int | chargedivisionsPerThickness_ |
double | deltaCut_ |
RPDetId | det_id_ |
std::unique_ptr< SiG4UniversalFluctuation > | fluctuate_ |
bool | fluctuateCharge_ |
const edm::ParameterSet & | params_ |
double | pitch_ |
CLHEP::HepRandomEngine & | rndEngine_ |
simromanpot::energy_path_distribution | the_energy_path_distribution_ |
double | thickness_ |
int | verbosity_ |
Definition at line 13 of file RPLinearChargeDivider.h.
RPLinearChargeDivider::RPLinearChargeDivider | ( | const edm::ParameterSet & | params, |
CLHEP::HepRandomEngine & | eng, | ||
RPDetId | det_id | ||
) |
Definition at line 7 of file RPLinearChargeDivider.cc.
References chargedivisionsPerStrip_, chargedivisionsPerThickness_, deltaCut_, fluctuate_, fluctuateCharge_, edm::ParameterSet::getParameter(), pitch_, thickness_, and verbosity_.
RPLinearChargeDivider::~RPLinearChargeDivider | ( | ) |
Definition at line 37 of file RPLinearChargeDivider.cc.
simromanpot::energy_path_distribution RPLinearChargeDivider::divide | ( | const PSimHit & | hit | ) |
Definition at line 39 of file RPLinearChargeDivider.cc.
References chargedivisionsPerStrip_, chargedivisionsPerThickness_, det_id_, simKBmtfDigis_cfi::eLoss, PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), fluctuateCharge_, FluctuateEloss(), mps_fire::i, createfilelist::int, PV3DBase< T, PVType, FrameType >::mag(), SiStripPI::max, PSimHit::pabs(), PSimHit::particleType(), pitch_, the_energy_path_distribution_, thickness_, verbosity_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 87 of file RPLinearChargeDivider.cc.
References funct::abs(), deltaCut_, EcalCondDBWriter_cfi::Energy, fluctuate_, mps_fire::i, cuy::ii, particleFlowDisplacedVertex_cfi::ratio, and rndEngine_.
Referenced by divide().
|
private |
Definition at line 25 of file RPLinearChargeDivider.h.
Referenced by divide(), and RPLinearChargeDivider().
|
private |
Definition at line 26 of file RPLinearChargeDivider.h.
Referenced by divide(), and RPLinearChargeDivider().
|
private |
Definition at line 27 of file RPLinearChargeDivider.h.
Referenced by FluctuateEloss(), and RPLinearChargeDivider().
|
private |
Definition at line 22 of file RPLinearChargeDivider.h.
Referenced by divide().
|
private |
Definition at line 31 of file RPLinearChargeDivider.h.
Referenced by FluctuateEloss(), and RPLinearChargeDivider().
|
private |
Definition at line 24 of file RPLinearChargeDivider.h.
Referenced by divide(), and RPLinearChargeDivider().
|
private |
Definition at line 20 of file RPLinearChargeDivider.h.
|
private |
Definition at line 28 of file RPLinearChargeDivider.h.
Referenced by divide(), and RPLinearChargeDivider().
|
private |
Definition at line 21 of file RPLinearChargeDivider.h.
Referenced by FluctuateEloss().
|
private |
Definition at line 30 of file RPLinearChargeDivider.h.
Referenced by divide().
|
private |
Definition at line 29 of file RPLinearChargeDivider.h.
Referenced by divide(), and RPLinearChargeDivider().
|
private |
Definition at line 32 of file RPLinearChargeDivider.h.
Referenced by divide(), and RPLinearChargeDivider().