#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) |
const std::map< CaloHitID, float > & | getHits () |
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) |
float | totalCalibrated () const |
float | totalLayer1 () const |
float | totalLayer2 () const |
~PreshowerHitMaker () | |
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 17 of file PreshowerHitMaker.h.
Definition at line 16 of file PreshowerHitMaker.h.
Definition at line 15 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_, and detailsBasic3DVector::z.
|
inline |
Definition at line 27 of file PreshowerHitMaker.h.
|
virtual |
Implements CaloHitMaker.
Definition at line 91 of file PreshowerHitMaker.cc.
References anglecorrection1_, anglecorrection2_, funct::cos(), EcalPreshowerGeometry::getClosestCellInPlane(), Calorimeter::getEcalPreshowerGeometry(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), CaloHitMaker::hitMap_, LandauFluctuationGenerator::landau(), layer1valid_, layer2valid_, locToGlobal1_, locToGlobal2_, PV3DBase< T, PVType, FrameType >::mag(), mip1_, mip2_, CaloHitMaker::moliereRadius, CaloHitMaker::myCalorimeter, point, CaloGeometryHelper::preshowerZPosition(), random, funct::sin(), theGenerator, totalLayer1_, totalLayer2_, and detailsBasic3DVector::z.
Referenced by EMShower::compute().
|
inlinevirtual |
Implements CaloHitMaker.
Definition at line 32 of file PreshowerHitMaker.h.
References CaloHitMaker::hitMap_.
Referenced by CalorimetryManager::EMShowerSimulation().
|
inline |
|
inline |
|
inline |
Definition at line 34 of file PreshowerHitMaker.h.
Referenced by CalorimetryManager::EMShowerSimulation().
|
inlinevirtual |
Implements CaloHitMaker.
Definition at line 29 of file PreshowerHitMaker.h.
References alignCSCRings::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().