BmnRoot 26.10.0-233-gb9bbe585
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)

Private Member Functions

 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)

Detailed Description

Definition at line 37 of file MpdGetNumEvents.h.

Constructor & Destructor Documentation

◆ MpdGetNumEvents()

MpdGetNumEvents::MpdGetNumEvents ( )
inlineprivate

Definition at line 40 of file MpdGetNumEvents.h.

Member Function Documentation

◆ ~MpdGetNumEvents()

virtual MpdGetNumEvents::~MpdGetNumEvents ( )
inlineprivatevirtual

Definition at line 41 of file MpdGetNumEvents.h.

◆ FindFirstTree()

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

Definition at line 481 of file MpdGetNumEvents.cxx.

References TKey::GetClassName(), TDirectoryFile::GetListOfKeys(), TFile::IsOpen(), and TKey::ReadObj().

Referenced by GetNumROOTEvents().

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

◆ GetNumDCMSMMEvents()

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:

◆ GetNumEvents()

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:

◆ GetNumPHSDEvents()

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:

◆ GetNumQGSMEvents()

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:

◆ GetNumROOTEvents()

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(), dump_hits(), GetNumEvents(), main(), PairCreation(), rc_rlerr(), run8_reco_bmn(), run_ana_bmn(), run_ana_bmn(), run_mon_custom(), run_mon_reco(), run_reco_aln(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_noa(), and run_reco_src().

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

◆ GetNumURQMDEvents()

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:

◆ GetQGSMEventHeader()

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:

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