HALL A C++/ROOT Parity Analyzer Pan TaCutList.cc (implementation) Author: R. Holmes <http://mep1.phy.syr.edu/~rsholmes>, A. Vacheret <http://www.jlab.org/~vacheret>, R. Michaels <http://www.jlab.org/~rom>, K.Paschke @(#)pan/src:$Name: $:$Id: TaCutList.cc,v 1.27 2006/02/27 22:30:30 paschke Exp $ Container of cut intervals for a given run. The cut list for a given run identifies all the intervals during which a cut condition existed. It also contains extensions for each cut type, telling how many events to extend each interval before and after the stored event numbers; a tally of events failing each cut type; and labels for the cut types. It provides functions to add cut intervals to the list and to determine with intervals, if any, a given event is in. The cut list is initialized from the database and updated after each event is preprocessed.
| TaCutList() | |
| TaCutList(RunNumber_t run) | |
| TaCutList(const TaCutList& copy) | |
| virtual | ~TaCutList() |
| void | AddExtension(const Cut_t, const UInt_t, const UInt_t) |
| void | AddName(const Cut_t, const string&) |
| static TClass* | Class() |
| vector<pair<Cut_t,Int_t> > | CutsFailed(const VaEvent&) const |
| const string& | GetName(const Cut_t) const |
| UInt_t | GetNumCuts() const |
| void | Init(const TaDataBase&) |
| virtual TClass* | IsA() const |
| Bool_t | OK(const VaEvent&) const |
| Bool_t | OKC(const VaEvent&) const |
| TaCutList& | operator=(const TaCutList& assign) |
| void | PrintExt(ostream&) const |
| void | PrintInt(ostream&) const |
| void | PrintTally(ostream&) const |
| virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
| virtual void | Streamer(TBuffer& b) |
| void | StreamerNVirtual(TBuffer& b) |
| void | UpdateCutInterval(const Cut_t, const Int_t, const EventNumber_t) |
| void | WriteTally(TaOResultsFile& resFile, const EventNumber_t ev0, const EventNumber_t ev1) const |
| Cut_t | fBurpNo | cut number for burp beam |
| Cut_t | fCBurpNo | cut number for C-beam-burp cut |
| vector<string> | fCutNames | names of cuts |
| vector<UInt_t> | fHighExtension | High-end extension for each cut type |
| vector<TaCutInterval>* | fIntervals | List of cut intervals |
| Cut_t | fLoBeamCNo | cut number for hallC low beam |
| Cut_t | fLoBeamNo | cut number for low beam |
| vector<UInt_t> | fLowExtension | Low-end extension for each cut type |
| Cut_t | fMonSatNo | cut number for monitor saturation |
| UInt_t | fNumCuts | Number of cuts defined |
| list<size_t> | fOpenIntIndices | Indices of open interval (if any) for each cut type |
| Cut_t | fPosBurpENo | cut number for energy burp cut |
| Cut_t | fPosBurpNo | cut number for pos. burp cut |
| RunNumber_t | fRunNumber | Run number associated with this list |
| Cut_t | fSatNo | cut number for detector saturation |
| vector<UInt_t> | fTally | tally of cut condition failures |
| static const size_t | fgMaxEvent | Probably should be available from VaEvent, really |
| Inheritance Chart: | |||||
|
Initialization of a cut list. The database is queried for a predefined list of cut intervals.