Go to the documentation of this file.
4 : gainToken_{esConsumes<edm::Transition::BeginRun>()}, tTopoToken_{esConsumes<edm::Transition::BeginRun>()} {
6 file =
new TFile(
"correlTest.root",
"RECREATE");
25 std::vector<TH1F *>
histos;
35 for (; iter != iterE; ++iter) {
40 size_t apv = 0, apvE = (
range.second -
range.first);
41 for (; apv < apvE; apv += 2) {
44 for (
size_t i = 0;
i <
histos.size(); ++
i)
69 int index = 100 + subdet * 100 + component;
90 for (
size_t i = 0;
i <
vTH1.size();
i++)
91 if (
vTH1[
i] !=
nullptr)
97 tkmap->
save(
false, 0, 0,
"testTkMap.png");
bool check(const edm::EventSetup &iSetup)
edm::ESGetToken< SiStripApvGain, SiStripApvGainRcd > gainToken_
void DoAnalysis(const TrackerTopology &tTopo, const SiStripApvGain &)
void fill(int layer, int ring, int nmod, float x)
Log< level::Info, false > LogInfo
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Registry::const_iterator RegistryConstIterator
unsigned int tidWheel(const DetId &id) const
~SiStripPlotGain() override
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
unsigned int tidSide(const DetId &id) const
TH1F * getHisto(const long unsigned int &index)
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
bool getData(T &iHolder) const
edm::ESWatcher< SiStripApvGainRcd > gainWatcher_
void save(bool print_total=true, float minval=0., float maxval=0., std::string s="svgmap.svg", int width=1500, int height=800)
unsigned int tobLayer(const DetId &id) const
std::pair< ContainerIterator, ContainerIterator > Range
SiStripPlotGain(const edm::ParameterSet &)
void getHistos(DetId detid, const TrackerTopology &tTopo, std::vector< TH1F * > &histos)
std::vector< TH1F * > vTH1
unsigned int tecWheel(const DetId &id) const
unsigned int tibLayer(const DetId &id) const
unsigned int tecSide(const DetId &id) const