53 m_toolparameters->m_presamples_per_event = iConfig.
getUntrackedParameter<
int>(
"presamples_per_event");
61 while (out_dir.find_last_of(
'/') == out_dir.length() - 1)
62 out_dir.erase(out_dir.find_last_of(
'/'));
63 m_toolparameters->m_output_directory = out_dir +
"/" + (m_toolparameters->m_file_tag) +
"/";
90 std::vector<edm::Handle<HBHEDigiCollection> > hbhe;
91 std::vector<edm::Handle<HODigiCollection> >
ho;
92 std::vector<edm::Handle<HFDigiCollection> > hf;
93 std::vector<edm::Handle<ZDCDigiCollection> > zdc;
94 std::vector<edm::Handle<HcalCalibDigiCollection> > hc;
95 std::vector<edm::Handle<HcalTrigPrimDigiCollection> > htp;
96 std::vector<edm::Handle<HcalHistogramDigiCollection> >
hh;
102 std::vector<edm::Handle<HBHEDigiCollection> >::iterator
i;
103 for (i = hbhe.begin(); i != hbhe.end(); i++) {
126 std::vector<edm::Handle<HFDigiCollection> >::iterator
i;
127 for (i = hf.begin(); i != hf.end(); i++) {
150 std::vector<edm::Handle<HODigiCollection> >::iterator
i;
151 for (i =
ho.begin(); i !=
ho.end(); i++) {
181 for (
int iTb = 0; iTb < 2; iTb++) {
185 for (
int iChannel = 1; iChannel < 25; iChannel++) {
const edm::ESGetToken< HcalDbService, HcalDbRecord > m_hcalElectronicsMapToken
T getUntrackedParameter(std::string const &, T const &) const
void Fill_by_hand(const HcalElectronicsMap *, int)
const edm::EventSetup & c
HtrXmlPatternToolParameters * m_toolparameters
#define DEFINE_FWK_MODULE(type)
std::vector< T >::const_iterator const_iterator
~HtrXmlPattern() override
void getManyByType(std::vector< Handle< PROD >> &results) const
HtrXmlPattern(const edm::ParameterSet &)
static const int NUM_CRATES
void analyze(const edm::Event &, const edm::EventSetup &) override
ChannelPattern * getPattern(int chan)
int m_hand_pattern_number
static const int NUM_SLOTS
Log< level::Warning, true > LogPrint
const_iterator end() const
HalfHtrData * getHalfHtrData(int slot, int one_two_tb)
CrateData * getCrate(int crate)
virtual void do_hand_fill(const HcalElectronicsMap *)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Readout chain identification for Hcal.
const_iterator begin() const
HtrXmlPatternTool * m_tool