CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
RomanPotSensitiveDetectorBuilder Class Reference
Inheritance diagram for RomanPotSensitiveDetectorBuilder:
SensitiveDetectorMakerBase

Public Member Functions

std::unique_ptr
< SensitiveDetector
make (const std::string &iname, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry &reg) const final
 
 RomanPotSensitiveDetectorBuilder (edm::ParameterSet const &p, edm::ConsumesCollector cc)
 
- Public Member Functions inherited from SensitiveDetectorMakerBase
virtual void beginRun (edm::EventSetup const &)
 
virtual std::unique_ptr
< SensitiveDetector
make (const std::string &iname, const edm::EventSetup &es, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry &reg) const
 
const SensitiveDetectorMakerBaseoperator= (const SensitiveDetectorMakerBase &)=delete
 
 SensitiveDetectorMakerBase ()=default
 
 SensitiveDetectorMakerBase (const SensitiveDetectorMakerBase &)=delete
 
virtual ~SensitiveDetectorMakerBase ()
 

Detailed Description

Definition at line 18 of file RomanPotSensitiveDetectorBuilder.cc.

Constructor & Destructor Documentation

RomanPotSensitiveDetectorBuilder::RomanPotSensitiveDetectorBuilder ( edm::ParameterSet const &  p,
edm::ConsumesCollector  cc 
)
inlineexplicit

Definition at line 20 of file RomanPotSensitiveDetectorBuilder.cc.

20 {}

Member Function Documentation

std::unique_ptr<SensitiveDetector> RomanPotSensitiveDetectorBuilder::make ( const std::string &  iname,
const SensitiveDetectorCatalog clg,
const edm::ParameterSet p,
const SimTrackManager man,
SimActivityRegistry reg 
) const
inlinefinalvirtual

Reimplemented from SensitiveDetectorMakerBase.

Definition at line 21 of file RomanPotSensitiveDetectorBuilder.cc.

References SimActivityRegistryEnroller::enroll(), AlCaHLTBitMon_ParallelJobs::p, and sd.

25  {
26  auto sd = std::make_unique<TotemRPSD>(iname, clg, p, man);
28  return sd;
29  }
static void enroll(SimActivityRegistry &iReg, T *iObj)
double sd