|
static void | prevalidate (ConfigurationDescriptions &) |
|
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
|
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
|
ESConsumesInfo * | consumesInfoPushBackNew () |
|
unsigned int | consumesInfoSize () const |
|
template<typename CallbackT , typename TList , typename TRecord > |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
|
template<typename CallbackT , typename TRecord > |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const char *iLabel) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
|
template<typename T , typename TDecorator > |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord > |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord , typename TDecorator > |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename TFunc > |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
|
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
|
void | usesResources (std::vector< std::string > const &) |
|
template<class TFactory > |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
|
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) |
|
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
|
template<class T > |
void | usingRecord () |
|
void | usingRecordWithKey (const EventSetupRecordKey &key) |
|
void HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_ |
( |
| ) |
|
|
private |
Definition at line 12 of file HeterogeneousHGCalHEFCellPositionsFiller.cc.
References cms::cuda::assert(), ddd_, hgcal_conditions::positions::HGCalPositionsMapping::detid, HGCalDDDConstants::firstLayer(), hgcal_conditions::positions::HGCalPositionsMapping::firstLayer, DetId::HGCalHSi, HGCalDDDConstants::lastLayer(), hgcal_conditions::positions::HGCalPositionsMapping::lastLayer, hgcal_conditions::positions::HGCalPositionsMapping::nCellsHexagon, hgcal_conditions::positions::HGCalPositionsMapping::nCellsLayer, hgcal_conditions::positions::HGCalPositionsMapping::nCellsWaferUChunk, nlayers, HGCalDDDConstants::numberCellsHexagon(), params_, posmap_, DetId::rawId(), hgcal_conditions::positions::HGCalPositionsMapping::sensorSeparation, HGCalParameters::sensorSeparation_, hgcal_conditions::positions::HGCalPositionsMapping::waferMax, HGCalDDDConstants::waferMax(), hgcal_conditions::positions::HGCalPositionsMapping::waferMin, HGCalDDDConstants::waferMin(), hgcal_conditions::positions::HGCalPositionsMapping::waferSize, HGCalParameters::waferSize_, HGCalDDDConstants::waferType(), HGCalDDDConstants::waferZ(), and hgcal_conditions::positions::HGCalPositionsMapping::zLayer.
Referenced by produce().
23 int upper_estimate_cell_number = upper_estimate_wafer_number_2D * 3 * 12 * 12;
38 unsigned sumCellsLayer, sumCellsWaferUChunk;
46 for (
int iwaferU =
posmap_->
waferMin; iwaferU < posmap_->waferMax; ++iwaferU) {
47 sumCellsWaferUChunk = 0;
49 for (
int iwaferV =
posmap_->
waferMin; iwaferV < posmap_->waferMax; ++iwaferV) {
55 sumCellsLayer += nCellsHexTotal;
56 sumCellsWaferUChunk += nCellsHexTotal;
60 for (
int cellUmax = nCellsHexSide, icellV = 0; cellUmax < 2 * nCellsHexSide and icellV < nCellsHexSide;
61 ++cellUmax, ++icellV) {
62 for (
int icellU = 0; icellU <= cellUmax; ++icellU) {
68 for (
int cellUmin = 1, icellV = nCellsHexSide; cellUmin <= nCellsHexSide and icellV < 2 * nCellsHexSide;
69 ++cellUmin, ++icellV) {
70 for (
int icellU = cellUmin; icellU < 2 * nCellsHexSide; ++icellU) {
double waferZ(int layer, bool reco) const
const HGCalParameters * params_
std::vector< std::int32_t > nCellsWaferUChunk
int lastLayer(bool reco) const
const HGCalDDDConstants * ddd_
std::vector< float > zLayer
std::vector< std::uint32_t > detid
hgcal_conditions::positions::HGCalPositionsMapping * posmap_
int numberCellsHexagon(int wafer) const
int waferType(DetId const &id, bool fromFile) const
std::vector< std::int32_t > nCellsHexagon
std::vector< std::int32_t > nCellsLayer