|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
Persistence for the efficiency records. More...
Functions | |
| TString | Path () |
| Path to the store. | |
| void | Write (const TString &channel, const std::vector< TagEfficiencyRecord > &records, const TString &method) |
| Replace one channel's records, keeping every other channel's. | |
| Bool_t | Load (const TString &channel, Int_t reac, TagEfficiencyRecord &record) |
| Read one record. | |
| TString | Method () |
| The method label stamped into the store. | |
Persistence for the efficiency records.
| Bool_t TagEfficiencyStore::Load | ( | const TString & | channel, |
| Int_t | reac, | ||
| TagEfficiencyRecord & | record ) |
Read one record.
| channel | Channel to look up. | |
| reac | Reaction strip index. | |
| [out] | record | Set on success; untouched otherwise. |
Definition at line 64 of file TagEfficiency.cpp.
| TString TagEfficiencyStore::Method | ( | ) |
The method label stamped into the store.
Definition at line 87 of file TagEfficiency.cpp.
Referenced by CrossSection::Run().
| TString TagEfficiencyStore::Path | ( | ) |
Path to the store.
Definition at line 27 of file TagEfficiency.cpp.
Referenced by Load(), Method(), TagEfficiency::Run(), and Write().
| void TagEfficiencyStore::Write | ( | const TString & | channel, |
| const std::vector< TagEfficiencyRecord > & | records, | ||
| const TString & | method ) |
Replace one channel's records, keeping every other channel's.
| channel | Channel whose records to replace. |
| records | The new records, one per reaction strip. |
| method | Label identifying how they were produced, stamped into the store so a later reader knows what it is holding. |
Definition at line 38 of file TagEfficiency.cpp.