Functions
countEvents.C File Reference

Go to the source code of this file.

Functions

void countEvents (TString fname)
 

Function Documentation

void countEvents ( TString  fname)

Definition at line 1 of file countEvents.C.

References om::cout, allTimeWatchdog::endl, file, and runNovaSAM::gErrorIgnoreLevel.

2 {
3  gErrorIgnoreLevel=kError;
4  TFile file(fname);
5  std::cout<<Events->GetEntries()<<std::endl;
6  return;
7 }
OStream cout
Definition: OStream.cxx:6
TFile * file
Definition: cellShifts.C:17