26 : fromDDD_( p.getParameter<bool>(
"fromDDD" )),
27 layerNumberPXB_( p.exists(
"layerNumberPXB" ) ? p.getParameter<unsigned int>(
"layerNumberPXB" ) : 16U ),
28 totalBlade_( p.exists(
"totalBlade" ) ? p.getParameter<unsigned int>(
"totalBlade" ) : 24U )
39 descDB.
add<
bool>(
"fromDDD",
false );
40 descDB.
addOptional<
unsigned int>(
"layerNumberPXB", 16U );
41 descDB.
addOptional<
unsigned int>(
"totalBlade", 24U );
42 descriptions.
add(
"trackerNumberingGeometryDB", descDB );
45 descSLHCDB.
add<
bool>(
"fromDDD",
false );
46 descSLHCDB.
addOptional<
unsigned int>(
"layerNumberPXB", 18U );
47 descSLHCDB.
addOptional<
unsigned int>(
"totalBlade", 56U );
48 descriptions.
add(
"trackerNumberingSLHCGeometryDB", descSLHCDB );
51 desc.
add<
bool>(
"fromDDD",
true );
52 desc.
addOptional<
unsigned int>(
"layerNumberPXB", 16U );
53 desc.
addOptional<
unsigned int>(
"totalBlade", 24U );
54 descriptions.
add(
"trackerNumberingGeometry", desc );
57 descSLHC.
add<
bool>(
"fromDDD",
true );
58 descSLHC.
addOptional<
unsigned int>(
"layerNumberPXB", 18U );
59 descSLHC.
addOptional<
unsigned int>(
"totalBlade", 56U );
60 descriptions.
add(
"trackerNumberingSLHCGeometry", descSLHC );
63 std::auto_ptr<GeometricDet>
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const GeometricDet * construct(const DDCompactView *cpv, unsigned int layerNumberPXB, unsigned int totalBlade)
const GeometricDet * construct(const PGeometricDet &pgd)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
unsigned int layerNumberPXB_
std::auto_ptr< GeometricDet > produce(const IdealGeometryRecord &)
void get(HolderT &iHolder) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
virtual ~TrackerGeometricDetESModule(void)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
volatile std::atomic< bool > shutdown_flag false
TrackerGeometricDetESModule(const edm::ParameterSet &p)