31 mapFile_(iConfig.getUntrackedParameter<std::string>(
"MapFile",
""))
60 prod->useStandardHB(
true);
61 prod->useStandardHE(
true);
62 prod->useStandardHF(
true);
63 prod->useStandardHO(
true);
64 prod->useStandardEB(
true);
77 gzFile gzed=gzopen(eff.
fullPath().c_str(),
"rb");
79 while (!gzeof(gzed)) {
81 int ieta, iphi, rawid;
82 gzgets(gzed,line,1023);
84 int ct=sscanf(line,
"%i %d %d",&rawid,&ieta,&iphi);
CaloTowerConstituentsMapBuilder(const edm::ParameterSet &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
std::auto_ptr< CaloTowerConstituentsMap > ReturnType
void assign(const DetId &cell, const CaloTowerDetId &tower)
set the association between a DetId and a tower
~CaloTowerConstituentsMapBuilder()
std::string fullPath() const
ReturnType produce(const IdealGeometryRecord &)
void parseTextMap(const std::string &filename, CaloTowerConstituentsMap &theMap)