Public Member Functions | Public Attributes | List of all members
lem::Match Class Reference

Information about a LEM match. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-23/LEM/func/Match.h"

Public Member Functions

 Match ()
 
 Match (float E, const MatchableEvent *e, bool even=false, bool odd=false, int headSeq=-1)
 
bool operator< (const Match &rhs) const
 
TVector3 MaybeFlip (const TVector3 &v) const
 

Public Attributes

double energy
 
double qfrac
 
const MatchableEventevt
 
bool flipEven
 
bool flipOdd
 
int headSeqNo
 

Detailed Description

Information about a LEM match.

Definition at line 17 of file Match.h.

Constructor & Destructor Documentation

lem::Match::Match ( )
inline

Definition at line 20 of file Match.h.

20 : energy(-1e10), qfrac(-1), evt(0), flipEven(false), flipOdd(false), headSeqNo(-1) {}
const MatchableEvent * evt
Definition: Match.h:26
bool flipOdd
Definition: Match.h:27
int headSeqNo
Definition: Match.h:29
double qfrac
Definition: Match.h:25
double energy
Definition: Match.h:24
bool flipEven
Definition: Match.h:27
lem::Match::Match ( float  E,
const MatchableEvent e,
bool  even = false,
bool  odd = false,
int  headSeq = -1 
)
inline

Definition at line 21 of file Match.h.

22  : energy(E), qfrac(-1), evt(e), flipEven(even), flipOdd(odd), headSeqNo(headSeq) {}
const MatchableEvent * evt
Definition: Match.h:26
bool flipOdd
Definition: Match.h:27
int headSeqNo
Definition: Match.h:29
Float_t E
Definition: plot.C:20
double qfrac
Definition: Match.h:25
double energy
Definition: Match.h:24
Float_t e
Definition: plot.C:35
bool flipEven
Definition: Match.h:27

Member Function Documentation

TVector3 lem::Match::MaybeFlip ( const TVector3 &  v) const

Definition at line 12 of file Match.cxx.

References runNovaSAM::ret, and registry_explorer::v.

13  {
14  TVector3 ret = v;
15  /*
16  if(flipEven) ret.SetX(-v.X());
17  if(flipOdd) ret.SetY(-v.Y());
18  */
19  return ret;
20  }
bool lem::Match::operator< ( const Match rhs) const
inline

Definition at line 23 of file Match.h.

References energy.

23 {return energy < rhs.energy;}
double energy
Definition: Match.h:24

Member Data Documentation

double lem::Match::energy

Definition at line 24 of file Match.h.

Referenced by operator<().

const MatchableEvent* lem::Match::evt
bool lem::Match::flipEven

Definition at line 27 of file Match.h.

Referenced by lem::FindLEMMatches::AddHists(), and lem::LEM::AddHists().

bool lem::Match::flipOdd

Definition at line 27 of file Match.h.

Referenced by lem::FindLEMMatches::AddHists(), and lem::LEM::AddHists().

int lem::Match::headSeqNo

Definition at line 29 of file Match.h.

double lem::Match::qfrac

Definition at line 25 of file Match.h.

Referenced by lem::FindMatchesTranspose::endRun().


The documentation for this class was generated from the following files: