23 m_toolparameters->m_presamples_per_event = iConfig.
getUntrackedParameter<
int> (
"presamples_per_event");
31 while (out_dir.find_last_of(
'/')==out_dir.length()-1) out_dir.erase(out_dir.find_last_of(
'/'));
32 m_toolparameters->m_output_directory=out_dir+
"/"+(m_toolparameters->m_file_tag)+
"/";
61 std::vector<edm::Handle<HBHEDigiCollection> >
hbhe;
62 std::vector<edm::Handle<HODigiCollection> >
ho;
63 std::vector<edm::Handle<HFDigiCollection> >
hf;
64 std::vector<edm::Handle<ZDCDigiCollection> >
zdc;
65 std::vector<edm::Handle<HcalCalibDigiCollection> >
hc;
66 std::vector<edm::Handle<HcalTrigPrimDigiCollection> > htp;
67 std::vector<edm::Handle<HcalHistogramDigiCollection> > hh;
71 cout <<
"No HB/HE Digis." << endl;
73 std::vector<edm::Handle<HBHEDigiCollection> >::iterator
i;
74 for (i=hbhe.begin(); i!=hbhe.end(); i++) {
83 cout << *j << std::endl;
85 cout <<
"count: " << count << endl;
94 cout <<
"No HF Digis." << endl;
96 std::vector<edm::Handle<HFDigiCollection> >::iterator
i;
97 for (i=hf.begin(); i!=hf.end(); i++) {
106 cout << *j << std::endl;
107 cout << HEID << endl;
108 cout <<
"count: " << count << endl;
117 cout <<
"No HO Digis." << endl;
119 std::vector<edm::Handle<HODigiCollection> >::iterator
i;
120 for (i=ho.begin(); i!=ho.end(); i++) {
129 cout << *j << std::endl;
130 cout << HEID << endl;
131 cout <<
"count: " << count << endl;
151 for (
int iTb=0;iTb<2;iTb++) {
154 for (
int iChannel=1;iChannel<25;iChannel++) {
void getManyByType(std::vector< Handle< PROD > > &results) const
T getUntrackedParameter(std::string const &, T const &) const
void Fill_by_hand(const HcalElectronicsMap *, int)
HtrXmlPatternToolParameters * m_toolparameters
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< HBHEDataFrame >::const_iterator const_iterator
HtrXmlPattern(const edm::ParameterSet &)
static const int NUM_CRATES
ChannelPattern * getPattern(int chan)
int m_hand_pattern_number
static const int NUM_SLOTS
const_iterator end() const
HalfHtrData * getHalfHtrData(int slot, int one_two_tb)
CrateData * getCrate(int crate)
const HcalElectronicsMap * getHcalMapping() const
virtual void do_hand_fill(const HcalElectronicsMap *)
Readout chain identification for Hcal.
const DetId lookup(HcalElectronicsId fId) const
lookup the logical detid associated with the given electronics id
const_iterator begin() const
HtrXmlPatternTool * m_tool