107 std::vector<edm::ParameterSet> selconfigs = iConfig.
getParameter<std::vector<edm::ParameterSet> >(
"selections");
109 for(std::vector<edm::ParameterSet>::const_iterator selconfig=selconfigs.begin();selconfig!=selconfigs.end();++selconfig) {
118 sprintf(dirname,
"Summary");
123 unsigned int nbins =768;
130 m_hist.push_back(subd.
make<TH1F>(hname.c_str(),htitle.c_str(),
nbins,-0.5,nbins-0.5));
135 m_hprof.push_back(subd.
make<TProfile>(hname.c_str(),htitle.c_str(),
nbins,-0.5,nbins-0.5));
140 m_hist2d.push_back(subd.
make<TH2F>(hname.c_str(),htitle.c_str(),
nbins,-0.5,nbins-0.5,257,-0.5,256.5));
177 sprintf(dirname,
"event_%u_%llu",iEvent.
run(),iEvent.
id().
event());
182 unsigned int nbins =768;
189 m_hist.push_back(subd.make<TH1F>(hname.c_str(),htitle.c_str(),
nbins,-0.5,nbins-0.5));
194 m_hprof.push_back(subd.make<TProfile>(hname.c_str(),htitle.c_str(),
nbins,-0.5,nbins-0.5));
199 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