21 auto cc = setWhatProduced(
this);
44 if (
auto tkH = tkRecord->getHandle(trackerToken_)) {
47 LogWarning(
"GeometryGlobalTrackingGeometryBuilder") <<
"No Tracker geometry is available.";
50 LogWarning(
"GeometryGlobalTrackingGeometryBuilder") <<
"No TrackerDigiGeometryRecord is available.";
54 if (
auto mtdH = mtdRecord->getHandle(mtdToken_)) {
57 LogInfo(
"GeometryGlobalTrackingGeometryBuilder") <<
"No MTD geometry is available.";
60 LogInfo(
"GeometryGlobalTrackingGeometryBuilder") <<
"No MTDDigiGeometryRecord is available.";
64 if (
auto dtH = muonRecord->getHandle(dtToken_)) {
67 LogWarning(
"GeometryGlobalTrackingGeometryBuilder") <<
"No DT geometry is available.";
70 if (
auto cscH = muonRecord->getHandle(cscToken_)) {
73 LogWarning(
"GeometryGlobalTrackingGeometryBuilder") <<
"No CSC geometry is available.";
76 if (
auto rpcH = muonRecord->getHandle(rpcToken_)) {
79 LogWarning(
"GeometryGlobalTrackingGeometryBuilder") <<
"No RPC geometry is available.";
82 if (
auto gemH = muonRecord->getHandle(gemToken_)) {
85 LogInfo(
"GeometryGlobalTrackingGeometryBuilder") <<
"No GEM geometry is available.";
88 if (
auto me0H = muonRecord->getHandle(me0Token_)) {
91 LogInfo(
"GeometryGlobalTrackingGeometryBuilder") <<
"No ME0 geometry is available.";
95 LogWarning(
"GeometryGlobalTrackingGeometryBuilder") <<
"No MuonGeometryRecord is available.";
uint32_t cc[maxCellsPerHit]
GlobalTrackingGeometryESProducer(const edm::ParameterSet &p)
Constructor.
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Log< level::Info, false > LogInfo
GlobalTrackingGeometry * build(const TrackerGeometry *tk, const MTDGeometry *mtd, const DTGeometry *dt, const CSCGeometry *csc, const RPCGeometry *rpc, const GEMGeometry *gem, const ME0Geometry *me0)
Build the geometry.
Log< level::Warning, false > LogWarning
std::unique_ptr< GlobalTrackingGeometry > produce(const GlobalTrackingGeometryRecord &record)
Produce GlobalTrackingGeometry.
~GlobalTrackingGeometryESProducer() override
Destructor.