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){
int hashedIndex() const
get a compact index for arrays
static std::vector< float > barrelfromXML(const std::string &filename)
static EEDetId unhashIndex(int hi)
BOOST_PYTHON_MODULE(pluginBeamSpotObjects_toXML)
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)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
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 EBDetId unhashIndex(int hi)
get a DetId from a compact index for arrays
std::vector< int > hashedIndexToXY(int hashedindex)
std::vector< int > hashedIndexToEtaPhi(int hashedindex)
int ism(int ieta, int iphi)