Go to the documentation of this file.
9 #include "Math/GenVector/Plane3D.h"
26 psLayer1Entrance_(layer1entrance),
27 psLayer1Dir_(layer1dir),
28 psLayer2Entrance_(layer2entrance),
29 psLayer2Dir_(layer2dir),
32 theGenerator(aGenerator),
96 int z = (
point.z() > 0) ? 1 : -1;
112 std::map<CaloHitID, float>::iterator cellitr;
113 cellitr =
hitMap_.find(current_id);
114 if (cellitr ==
hitMap_.end()) {
115 hitMap_.insert(std::pair<CaloHitID, float>(current_id, spote));
117 cellitr->second += spote;
122 }
else if (
layer == 2) {
const LandauFluctuationGenerator * theGenerator
The Landau Fluctuation generator.
ROOT::Math::Transform3DPJ::Point Point
Transform3D locToGlobal1_
ROOT::Math::Plane3D Plane3D
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
XYZPoint psLayer2Entrance_
PreshowerHitMaker(CaloGeometryHelper *calo, const XYZPoint &, const XYZVector &, const XYZPoint &, const XYZVector &, const LandauFluctuationGenerator *aGenerator, const RandomEngineAndDistribution *engine)
Global3DPoint GlobalPoint
bool addHit(double r, double phi, unsigned layer=0) override
static XYZPoint intersect(const Plane3D &p, const XYZPoint &a, const XYZPoint &b, double &t, bool segment, bool debug=false)
constexpr std::array< uint8_t, layerIndexSize > layer
virtual DetId getClosestCellInPlane(const GlobalPoint &r, int plane) const
Structure Point Contains parameters of Gaussian fits to DMRs.
ROOT::Math::Transform3DPJ Transform3D
double landau(RandomEngineAndDistribution const *random) const
Random generator of the dE/dX spread (Landau function)
virtual std::shared_ptr< const CaloCellGeometry > getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
double preshowerZPosition(int layer) const
const CaloGeometryHelper * myCalorimeter
XYZPoint psLayer1Entrance_
ROOT::Math::Plane3D Plane3D
std::map< CaloHitID, float > hitMap_
Transform3D locToGlobal2_
const EcalPreshowerGeometry * getEcalPreshowerGeometry() const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
const RandomEngineAndDistribution * random
math::XYZVector XYZVector