12 #include <boost/python.hpp>
13 #include <boost/python/suite/indexing/vector_indexing_suite.hpp>
15 using namespace boost::python;
19 namespace ecalpyutils{
56 int ism(
int ieta,
int iphi){
61 std::string
arraystoXML(
const std::vector<float>& eb,
const std::vector<float>& ee){
int hashedIndex() const
get a compact index for arrays
static std::vector< float > barrelfromXML(const std::string &filename)
static EEDetId unhashIndex(int hi)
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
int ism() const
get the ECAL/SM id
int iphi() const
get the crystal iphi
int hashedIndex(int ieta, int iphi)
static std::string dumpXML(const EcalCondHeader &header, const EcalFloatCondObjectContainer &record)
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)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
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)