32 setWhatProduced(
this);
39 std::shared_ptr<ME0Geometry>
43 LogTrace(
"ME0GeometryESModule")<<
"ME0GeometryESModule::produce with useDDD = "<<useDDD<<
" and use10EtaPart = "<<use10EtaPart;
45 if(useDDD && !use10EtaPart){
46 LogTrace(
"ME0GeometryESModule")<<
"ME0GeometryESModule::produce :: ME0GeometryBuilderFromDDD builder";
52 return std::shared_ptr<ME0Geometry>(builder.
build(&(*cpv), *mdc));
54 else if(useDDD && use10EtaPart){
55 LogTrace(
"ME0GeometryESModule")<<
"ME0GeometryESModule::produce :: ME0GeometryBuilderFromDDD10EtaPart builder";
61 return std::shared_ptr<ME0Geometry>(builder.
build(&(*cpv), *mdc));
64 LogTrace(
"ME0GeometryESModule")<<
"ME0GeometryESModule::produce :: ME0GeometryBuilderFromCondDB builder";
68 return std::shared_ptr<ME0Geometry>(builder.
build(*rigme0));
T getParameter(std::string const &) const
ME0GeometryESModule(const edm::ParameterSet &p)
Constructor.
ME0Geometry * build(const DDCompactView *cview, const MuonDDDConstants &muonConstants)
const DepRecordT & getRecord() const
ME0Geometry * build(const RecoIdealGeometry &rgeo)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
~ME0GeometryESModule() override
Destructor.
ME0Geometry * build(const DDCompactView *cview, const MuonDDDConstants &muonConstants)
std::shared_ptr< ME0Geometry > produce(const MuonGeometryRecord &record)
Produce ME0Geometry.