1 #ifndef FastSimulation_CaloGeometryTools_CaloGeometryHelper 2 #define FastSimulation_CaloGeometryTools_CaloGeometryHelper 31 void getWindow(
const DetId& pivot,
int s1,
int s2, std::vector<DetId>&)
const;
bool preshowerPresent() const
void buildCrystal(const DetId &id, Crystal &) const
DetId getClosestCell(const XYZPoint &point, bool ecal, bool central) const
double preshowerZPosition(int layer) const
math::XYZVector XYZVector
void getWindow(const DetId &pivot, int s1, int s2, std::vector< DetId > &) const
std::vector< NeiVect > barrelNeighbours_
std::array< DetId, 8 > NeiVect
std::vector< NeiVect > endcapNeighbours_
bool simplemove(DetId &cell, const CaloDirection &dir) const
constexpr std::array< uint8_t, layerIndexSize > layer
bool neighbourmapcalculated_
void buildNeighbourArray()
const NeiVect & getNeighbours(const DetId &det) const
std::vector< BaseCrystal > endcapCrystals_
bool move(DetId &cell, const CaloDirection &dir, bool fast=true) const
bool borderCrossing(const DetId &, const DetId &) const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
double magneticField() const
bool diagonalmove(DetId &cell, const CaloDirection &dir) const
std::vector< BaseCrystal > barrelCrystals_
CaloDirection
Codes the local directions in the cell lattice.
void initialize(double bField)
*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