1 #ifndef FWD_TRACK_MAKER_COMMON_H
2 #define FWD_TRACK_MAKER_COMMON_H
11 static void labelAxis( TAxis *axis, std::vector<std::string> labels )
15 for (
unsigned int i = 0; i <= (
unsigned int)axis->GetNbins(); i++ ) {
16 if ( i < labels.size() )
17 axis->SetBinLabel( i + 1, labels[i].c_str() );
21 static long long nowNanoSecond(){
22 return std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::high_resolution_clock::now().time_since_epoch()).count();