24 m_toolparameters->m_presamples_per_event = iConfig.
getUntrackedParameter<
int> (
"presamples_per_event");
29 m_toolparameters->m_user_output_directory = iConfig.
getUntrackedParameter<std::string>(
"user_output_directory");
31 std::string out_dir=m_toolparameters->m_user_output_directory;
32 while (out_dir.find_last_of(
'/')==out_dir.length()-1) out_dir.erase(out_dir.find_last_of(
'/'));
33 m_toolparameters->m_output_directory=out_dir+
"/"+(m_toolparameters->m_file_tag)+
"/";
62 std::vector<edm::Handle<HBHEDigiCollection> > hbhe;
63 std::vector<edm::Handle<HODigiCollection> > ho;
64 std::vector<edm::Handle<HFDigiCollection> > hf;
65 std::vector<edm::Handle<ZDCDigiCollection> > zdc;
66 std::vector<edm::Handle<HcalCalibDigiCollection> > hc;
67 std::vector<edm::Handle<HcalTrigPrimDigiCollection> > htp;
68 std::vector<edm::Handle<HcalHistogramDigiCollection> > hh;
72 cout <<
"No HB/HE Digis." << endl;
74 std::vector<edm::Handle<HBHEDigiCollection> >::iterator
i;
75 for (i=hbhe.begin(); i!=hbhe.end(); i++) {
84 cout << *
j << std::endl;
86 cout <<
"count: " << count << endl;
95 cout <<
"No HF Digis." << endl;
97 std::vector<edm::Handle<HFDigiCollection> >::iterator
i;
98 for (i=hf.begin(); i!=hf.end(); i++) {
107 cout << *
j << std::endl;
108 cout << HEID << endl;
109 cout <<
"count: " << count << endl;
118 cout <<
"No HO Digis." << endl;
120 std::vector<edm::Handle<HODigiCollection> >::iterator
i;
121 for (i=ho.begin(); i!=ho.end(); i++) {
130 cout << *
j << std::endl;
131 cout << HEID << endl;
132 cout <<
"count: " << count << endl;
152 for (
int iTb=0;iTb<2;iTb++) {
155 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< T >::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)
virtual void do_hand_fill(const HcalElectronicsMap *)
Readout chain identification for Hcal [31:26] Unused (so far) [25] Trigger-chain id flag [24:20] Read...
const_iterator begin() const
HtrXmlPatternTool * m_tool