104 std::vector<edm::ParameterSet> selconfigs = iConfig.
getParameter<std::vector<edm::ParameterSet> >(
"selections");
106 for (std::vector<edm::ParameterSet>::const_iterator selconfig = selconfigs.begin(); selconfig != selconfigs.end();
115 sprintf(dirname,
"Summary");
120 unsigned int nbins = 768;
128 m_hist.push_back(subd.
make<TH1F>(hname.c_str(), htitle.c_str(),
nbins, -0.5, nbins - 0.5));
133 m_hprof.push_back(subd.
make<TProfile>(hname.c_str(), htitle.c_str(),
nbins, -0.5, nbins - 0.5));
138 m_hist2d.push_back(subd.
make<TH2F>(hname.c_str(), htitle.c_str(),
nbins, -0.5, nbins - 0.5, 257, -0.5, 256.5));
169 sprintf(dirname,
"event_%u_%llu", iEvent.
run(), iEvent.
id().
event());
174 unsigned int nbins = 768;
182 m_hist.push_back(subd.make<TH1F>(hname.c_str(), htitle.c_str(),
nbins, -0.5, nbins - 0.5));
187 m_hprof.push_back(subd.make<TProfile>(hname.c_str(), htitle.c_str(),
nbins, -0.5, nbins - 0.5));
192 m_hist2d.push_back(subd.make<TH2F>(hname.c_str(), htitle.c_str(),
nbins, -0.5, nbins - 0.5, 257, -0.5, 256.5));
T getParameter(std::string const &) const
EventNumber_t event() const
std::vector< TH1F * > m_hist
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< TH2F * > m_hist2d
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
~BigEventsDebugger() override
BigEventsDebugger< edm::DetSetVector< SiStripDigi > > DigiBigEventsDebugger
void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
DigiCollectionProfiler< T > m_digiprofiler
std::vector< TProfile * > m_hprof
T * make(const Args &...args) const
make new ROOT object
BigEventsDebugger(const edm::ParameterSet &)
edm::EDGetTokenT< T > m_collectionToken
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
std::vector< std::string > m_labels
BigEventsDebugger< edm::DetSetVector< SiStripRawDigi > > RawDigiBigEventsDebugger
BigEventsDebugger< edmNew::DetSetVector< SiStripCluster > > ClusterBigEventsDebugger