27 std::vector<int> theHcalShapeNums = {101,102,103,104,105,123,124,125,201,202,203,205,301};
30 for(
unsigned inum = 0; inum < theHcalShapeNums.size(); ++inum){
31 int num = theHcalShapeNums[inum];
47 delete shapeItr.second;
86 auto shapeMapItr = myShapes.find(shapeType);
87 if(shapeMapItr == myShapes.end()) {
89 << shapeType << std::endl;
92 return shapeMapItr->second;
108 else result =
nullptr;
110 edm::LogWarning(
"HcalShapes") <<
"Cannot find HCAL MC Params, so the default one is taken for subdet " << subdet;
Electronic response of the preamp.
const Item * getValues(DetId fId, bool throwOnFail=true) const
const CaloVShape * shape(const DetId &detId, bool precise=false) const override
std::map< int, const CaloVShape * > ShapeMap
const CaloVShape * defaultShape(const DetId &detId, bool precise=false) const
const ShapeMap & getShapeMap(bool precise) const
const HcalTopology * theTopology
unsigned int signalShape() const
void beginRun(edm::EventSetup const &es)
std::vector< HcalShape > theHcalShapes
HcalGenericSubdetector genericSubdet() const
HcalMCParams * theMCParams
T const * product() const
void setTopo(const HcalTopology *topo)
ShapeMap theShapesPrecise