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 | Private Attributes
FiberSensitiveDetectorBuilder Class Reference
Inheritance diagram for FiberSensitiveDetectorBuilder:
SensitiveDetectorMakerBase

Public Member Functions

void beginRun (const edm::EventSetup &es) final
 
 FiberSensitiveDetectorBuilder (const edm::ParameterSet &p, edm::ConsumesCollector cc)
 
std::unique_ptr
< SensitiveDetector
make (const std::string &iname, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry &reg) const final
 
- Public Member Functions inherited from SensitiveDetectorMakerBase
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 ()
 

Private Attributes

const edm::ESGetToken
< HcalDDDSimConstants,
HcalSimNumberingRecord
cdcToken_
 
const edm::ESGetToken
< HcalSimulationConstants,
HcalSimNumberingRecord
cspsToken_
 
const HcalDDDSimConstantshcalDDCons_
 
const HcalSimulationConstantshcalSimCons_
 

Detailed Description

Definition at line 32 of file FiberSensitiveDetectorBuilder.cc.

Constructor & Destructor Documentation

FiberSensitiveDetectorBuilder::FiberSensitiveDetectorBuilder ( const edm::ParameterSet p,
edm::ConsumesCollector  cc 
)
inlineexplicit

Definition at line 34 of file FiberSensitiveDetectorBuilder.cc.

References edm::BeginRun, cdcToken_, edm::ConsumesCollector::esConsumes(), hcalDDCons_, and hcalSimCons_.

37  hcalSimCons_{nullptr},
38  hcalDDCons_{nullptr} {}
const edm::ESGetToken< HcalDDDSimConstants, HcalSimNumberingRecord > cdcToken_
const HcalSimulationConstants * hcalSimCons_
const edm::ESGetToken< HcalSimulationConstants, HcalSimNumberingRecord > cspsToken_

Member Function Documentation

void FiberSensitiveDetectorBuilder::beginRun ( const edm::EventSetup es)
inlinefinalvirtual

Reimplemented from SensitiveDetectorMakerBase.

Definition at line 40 of file FiberSensitiveDetectorBuilder.cc.

References cdcToken_, cspsToken_, hcalDDCons_, and hcalSimCons_.

40  {
43  }
const edm::ESGetToken< HcalDDDSimConstants, HcalSimNumberingRecord > cdcToken_
bool getData(T &iHolder) const
Definition: EventSetup.h:122
const HcalSimulationConstants * hcalSimCons_
const edm::ESGetToken< HcalSimulationConstants, HcalSimNumberingRecord > cspsToken_
std::unique_ptr<SensitiveDetector> FiberSensitiveDetectorBuilder::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 45 of file FiberSensitiveDetectorBuilder.cc.

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

49  {
50  auto sd = std::make_unique<FiberSD>(iname, hcalSimCons_, hcalDDCons_, clg, p, man);
52  return sd;
53  }
static void enroll(SimActivityRegistry &iReg, T *iObj)
const HcalSimulationConstants * hcalSimCons_
double sd

Member Data Documentation

const edm::ESGetToken<HcalDDDSimConstants, HcalSimNumberingRecord> FiberSensitiveDetectorBuilder::cdcToken_
private

Definition at line 57 of file FiberSensitiveDetectorBuilder.cc.

Referenced by beginRun(), and FiberSensitiveDetectorBuilder().

const edm::ESGetToken<HcalSimulationConstants, HcalSimNumberingRecord> FiberSensitiveDetectorBuilder::cspsToken_
private

Definition at line 56 of file FiberSensitiveDetectorBuilder.cc.

Referenced by beginRun().

const HcalDDDSimConstants* FiberSensitiveDetectorBuilder::hcalDDCons_
private

Definition at line 59 of file FiberSensitiveDetectorBuilder.cc.

Referenced by beginRun(), FiberSensitiveDetectorBuilder(), and make().

const HcalSimulationConstants* FiberSensitiveDetectorBuilder::hcalSimCons_
private

Definition at line 58 of file FiberSensitiveDetectorBuilder.cc.

Referenced by beginRun(), FiberSensitiveDetectorBuilder(), and make().