BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
MpdGetNumEvents Class Reference

#include <MpdGetNumEvents.h>

Static Public Member Functions

static Int_t GetNumPHSDEvents (const char *filename, int iVerbose=2)
static Int_t GetNumQGSMEvents (const char *fileName, int iVerbose=2)
static Int_t GetNumURQMDEvents (const char *fileName, int iVerbose=2)
static Int_t GetNumDCMSMMEvents (const char *fileName, int iVerbose=2)
static Int_t GetNumROOTEvents (const char *filename, const char *treename="", int iVerbose=2)
static Int_t GetNumEvents (const char *filename, int iVerbose=2)
static Int_t GetNumPHSDEvents (const char *filename, int iVerbose=2)
static Int_t GetNumQGSMEvents (const char *fileName, int iVerbose=2)
static Int_t GetNumURQMDEvents (const char *fileName, int iVerbose=2)
static Int_t GetNumDCMSMMEvents (const char *fileName, int iVerbose=2)
static Int_t GetNumROOTEvents (const char *filename, const char *treename="", int iVerbose=2)
static Int_t GetNumEvents (const char *filename, int iVerbose=2)

Private Member Functions

 MpdGetNumEvents ()
virtual ~MpdGetNumEvents ()
 MpdGetNumEvents ()
virtual ~MpdGetNumEvents ()

Static Private Member Functions

static bool GetQGSMEventHeader (char *ss, MpdLibZ *libz, Int_t &fQGSM_format_ID, int iVerbose)
static std::string FindFirstTree (const char *filename, int iVerbose)
static bool GetQGSMEventHeader (char *ss, MpdLibZ *libz, Int_t &fQGSM_format_ID, int iVerbose)
static std::string FindFirstTree (const char *filename, int iVerbose)

Detailed Description

Definition at line 37 of file MpdGetNumEvents.h.

Constructor & Destructor Documentation

◆ MpdGetNumEvents() [1/2]

MpdGetNumEvents::MpdGetNumEvents ( )
inlineprivate

Definition at line 40 of file MpdGetNumEvents.h.

Referenced by GetNumEvents().

Here is the caller graph for this function:

◆ MpdGetNumEvents() [2/2]

MpdGetNumEvents::MpdGetNumEvents ( )
inlineprivate

Definition at line 40 of file MpdGetNumEvents.h.

Member Function Documentation

◆ ~MpdGetNumEvents() [1/2]

virtual MpdGetNumEvents::~MpdGetNumEvents ( )
inlineprivatevirtual

Definition at line 41 of file MpdGetNumEvents.h.

◆ ~MpdGetNumEvents() [2/2]

virtual MpdGetNumEvents::~MpdGetNumEvents ( )
inlineprivatevirtual

Definition at line 41 of file MpdGetNumEvents.h.

◆ FindFirstTree() [1/2]

string MpdGetNumEvents::FindFirstTree ( const char * filename,
int iVerbose )
staticprivate

Definition at line 481 of file MpdGetNumEvents.cxx.

References TDirectoryFile::GetListOfKeys(), and TFile::IsOpen().

Referenced by GetNumROOTEvents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindFirstTree() [2/2]

std::string MpdGetNumEvents::FindFirstTree ( const char * filename,
int iVerbose )
staticprivate

◆ GetNumDCMSMMEvents() [1/2]

Int_t MpdGetNumEvents::GetNumDCMSMMEvents ( const char * fileName,
int iVerbose = 2 )
static

Definition at line 419 of file MpdGetNumEvents.cxx.

References MpdLibZ::close(), TString::Data(), MpdLibZ::eof(), MpdLibZ::gets(), i, and MpdLibZ::open().

Referenced by GetNumEvents(), main(), run8_sim_bmn(), run_sim_bmn(), run_sim_bmn(), and run_sim_bmn().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNumDCMSMMEvents() [2/2]

Int_t MpdGetNumEvents::GetNumDCMSMMEvents ( const char * fileName,
int iVerbose = 2 )
static

◆ GetNumEvents() [1/2]

Int_t MpdGetNumEvents::GetNumEvents ( const char * filename,
int iVerbose = 2 )
static

Definition at line 545 of file MpdGetNumEvents.cxx.

References MpdLibZ::close(), TString::Contains(), TString::Data(), GetNumDCMSMMEvents(), GetNumQGSMEvents(), GetNumROOTEvents(), GetNumURQMDEvents(), MpdLibZ::gets(), TString::kIgnoreCase, and MpdLibZ::open().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNumEvents() [2/2]

Int_t MpdGetNumEvents::GetNumEvents ( const char * filename,
int iVerbose = 2 )
static

References MpdGetNumEvents().

Here is the call graph for this function:

◆ GetNumPHSDEvents() [1/2]

Int_t MpdGetNumEvents::GetNumPHSDEvents ( const char * filename,
int iVerbose = 2 )
static

Definition at line 146 of file MpdGetNumEvents.cxx.

References MpdLibZ::close(), TString::Data(), MpdLibZ::eof(), MpdLibZ::gets(), i, and MpdLibZ::open().

Referenced by main(), run8_sim_bmn(), run_sim_bmn(), run_sim_bmn(), run_sim_bmn(), run_sim_bmn_ecal(), run_sim_bmn_zdc(), run_sim_filter(), and run_sim_src().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNumPHSDEvents() [2/2]

Int_t MpdGetNumEvents::GetNumPHSDEvents ( const char * filename,
int iVerbose = 2 )
static

◆ GetNumQGSMEvents() [1/2]

Int_t MpdGetNumEvents::GetNumQGSMEvents ( const char * fileName,
int iVerbose = 2 )
static

Definition at line 311 of file MpdGetNumEvents.cxx.

References MpdLibZ::close(), TString::Data(), GetQGSMEventHeader(), MpdLibZ::gets(), and MpdLibZ::open().

Referenced by GetNumEvents(), main(), run8_sim_bmn(), run_sim_bmn(), run_sim_bmn(), run_sim_bmn(), run_sim_bmn_ecal(), run_sim_bmn_zdc(), and run_sim_src().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNumQGSMEvents() [2/2]

Int_t MpdGetNumEvents::GetNumQGSMEvents ( const char * fileName,
int iVerbose = 2 )
static

◆ GetNumROOTEvents() [1/2]

Int_t MpdGetNumEvents::GetNumROOTEvents ( const char * filename,
const char * treename = "",
int iVerbose = 2 )
static

Definition at line 511 of file MpdGetNumEvents.cxx.

References TChain::Add(), TString::Data(), FindFirstTree(), and TChain::GetEntries().

Referenced by check_event_count(), GetNumEvents(), main(), PairCreation(), run8_reco_bmn(), run_ana_bmn(), run_ana_bmn(), run_mon_custom(), run_mon_reco(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), and run_reco_src().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNumROOTEvents() [2/2]

Int_t MpdGetNumEvents::GetNumROOTEvents ( const char * filename,
const char * treename = "",
int iVerbose = 2 )
static

◆ GetNumURQMDEvents() [1/2]

Int_t MpdGetNumEvents::GetNumURQMDEvents ( const char * fileName,
int iVerbose = 2 )
static

Definition at line 357 of file MpdGetNumEvents.cxx.

References MpdLibZ::close(), TString::Data(), MpdLibZ::eof(), MpdLibZ::gets(), and MpdLibZ::open().

Referenced by GetNumEvents(), main(), run8_sim_bmn(), run_sim_bmn(), run_sim_bmn(), run_sim_bmn(), run_sim_bmn_ecal(), run_sim_bmn_zdc(), run_sim_filter(), and run_sim_src().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNumURQMDEvents() [2/2]

Int_t MpdGetNumEvents::GetNumURQMDEvents ( const char * fileName,
int iVerbose = 2 )
static

◆ GetQGSMEventHeader() [1/2]

bool MpdGetNumEvents::GetQGSMEventHeader ( char * ss,
MpdLibZ * libz,
Int_t & fQGSM_format_ID,
int iVerbose )
staticprivate

Definition at line 211 of file MpdGetNumEvents.cxx.

References MpdLibZ::close(), TString::Contains(), MpdLibZ::eof(), MpdLibZ::gets(), MpdLibZ::seek(), and MpdLibZ::tell().

Referenced by GetNumQGSMEvents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetQGSMEventHeader() [2/2]

bool MpdGetNumEvents::GetQGSMEventHeader ( char * ss,
MpdLibZ * libz,
Int_t & fQGSM_format_ID,
int iVerbose )
staticprivate

The documentation for this class was generated from the following files: