5#ifndef ISF_FASTCALOSIMPARAMETRIZATION_CALOGEOMETRYLOOKUP_H
6#define ISF_FASTCALOSIMPARAMETRIZATION_CALOGEOMETRYLOOKUP_H
22typedef std::map< Identifier , const CaloDetDescrElement* >
t_cellmap;
93 const std::vector< std::vector< const CaloDetDescrElement* > > * cell_grid(){
return &
m_cell_grid ; } ;
117 std::vector< std::vector< const CaloDetDescrElement* > >
m_cell_grid;
const boost::regex ref(r_ef)
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
std::map< Identifier, const CaloDetDescrElement * > t_cellmap
std::map< double, const CaloDetDescrElement * > t_eta_cellmap
This class groups all DetDescr information related to a CaloCell.
int cell_grid_eta() const
const MeanAndRMS & deta()
float m_minphi_correction
float m_maxphi_correction
std::vector< std::vector< const CaloDetDescrElement * > > m_cell_grid
const MeanAndRMS & dphi()
bool IsCompatible(const CaloDetDescrElement *cell)
MeanAndRMS m_phi_correction
int raw_phi_position_to_index(float phi_raw) const
t_cellmap::size_type size() const
void add(const CaloDetDescrElement *cell)
virtual const CaloDetDescrElement * getDDE(float eta, float phi, float *distance=0, int *steps=0)
bool index_range_adjust(int &ieta, int &iphi) const
bool has_overlap(CaloGeometryLookup *ref)
const MeanAndRMS & x_correction()
MeanAndRMS m_eta_correction
const MeanAndRMS & eta_correction()
const MeanAndRMS & y_correction()
const MeanAndRMS & phi_correction()
float m_maxeta_correction
float m_xy_grid_adjustment_factor
int raw_eta_position_to_index(float eta_raw) const
float calculate_distance_eta_phi(const CaloDetDescrElement *DDE, float eta, float phi, float &dist_eta0, float &dist_phi0) const
virtual ~CaloGeometryLookup()
void merge_into_ref(CaloGeometryLookup *ref)
void set_xy_grid_adjustment_factor(float factor)
CaloGeometryLookup(int ind=0)
int cell_grid_phi() const
float m_mineta_correction