1 #ifndef FastSimulation_CaloGeometryTools_CaloGeometryHelper 2 #define FastSimulation_CaloGeometryTools_CaloGeometryHelper 32 DetId getClosestCell(
const XYZPoint&
point,
bool ecal,
bool central)
const;
35 void getWindow(
const DetId& pivot,
int s1,
int s2,std::vector<DetId> &)
const;
40 return (layer==1) ? psLayer1Z_: psLayer2Z_ ;
50 const NeiVect& getNeighbours(
const DetId& det)
const ;
55 bool borderCrossing(
const DetId&,
const DetId&)
const ;
62 void buildNeighbourArray();
63 void buildCrystalArray();
double preshowerZPosition(int layer) const
static AlgebraicMatrix initialize()
math::XYZVector XYZVector
std::vector< NeiVect > endcapNeighbours_
bool neighbourmapcalculated_
std::vector< BaseCrystal > endcapCrystals_
double magneticField() const
std::vector< NeiVect > barrelNeighbours_
std::array< DetId, 8 > NeiVect
XYZVectorD XYZVector
spatial vector with cartesian internal representation
bool preshowerPresent() const
std::vector< BaseCrystal > barrelCrystals_
CaloDirection
Codes the local directions in the cell lattice.
*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