|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Go to the source code of this file.
Functions | |
| void | ReadHeader (ifstream &fin, vector< TString > &header) |
| Int_t | ReadEvent (ifstream &fin, vector< TString > &evBuff;) |
| void | WriteEvent (ofstream &fout, vector< TString > &evBuff;) |
| TString | GetRatioString (Int_t nevent, Int_t divider) |
| Get a string representation of the ratio: nevent/divider If divider is zero, the result is "inf" The ratio is formatted as string with integer (e.g. | |
| void | SplitDcmsmm (TString inFile="./DCMSMM_XeCsI_3.8_AGeV_mb_50k_2.r12", Int_t nbefore=10000, Int_t nafter=2500) |
Variables | |
| const Int_t | nHead = 20 |
| const Int_t | ntokh [nHead] = {7, 10, 6, 6, 8, 10, 16, 16, 16, 13, 13, 13, 13, 16, 2, 8} |
"21") or float (e.g. "2.5", without trailing zeros)
Definition at line 250 of file SplitDcmsmm.C.
References TString::kTrailing.
Referenced by SplitDcmsmm().
Definition at line 163 of file SplitDcmsmm.C.
References TString::Atof(), TString::Data(), TObjArray::Delete(), TObjArray::GetEntriesFast(), TObjString::GetString(), TString::ReadLine(), TString::Tokenize(), and TObjArray::UncheckedAt().
Referenced by SplitDcmsmm().
| void ReadHeader | ( | ifstream & | fin, |
| vector< TString > & | header ) |
Definition at line 152 of file SplitDcmsmm.C.
References nHead, and TString::ReadLine().
Referenced by SplitDcmsmm().
| void SplitDcmsmm | ( | TString | inFile = "./DCMSMM_XeCsI_3.8_AGeV_mb_50k_2.r12", |
| Int_t | nbefore = 10000, | ||
| Int_t | nafter = 2500 ) |
Definition at line 16 of file SplitDcmsmm.C.
References TString::Data(), TString::EndsWith(), FileStat_t::fMode, TString::Form(), TString::Format(), GetRatioString(), TString::Index(), TString::Itoa(), TString::kIgnoreCase, TString::Last(), TString::Length(), nHead, ReadEvent(), ReadHeader(), TString::Replace(), and WriteEvent().
| void WriteEvent | ( | ofstream & | fout, |
| vector< TString > &evBuff; | ) |
Definition at line 235 of file SplitDcmsmm.C.
Referenced by SplitDcmsmm().
| const Int_t nHead = 20 |
Definition at line 2 of file SplitDcmsmm.C.
Referenced by ReadHeader(), and SplitDcmsmm().
Definition at line 3 of file SplitDcmsmm.C.