コード例 #1
0
ファイル: ChanEvent.cpp プロジェクト: mohmd7shudif/pixie_scan
/**
 * Channel event zeroing

 * All numerical values are set to -1, and the trace,
 * and traceinfo vectors are cleared and the channel
 * identifier is zeroed using its identifier::zeroid method.
 */
void ChanEvent::ZeroVar() 
{
    ZeroNums();

    // clear objects
    trace.clear();
}
コード例 #2
0
ファイル: ChanEvent.hpp プロジェクト: kmiernik/pixie_scan
 /** Default constructor that zeroes all values */
 ChanEvent(){ZeroNums();};