Jpp - the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
JRECONSTRUCTION::JShowerPrefit::match_t Struct Reference

#include <JShowerPrefit.hh>

Public Member Functions

 match_t (const JHitR1 &root, const double TMax_ns)
 
bool operator() (const JHitR1 &hit) const
 

Public Attributes

const JHitR1root
 
double TMax_ns
 

Detailed Description

Definition at line 227 of file JShowerPrefit.hh.

Constructor & Destructor Documentation

JRECONSTRUCTION::JShowerPrefit::match_t::match_t ( const JHitR1 root,
const double  TMax_ns 
)
inline

Definition at line 229 of file JShowerPrefit.hh.

Member Function Documentation

bool JRECONSTRUCTION::JShowerPrefit::match_t::operator() ( const JHitR1 hit) const
inline

Definition at line 234 of file JShowerPrefit.hh.

235  {
236  return root.getModuleID() == hit.getModuleID() && fabs(root.getT() - hit.getT()) <= TMax_ns;
237  }
double getT() const
Get calibrated time of hit.
int getModuleID() const
Get module identifier.

Member Data Documentation

const JHitR1& JRECONSTRUCTION::JShowerPrefit::match_t::root

Definition at line 239 of file JShowerPrefit.hh.

double JRECONSTRUCTION::JShowerPrefit::match_t::TMax_ns

Definition at line 240 of file JShowerPrefit.hh.


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