25 template <
class floatCondObj>
30 if (value_ptr ==
payload->end())
46 template <
class floatCondObj>
49 for (
int iz = -1; iz < 2; iz = iz + 2)
54 uint32_t rawid = myEEId.
rawId();
56 if (value_ptr ==
payload->end())
68 template <
class floatCondObj>
79 if (value_ptr ==
payload->end())
98 if (pEB[cellid] != 0.)
116 template <
class floatCondObj>
126 for (
int iz = -1; iz < 2; iz = iz + 2)
132 uint32_t rawid = myEEId.
rawId();
135 if (value_ptr ==
payload->end())
147 if (pEE[cellid] != 0.)
171 const float& mean_x_EB,
174 const float& mean_x_EE,
176 const int& num_x_EE) {
178 align =
new TH2F(
title.c_str(),
"EB/EE mean_x rms num_x", 4, 0, 4, NbRows, 0, NbRows);
180 double row = NbRows - 0.5;
182 align->Fill(0.5, row, 1);
183 align->Fill(1.5, row, mean_x_EB);
184 align->Fill(2.5, row, rms_EB);
185 align->Fill(3.5, row, num_x_EB);
189 align->Fill(0.5, row, 2);
190 align->Fill(1.5, row, mean_x_EE);
191 align->Fill(2.5, row, rms_EE);
192 align->Fill(3.5, row, num_x_EE);
194 align->GetXaxis()->SetTickLength(0.);
195 align->GetXaxis()->SetLabelSize(0.);
196 align->GetYaxis()->SetTickLength(0.);
197 align->GetYaxis()->SetLabelSize(0.);
void fillTableWithSummary(TH2F *&align, std::string title, const float &mean_x_EB, const float &rms_EB, const int &num_x_EB, const float &mean_x_EE, const float &rms_EE, const int &num_x_EE)
void fillEBMap_TwoIOVs(std::shared_ptr< floatCondObj > payload, TH2F *&barrel, int irun, float pEB[], float &pEBmin, float &pEBmax, int method)
void fillEEMap_TwoIOVs(std::shared_ptr< floatCondObj > payload, TH2F *&endc_m, TH2F *&endc_p, int irun, float pEE[], float &pEEmin, float &pEEmax, int method)
static const int MIN_HASH
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t ix(uint32_t id)
constexpr uint32_t rawId() const
get the raw id
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
std::vector< Item >::const_iterator const_iterator
void fillEEMap_SingleIOV(std::shared_ptr< floatCondObj > payload, TH2F *&endc_m, TH2F *&endc_p)
static EBDetId unhashIndex(int hi)
get a DetId from a compact index for arrays
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t iy(uint32_t id)
void fillEBMap_SingleIOV(std::shared_ptr< floatCondObj > payload, TH2F *&barrel)