6 #ifndef PixelTimeFormatter_h
7 #define PixelTimeFormatter_h
34 std::cout <<
"[PixelTimeFormatter::PixelTimeFormatter()]\t\t Time counter started for " <<
origin_ << std::endl ;
44 std::cout <<
"[PixelTimeFormatter::stopTimer()]\t\t\t Elapsed time: " << stop-start <<
" seconds for " <<
origin_ << std::endl ;
50 std::ofstream *out1 =
NULL,
51 std::ofstream *out2 =
NULL
62 thisTime = localtime( &aclock );
65 "%d-%02d-%02d %02d:%02d:%02d", thisTime->tm_year+1900,
82 thisTime = localtime( &aclock );
90 struct timeval msecTime;
91 gettimeofday(&msecTime, (
struct timezone *)0) ;
95 (
unsigned int)msecTime.tv_sec,
96 (
unsigned int)msecTime.tv_usec );
103 struct timeval msecTime;
104 gettimeofday(&msecTime, (
struct timezone *)0) ;
tuple start
Check for commandline option errors.
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
return(e1-e2)*(e1-e2)+dp *dp
static std::string const source