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

Public Member Functions

 MCEventInfo_struct ()
 
 MCEventInfo_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, bool const &cn, int const &a)
 
 MCEventInfo_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, bool const &cn, int const &a, double const &cvn)
 
bool operator== (const MCEventInfo_struct &other) const
 
bool operator< (const MCEventInfo_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
 
bool iscc
 
int anu
 
double cvn
 

Friends

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

Detailed Description

Definition at line 43 of file CompareFNEXCAFEventListFiles_module.cc.

Constructor & Destructor Documentation

fnex::MCEventInfo_struct::MCEventInfo_struct ( )
inline

Definition at line 44 of file CompareFNEXCAFEventListFiles_module.cc.

fnex::MCEventInfo_struct::MCEventInfo_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,
bool const &  cn,
int const &  a 
)
inline

Definition at line 60 of file CompareFNEXCAFEventListFiles_module.cc.

72  : run (r )
73  , subrun (s )
74  , cycle (c )
75  , event (e )
76  , slice (sl )
77  , trueE (TE )
78  , hadE (he )
79  , lepE (le )
80  , nuE (ne )
81  , xseccv (tf )
82  , iscc (cn )
83  , anu (a )
84  , cvn (0. )
85  {};
Timing fit.
const XML_Char * s
Definition: expat.h:262
const double a
double he
Definition: runWimpSim.h:113
TChain * le
Definition: leana.C:12
TRandom3 r(0)
Float_t e
Definition: plot.C:35
fnex::MCEventInfo_struct::MCEventInfo_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,
bool const &  cn,
int const &  a,
double const &  cvn 
)
inline

Definition at line 87 of file CompareFNEXCAFEventListFiles_module.cc.

100  : run (r )
101  , subrun (s )
102  , cycle (c )
103  , event (e )
104  , slice (sl )
105  , trueE (TE )
106  , hadE (he )
107  , lepE (le )
108  , nuE (ne )
109  , xseccv (tf )
110  , iscc (cn )
111  , anu (a )
112  , cvn (cvn)
113  {};
Timing fit.
Defines an enumeration for prong classification.
const XML_Char * s
Definition: expat.h:262
const double a
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::MCEventInfo_struct::operator< ( const MCEventInfo_struct other) const
inline

Definition at line 139 of file CompareFNEXCAFEventListFiles_module.cc.

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

139  {
140  if(this->run < other.run)
141  return true;
142  else if(this->run == other.run && this->subrun < other.subrun)
143  return true;
144  else if( this->run == other.run && this->subrun == other.subrun && this->cycle < other.cycle)
145  return true;
146  else if( this->run == other.run && this->subrun == other.subrun && this->cycle == other.cycle && this->event < other.event)
147  return true;
148  else if( this->run == other.run && this->subrun == other.subrun && this->cycle == other.cycle && this->event == other.event && this->slice < other.slice)
149  return true;
150 
151  return false;
152  }//end of less than operator
Definition: run.py:1
bool fnex::MCEventInfo_struct::operator== ( const MCEventInfo_struct other) const
inline

Definition at line 130 of file CompareFNEXCAFEventListFiles_module.cc.

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

130  {
131  return (this->run == other.run &&
132  this->subrun == other.subrun &&
133  this->cycle == other.cycle &&
134  this->event == other.event &&
135  this->slice == other.slice
136  );
137  }//end of bool operator==
Definition: run.py:1

Friends And Related Function Documentation

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

Definition at line 154 of file CompareFNEXCAFEventListFiles_module.cc.

154  {
155  o
156  << eventinfo.run
157  << " "
158  << eventinfo.subrun
159  << " "
160  << eventinfo.cycle
161  << " "
162  << eventinfo.event
163  << " "
164  << eventinfo.slice
165  << " "
166  << eventinfo.trueE
167  << " "
168  << eventinfo.hadE
169  << " "
170  << eventinfo.lepE
171  << " "
172  << eventinfo.nuE
173  << " "
174  << eventinfo.xseccv
175  << " "
176  << eventinfo.cvn
177  << std::endl;
178 
179  return o;
180  }//end of << operator to cout MCEventInfo_struct

Member Data Documentation

int fnex::MCEventInfo_struct::anu

Definition at line 126 of file CompareFNEXCAFEventListFiles_module.cc.

double fnex::MCEventInfo_struct::cvn

Definition at line 127 of file CompareFNEXCAFEventListFiles_module.cc.

int fnex::MCEventInfo_struct::cycle
int fnex::MCEventInfo_struct::event

Definition at line 118 of file CompareFNEXCAFEventListFiles_module.cc.

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

double fnex::MCEventInfo_struct::hadE

Definition at line 121 of file CompareFNEXCAFEventListFiles_module.cc.

bool fnex::MCEventInfo_struct::iscc

Definition at line 125 of file CompareFNEXCAFEventListFiles_module.cc.

double fnex::MCEventInfo_struct::lepE

Definition at line 122 of file CompareFNEXCAFEventListFiles_module.cc.

double fnex::MCEventInfo_struct::nuE

Definition at line 123 of file CompareFNEXCAFEventListFiles_module.cc.

int fnex::MCEventInfo_struct::run
int fnex::MCEventInfo_struct::slice

Definition at line 119 of file CompareFNEXCAFEventListFiles_module.cc.

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

int fnex::MCEventInfo_struct::subrun

Definition at line 116 of file CompareFNEXCAFEventListFiles_module.cc.

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

double fnex::MCEventInfo_struct::trueE

Definition at line 120 of file CompareFNEXCAFEventListFiles_module.cc.

double fnex::MCEventInfo_struct::xseccv

Definition at line 124 of file CompareFNEXCAFEventListFiles_module.cc.


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