11 #include <JANA/JFactory.h>
12 #include <JANA/JObject.h>
13 #include <JANA/JEvent.h>
28 DESSkimData(
const set<string> &in_event_skims,
const vector<string> &in_skim_list) :
29 skim_list(in_skim_list), event_skims(in_event_skims) {}
32 inline const vector<string>&
GetAllSkims()
const {
return skim_list; }
34 bool Get_IsEventSkim(
string locSkim)
const{
return (event_skims.find(locSkim) != event_skims.end());}
37 void Print(
string mode=
"")
const {
39 cout << endl <<
"These skims are available:" << endl;
41 for(vector<string>::const_iterator it = skim_list.begin();
42 it != skim_list.end(); it++)
43 cout <<
" " << *it << endl;
46 cout << endl <<
"Event satisfies these skims:" << endl;
48 for(set<string>::const_iterator it = event_skims.begin();
49 it != event_skims.end(); it++)
50 cout <<
" " << *it << endl;
58 #endif // _DESSkimData_
const set< string > & GetEventSkims() const
const vector< string > & GetAllSkims() const
vector< string > skim_list
void Print(string mode="") const
DESSkimData(const set< string > &in_event_skims, const vector< string > &in_skim_list)
bool Get_IsEventSkim(string locSkim) const
set< string > event_skims