47 const std::vector<edm::ESGetToken<HGCalDDDConstants, IdealGeometryRecord>>
geomToken_;
73 verbosity_(
cfg.getUntrackedParameter<
int>(
"verbosity", 0)),
75 return esConsumes<HGCalDDDConstants, IdealGeometryRecord, edm::Transition::BeginRun>(
edm::ESInputTag{
"",
name});
157 std::vector<float> hitVtxX = infoLayer->
hitvtxX();
158 std::vector<float> hitVtxY = infoLayer->
hitvtxY();
159 std::vector<float> hitVtxZ = infoLayer->
hitvtxZ();
160 const std::vector<unsigned int> &hitDet = infoLayer->
hitDets();
161 const std::vector<unsigned int> &hitIdx = infoLayer->
hitIndex();
164 const std::vector<float> &edepLayerEE = infoLayer->
eehgcEdep();
165 const std::vector<float> &edepLayerHE = infoLayer->
hefhgcEdep();
166 const std::vector<float> &edepLayerHB = infoLayer->
hebhgcEdep();
169 for (
i = 0;
i < edepLayerEE.size();
i++) {
173 for (
i = 0;
i < edepLayerHE.size();
i++) {
177 for (
i = 0;
i < edepLayerHB.size();
i++) {
187 for (
unsigned int i = 0;
i < hitVtxX.size();
i++) {
194 std::pair<float, float>
xy;
233 }
else if (
dtype == 1) {
MonitorElement * heedxVsLayer
Log< level::Info, true > LogVerbatim
MonitorElement * hebdzVsLayer
MonitorElement * hebdyVsY
std::vector< unsigned int > hitIndex() const
MonitorElement * hebdxVsX
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
MonitorElement * hebdzVsZ
MonitorElement * hefdxVsLayer
std::vector< float > hefhgcEdep() const
std::vector< float > hitvtxZ() const
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * hefZG4VsId
int32_t waferU(const int32_t index)
MonitorElement * hebdxVsLayer
MonitorElement * heeZG4VsId
const edm::EDGetTokenT< PHGCalValidInfo > g4Token_
MonitorElement * heedzVsLayer
MonitorElement * hebYG4VsId
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
std::vector< unsigned int > hitDets() const
MonitorElement * hebdyVsLayer
MonitorElement * heedxVsX
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t ietaAbs(uint32_t id)
const std::vector< std::string > geometrySource_
void addDefault(ParameterSetDescription const &psetDescription)
MonitorElement * heedyVsY
MonitorElement * heeXG4VsId
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
MonitorElement * hefTotEdepStep
MonitorElement * hefYG4VsId
MonitorElement * hefLayerVsEnStep
MonitorElement * heeLayerVsEnStep
std::vector< float > eehgcEdep() const
#define DEFINE_FWK_MODULE(type)
~HGCGeometryValidation() override=default
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< float > hebhgcEdep() const
MonitorElement * hebTotEdepStep
std::vector< float > hitvtxY() const
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * hebZG4VsId
MonitorElement * hefdyVsLayer
MonitorElement * hebLayerVsEnStep
const std::vector< edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > > geomToken_
MonitorElement * hefdyVsY
MonitorElement * heeYG4VsId
std::vector< const HGCalDDDConstants * > hgcGeometry_
int32_t waferV(const int32_t index)
MonitorElement * hefdxVsX
MonitorElement * heedzVsZ
HGCGeometryValidation(const edm::ParameterSet &)
MonitorElement * hefXG4VsId
MonitorElement * heedyVsLayer
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * heeTotEdepStep
if(threadIdxLocalY==0 &&threadIdxLocalX==0)
MonitorElement * hefdzVsZ
MonitorElement * hefdzVsLayer
std::vector< float > hitvtxX() const
MonitorElement * hebXG4VsId