#include <PreshowerHitMaker.h>
Public Types | |
typedef ROOT::Math::Transform3DPJ | Transform3D |
typedef math::XYZVector | XYZPoint |
typedef math::XYZVector | XYZVector |
Public Types inherited from CaloHitMaker | |
typedef ROOT::Math::Plane3D | Plane3D |
typedef math::XYZVector | XYZPoint |
typedef math::XYZVector | XYZVector |
Public Member Functions | |
bool | addHit (double r, double phi, unsigned layer=0) override |
const std::map< CaloHitID, float > & | getHits () override |
float | layer1Calibrated () const |
float | layer2Calibrated () const |
PreshowerHitMaker (CaloGeometryHelper *calo, const XYZPoint &, const XYZVector &, const XYZPoint &, const XYZVector &, const LandauFluctuationGenerator *aGenerator, const RandomEngineAndDistribution *engine) | |
void | setMipEnergy (double e1, double e2) |
void | setSpotEnergy (double e) override |
float | totalCalibrated () const |
float | totalLayer1 () const |
float | totalLayer2 () const |
~PreshowerHitMaker () override | |
Public Member Functions inherited from CaloHitMaker | |
CaloHitMaker (const CaloGeometryHelper *calo, DetId::Detector det, int subdetn, int cal, unsigned sht=0) | |
const CaloGeometryHelper * | getCalorimeter () const |
virtual | ~CaloHitMaker () |
Private Attributes | |
float | anglecorrection1_ |
float | anglecorrection2_ |
bool | layer1valid_ |
bool | layer2valid_ |
Transform3D | locToGlobal1_ |
Transform3D | locToGlobal2_ |
double | mip1_ |
double | mip2_ |
XYZVector | psLayer1Dir_ |
XYZPoint | psLayer1Entrance_ |
XYZVector | psLayer2Dir_ |
XYZPoint | psLayer2Entrance_ |
const RandomEngineAndDistribution * | random |
const LandauFluctuationGenerator * | theGenerator |
The Landau Fluctuation generator. More... | |
float | totalLayer1_ |
float | totalLayer2_ |
Additional Inherited Members | |
Static Protected Member Functions inherited from CaloHitMaker | |
static XYZPoint | intersect (const Plane3D &p, const XYZPoint &a, const XYZPoint &b, double &t, bool segment, bool debug=false) |
Protected Attributes inherited from CaloHitMaker | |
bool | EMSHOWER |
bool | HADSHOWER |
std::map< CaloHitID, float > | hitMap_ |
double | interactionLength |
bool | MIP |
double | moliereRadius |
const CaloGeometryHelper * | myCalorimeter |
unsigned | showerType_ |
double | spotEnergy |
const CalorimeterProperties * | theCaloProperties |
Definition at line 11 of file PreshowerHitMaker.h.
Definition at line 15 of file PreshowerHitMaker.h.
Definition at line 14 of file PreshowerHitMaker.h.
Definition at line 13 of file PreshowerHitMaker.h.
PreshowerHitMaker::PreshowerHitMaker | ( | CaloGeometryHelper * | calo, |
const XYZPoint & | layer1entrance, | ||
const XYZVector & | layer1dir, | ||
const XYZPoint & | layer2entrance, | ||
const XYZVector & | layer2dir, | ||
const LandauFluctuationGenerator * | aGenerator, | ||
const RandomEngineAndDistribution * | engine | ||
) |
Definition at line 18 of file PreshowerHitMaker.cc.
References anglecorrection1_, anglecorrection2_, CaloHitMaker::intersect(), layer1valid_, layer2valid_, locToGlobal1_, locToGlobal2_, CaloHitMaker::myCalorimeter, CaloGeometryHelper::preshowerZPosition(), psLayer1Entrance_, psLayer2Entrance_, z, and LaserClient_cfi::zaxis.
|
inlineoverride |
Definition at line 25 of file PreshowerHitMaker.h.
|
overridevirtual |
Implements CaloHitMaker.
Definition at line 88 of file PreshowerHitMaker.cc.
References anglecorrection1_, anglecorrection2_, funct::cos(), EcalPreshowerGeometry::getClosestCellInPlane(), Calorimeter::getEcalPreshowerGeometry(), CaloSubdetectorGeometry::getGeometry(), CaloHitMaker::hitMap_, LandauFluctuationGenerator::landau(), phase1PixelTopology::layer, layer1valid_, layer2valid_, locToGlobal1_, locToGlobal2_, mip1_, mip2_, CaloHitMaker::moliereRadius, CaloHitMaker::myCalorimeter, phi, point, CaloGeometryHelper::preshowerZPosition(), alignCSCRings::r, random, funct::sin(), digitizers_cfi::strip, theGenerator, totalLayer1_, totalLayer2_, and z.
Referenced by EMShower::compute().
|
inlineoverridevirtual |
Implements CaloHitMaker.
Definition at line 30 of file PreshowerHitMaker.h.
References CaloHitMaker::hitMap_.
Referenced by CalorimetryManager::EMShowerSimulation().
|
inline |
|
inline |
|
inline |
Definition at line 32 of file PreshowerHitMaker.h.
References StorageManager_cfg::e1, mip1_, and mip2_.
Referenced by CalorimetryManager::EMShowerSimulation().
|
inlineoverridevirtual |
Implements CaloHitMaker.
Definition at line 27 of file PreshowerHitMaker.h.
References MillePedeFileConverter_cfg::e, and CaloHitMaker::spotEnergy.
Referenced by EMShower::compute().
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 52 of file PreshowerHitMaker.h.
Referenced by addHit(), and PreshowerHitMaker().
|
private |
Definition at line 53 of file PreshowerHitMaker.h.
Referenced by addHit(), and PreshowerHitMaker().
|
private |
Definition at line 48 of file PreshowerHitMaker.h.
Referenced by addHit(), and PreshowerHitMaker().
|
private |
Definition at line 49 of file PreshowerHitMaker.h.
Referenced by addHit(), and PreshowerHitMaker().
|
private |
Definition at line 50 of file PreshowerHitMaker.h.
Referenced by addHit(), and PreshowerHitMaker().
|
private |
Definition at line 51 of file PreshowerHitMaker.h.
Referenced by addHit(), and PreshowerHitMaker().
|
private |
Definition at line 54 of file PreshowerHitMaker.h.
Referenced by addHit(), and setMipEnergy().
|
private |
Definition at line 54 of file PreshowerHitMaker.h.
Referenced by addHit(), and setMipEnergy().
|
private |
Definition at line 45 of file PreshowerHitMaker.h.
|
private |
Definition at line 44 of file PreshowerHitMaker.h.
Referenced by PreshowerHitMaker().
|
private |
Definition at line 47 of file PreshowerHitMaker.h.
|
private |
Definition at line 46 of file PreshowerHitMaker.h.
Referenced by PreshowerHitMaker().
|
private |
Definition at line 59 of file PreshowerHitMaker.h.
Referenced by addHit().
|
private |
The Landau Fluctuation generator.
Definition at line 58 of file PreshowerHitMaker.h.
Referenced by addHit().
|
private |
Definition at line 55 of file PreshowerHitMaker.h.
Referenced by addHit(), layer1Calibrated(), totalCalibrated(), and totalLayer1().
|
private |
Definition at line 56 of file PreshowerHitMaker.h.
Referenced by addHit(), layer2Calibrated(), totalCalibrated(), and totalLayer2().