18 , m_outputFilename(name) {
19 std::cout <<
"LEDTowerBuilder::LEDTowerBuilder(const std::string &name) Calling ctor" << std::endl;
21 tOut =
new TTree(
"W",
"W");
32 std::cout <<
"LEDTowerBuilder::~LEDTowerBuilder() Calling dtor" << std::endl;
75 if(
m_event % 100 == 0) std::cout <<
"Event: " <<
m_event << std::endl;
79 Event *_event = findNode::getClass<Event>(topNode,
"PRDF");
81 std::cout <<
"CaloUnpackPRDF::Process_Event - Event not found" << std::endl;
86 std::cout <<
"Event Type >= 8!!" << std::endl;
98 int nchannels = packet->
iValue(0,
"CHANNELS");
107 std::vector<float> waveform;
110 for (
int samp = 0; samp <
m_nsamples; samp++) {
122 std::cout <<
"m_isdata: false!!" << std::endl;
127 int n_channels = processed_waveforms.size();
128 for (
int i = 0 ;
i < n_channels;
i++) {
129 m_time.push_back(processed_waveforms.at(
i).at(1));
130 m_adc.push_back(processed_waveforms.at(
i).at(0));
131 m_ped.push_back(processed_waveforms.at(
i).at(2));
146 std::cout <<
"LEDTowerBuilder opening output file: " <<
m_outputFilename << std::endl;