Public Member Functions | Public Attributes | Friends | List of all members
fnex::DataEventInfo_struct Struct Reference

Public Member Functions

 DataEventInfo_struct ()
 
 DataEventInfo_struct (int const &r, int const &s, int const &c, int const &e, int const &sl, double const &TE, double const &he, double const &le, double const &ne, double const &tf)
 
 DataEventInfo_struct (int const &r, int const &s, int const &c, int const &e, int const &sl, double const &TE, double const &he, double const &le, double const &ne, double const &tf, double const &cvn)
 
bool operator== (const DataEventInfo_struct &other) const
 
bool operator< (const DataEventInfo_struct &other) const
 

Public Attributes

int run
 
int subrun
 
int cycle
 
int event
 
int slice
 
double trueE
 
double hadE
 
double lepE
 
double nuE
 
double xseccv
 
double cvn
 

Friends

std::ostream & operator<< (std::ostream &o, DataEventInfo_struct const &eventinfo)
 

Detailed Description

Definition at line 185 of file CompareFNEXCAFEventListFiles_module.cc.

Constructor & Destructor Documentation

fnex::DataEventInfo_struct::DataEventInfo_struct ( )
inline
fnex::DataEventInfo_struct::DataEventInfo_struct ( int const &  r,
int const &  s,
int const &  c,
int const &  e,
int const &  sl,
double const &  TE,
double const &  he,
double const &  le,
double const &  ne,
double const &  tf 
)
inline

Definition at line 200 of file CompareFNEXCAFEventListFiles_module.cc.

210  : run (r )
211  , subrun (s )
212  , cycle (c )
213  , event (e )
214  , slice (sl )
215  , trueE (TE )
216  , hadE (he )
217  , lepE (le )
218  , nuE (ne )
219  , xseccv (tf )
220  , cvn (0. )
221  {};
Timing fit.
const XML_Char * s
Definition: expat.h:262
double he
Definition: runWimpSim.h:113
TChain * le
Definition: leana.C:12
TRandom3 r(0)
Float_t e
Definition: plot.C:35
fnex::DataEventInfo_struct::DataEventInfo_struct ( int const &  r,
int const &  s,
int const &  c,
int const &  e,
int const &  sl,
double const &  TE,
double const &  he,
double const &  le,
double const &  ne,
double const &  tf,
double const &  cvn 
)
inline

Definition at line 223 of file CompareFNEXCAFEventListFiles_module.cc.

234  : run (r )
235  , subrun (s )
236  , cycle (c )
237  , event (e )
238  , slice (sl )
239  , trueE (TE )
240  , hadE (he )
241  , lepE (le )
242  , nuE (ne )
243  , xseccv (tf )
244  , cvn (cvn)
245  {};
Timing fit.
Defines an enumeration for prong classification.
const XML_Char * s
Definition: expat.h:262
double he
Definition: runWimpSim.h:113
TChain * le
Definition: leana.C:12
TRandom3 r(0)
Float_t e
Definition: plot.C:35

Member Function Documentation

bool fnex::DataEventInfo_struct::operator< ( const DataEventInfo_struct other) const
inline

Definition at line 268 of file CompareFNEXCAFEventListFiles_module.cc.

References cycle, event, run, slice, and subrun.

268  {
269  if(this->run < other.run)
270  return true;
271  else if(this->run == other.run && this->subrun < other.subrun)
272  return true;
273  else if( this->run == other.run && this->subrun == other.subrun && this->cycle < other.cycle)
274  return true;
275  else if( this->run == other.run && this->subrun == other.subrun && this->cycle == other.cycle && this->event < other.event)
276  return true;
277  else if( this->run == other.run && this->subrun == other.subrun && this->cycle == other.cycle && this->event == other.event && this->slice < other.slice)
278  return true;
279 
280  return false;
281  }//end of less than operator
Definition: run.py:1
bool fnex::DataEventInfo_struct::operator== ( const DataEventInfo_struct other) const
inline

Definition at line 259 of file CompareFNEXCAFEventListFiles_module.cc.

References cycle, event, run, slice, and subrun.

259  {
260  return (this->run == other.run &&
261  this->subrun == other.subrun &&
262  this->cycle == other.cycle &&
263  this->event == other.event &&
264  this->slice == other.slice
265  );
266  }//end of bool operator==
Definition: run.py:1

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
DataEventInfo_struct const &  eventinfo 
)
friend

Definition at line 283 of file CompareFNEXCAFEventListFiles_module.cc.

283  {
284  o
285  << eventinfo.run
286  << " "
287  << eventinfo.subrun
288  << " "
289  << eventinfo.cycle
290  << " "
291  << eventinfo.event
292  << " "
293  << eventinfo.slice
294  << " "
295  << eventinfo.trueE
296  << " "
297  << eventinfo.hadE
298  << " "
299  << eventinfo.lepE
300  << " "
301  << eventinfo.nuE
302  << " "
303  << eventinfo.xseccv
304  << " "
305  << eventinfo.cvn
306  << std::endl;
307 
308  return o;
309  }//end of << operator to cout MCEventInfo_struct

Member Data Documentation

double fnex::DataEventInfo_struct::cvn

Definition at line 257 of file CompareFNEXCAFEventListFiles_module.cc.

int fnex::DataEventInfo_struct::cycle
int fnex::DataEventInfo_struct::event

Definition at line 250 of file CompareFNEXCAFEventListFiles_module.cc.

Referenced by operator<(), and operator==().

double fnex::DataEventInfo_struct::hadE

Definition at line 253 of file CompareFNEXCAFEventListFiles_module.cc.

double fnex::DataEventInfo_struct::lepE

Definition at line 254 of file CompareFNEXCAFEventListFiles_module.cc.

double fnex::DataEventInfo_struct::nuE

Definition at line 255 of file CompareFNEXCAFEventListFiles_module.cc.

int fnex::DataEventInfo_struct::run
int fnex::DataEventInfo_struct::slice

Definition at line 251 of file CompareFNEXCAFEventListFiles_module.cc.

Referenced by operator<(), and operator==().

int fnex::DataEventInfo_struct::subrun

Definition at line 248 of file CompareFNEXCAFEventListFiles_module.cc.

Referenced by operator<(), and operator==().

double fnex::DataEventInfo_struct::trueE

Definition at line 252 of file CompareFNEXCAFEventListFiles_module.cc.

double fnex::DataEventInfo_struct::xseccv

Definition at line 256 of file CompareFNEXCAFEventListFiles_module.cc.


The documentation for this struct was generated from the following file: