#include "SimMuon/CSCDigitizer/src/CSCAnalogSignal.h"
#include <iostream>
#include <algorithm>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &stream, const CSCAnalogSignal &signal) |
std::ostream& operator<< | ( | std::ostream & | stream, |
const CSCAnalogSignal & | signal | ||
) |
Definition at line 12 of file CSCAnalogSignal.cc.
References CSCAnalogSignal::getBinSize(), CSCAnalogSignal::getTimeOffset(), i, CSCAnalogSignal::theBinValues, CSCAnalogSignal::theElement, and CSCAnalogSignal::theTotal.
{ stream << "CSCAnalogSignal: Element " << signal.theElement << " Total " << signal.theTotal << std::endl; for ( int i = 0; i < int( signal.theBinValues.size() ); ++i ) { //@@ ptc 26-Feb-02 Don't both with very small amplitudes if ( signal.theBinValues[i] > 1.E-10 ) { stream << i*signal.getBinSize()+signal.getTimeOffset() << "\t" << signal.theBinValues[i] << std::endl; } } return stream; }