12 #include <boost/python.hpp> 13 #include <boost/python/suite/indexing/vector_indexing_suite.hpp> 56 int ism(
int ieta,
int iphi){
int hashedIndex() const
get a compact index for arrays
static std::vector< float > barrelfromXML(const std::string &filename)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
static EEDetId unhashIndex(int hi)
int ism() const
get the ECAL/SM id
int iphi() const
get the crystal iphi
int hashedIndex(int ieta, int iphi)
int hashedIndexEE(int ix, int iy, int iz)
int ieta() const
get the crystal ieta
std::string arraystoXML(const std::vector< float > &eb, const std::vector< float > &ee)
static std::vector< float > endcapfromXML(const std::string &filename)
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
static std::string dumpXML(const EcalCondHeader &header, const std::vector< float > &eb, const std::vector< float > &ee)
static EBDetId unhashIndex(int hi)
get a DetId from a compact index for arrays
BOOST_PYTHON_MODULE(pluginEcalPyUtils)
std::vector< int > hashedIndexToXY(int hashedindex)
std::vector< int > hashedIndexToEtaPhi(int hashedindex)
int ism(int ieta, int iphi)