1 #ifndef TrackAssociator_CaloDetIdAssociator_h 2 #define TrackAssociator_CaloDetIdAssociator_h 1 47 const char*
name()
const override {
return "CaloTowers"; }
54 void getValidDetIds(
unsigned int subDetectorIndex, std::vector<DetId>& )
const override;
56 std::pair<const_iterator, const_iterator>
getDetIdPoints(
const DetId&
id, std::vector<GlobalPoint>&
points)
const override;
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
void check_setup() const override
bool crossedElement(const GlobalPoint &, const GlobalPoint &, const DetId &id, const double tolerance=-1, const SteppingHelixStateInfo *=0) const override
void getValidDetIds(unsigned int subDetectorIndex, std::vector< DetId > &) const override
const char * name() const override
double etaBinSize() const
look-up map bin size in eta dimension
const GeomDet * getGeomDet(const DetId &id) const override
bool insideElement(const GlobalPoint &point, const DetId &id) const override
CaloDetIdAssociator(const int nPhi, const int nEta, const double etaBinSize)
GlobalPoint getPosition(const DetId &id) const override
std::vector< GlobalPoint > dummy_
const CaloGeometry * geometry_
std::pair< const_iterator, const_iterator > getDetIdPoints(const DetId &id, std::vector< GlobalPoint > &points) const override
CaloDetIdAssociator(const edm::ParameterSet &pSet)
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.
virtual void setGeometry(const CaloGeometry *ptr)
*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