28 using namespace JLANG;
44 veto_type(
const veto_type& veto) :
49 veto_type(veto_type&&) =
delete;
50 veto_type& operator=(veto_type&&) =
delete;
60 public virtual veto_type
62 virtual bool accept(
const T&
object)
const override
74 public virtual veto_type
76 virtual bool accept(
const JEvent& event)
const override
79 for (veto_type::const_iterator i = this->begin(); i != this->end(); ++i) {
80 for (JEvent::const_iterator hit = event.begin(); hit != event.end(); ++hit) {
81 if ((*i)(hit->getToA())) {
96 struct JSelector<
JEvt> :
98 public virtual veto_type
100 virtual bool accept(
const JEvt& evt)
const override
102 for (veto_type::const_iterator i = this->begin(); i != this->end(); ++i) {
118 public virtual veto_type
120 virtual bool accept(
const JSuperEvt& evt)
const override
122 for (veto_type::const_iterator i = this->begin(); i != this->end(); ++i) {
135 template<
class JHead_t,
class JTail_t>
136 struct JSelector<
JTypeList<JHead_t, JTail_t> > :
138 public JSelector<JHead_t>,
139 public JSelector<JTail_t>
145 template<
class JHead_t>
147 public JSelector<JHead_t>
167 JLimit_t& numberOfEvents = inputFile.getLimit();
169 JSelector_t selector;
174 JParser<> zap(
"Auxiliary program to convert acoustic events.");
180 "Precede name of data structure by a '+' or '-' "
181 "to add or remove data types in the output, respectively."
189 catch(
const exception &error) {
190 FATAL(error.what() << endl);
ROOT TTree parameter settings.
int main(int argc, char **argv)
Recording of objects on file according a format that follows from the file name extension.
General purpose messaging.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Implementation of pipe operation for object iterators.
Auxiliary class to define a range between two values.
Interface for selection of objects.
Auxiliary class for selection of data type.
Utility class to parse command line options.
General purpose class for object reading from a list of file names.
Auxiliary classes and methods for acoustic position calibration.
JTOOLS::JRange< double > JTimeRange
Type definition for time range (unit [s]).
Auxiliary classes and methods for language specific functionality.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
std::set< JROOTClassSelector > getROOTClassSelection(const bool option=false)
Get ROOT class selection.
double UNIXTimeStop
stop time
double UNIXTimeStart
start time
Acoustic super event fit.
Auxiliary wrapper for I/O of container with optional comment (see JComment).
Auxiliary class for no type definition.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary class for ROOT class selection.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.