77 no_of_pixels_simX_(0.),
78 no_of_pixels_simY_(0.),
83 active_edge_sigma_(0.),
84 phys_active_edge_dist_(0.) {
92 findingRecord<PPSPixelTopologyRcd>();
100 edm::LogInfo(
"PPS") <<
"PixelTopologyESSource::produce \n" << *topo;
125 auto p = std::make_unique<PPSPixelTopology>();
150 edm::LogInfo(
"PPS") <<
">> PPSPixelTopologyESSource::setIntervalFor(" << key.
name() <<
")\n"
162 desc.
add<
double>(
"PitchSimY", 150
e-3);
163 desc.
add<
double>(
"PitchSimX", 100
e-3);
164 desc.
add<
double>(
"thickness", 0.23);
165 desc.
add<
int>(
"noOfPixelSimX", 160);
166 desc.
add<
int>(
"noOfPixelSimY", 104);
167 desc.
add<
int>(
"noOfPixels", 160 * 104);
168 desc.
add<
double>(
"simXWidth", 16.6);
169 desc.
add<
double>(
"simYWidth", 16.2);
170 desc.
add<
double>(
"deadEdgeWidth", 200
e-3);
171 desc.
add<
double>(
"activeEdgeSigma", 0.02);
172 desc.
add<
double>(
"physActiveEdgeDist", 0.150);
174 descriptions.
add(
"ppsPixelTopologyESSource", desc);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
EventNumber_t event() const
const EventID & eventID() const
~PPSPixelTopologyESSource() override=default
std::unique_ptr< PPSPixelTopology > produce(const PPSPixelTopologyRcd &)
double phys_active_edge_dist_
static const IOVSyncValue & endOfTime()
static void fillDescriptions(edm::ConfigurationDescriptions &)
unsigned short no_of_pixels_simX_
unsigned short no_of_pixels_
static const IOVSyncValue & beginOfTime()
const char * name() const
tuple key
prepare the HTCondor submission files and eventually submit them
double active_edge_sigma_
std::unique_ptr< PPSPixelTopology > fillPPSPixelTopology()
Fill PPSPixelTopology object.
void setPPSPixelTopology(const edm::ParameterSet &)
Set PPS Topology parameters to their values from config.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
unsigned short no_of_pixels_simY_
Log< level::Info, false > LogInfo
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
PPSPixelTopologyESSource(const edm::ParameterSet &)
T getParameter(std::string const &) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
sets infinite validity of this data
Loads PPSPixelTopology from a config file.