Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DTACHit Class Reference

#include <DTACHit.h>

+ Inheritance diagram for DTACHit:

Public Member Functions

 DTACHit ()
 
 DTACHit (const DTACHit &hit)
 
virtual ~DTACHit ()
 
DTACHitoperator= (const DTACHit &hit)
 
virtual void toStrings (vector< pair< string, string > > &items) const override
 
double getE () const
 
void setE (double e=0)
 
double getIntegral () const
 
void setIntegral (double integral=0)
 
double getNpeFADC () const
 
void setNpeFADC (double npeFadc=0)
 
double getPulsePeak () const
 
void setPulsePeak (double pulsePeak=0)
 
double getT () const
 
void setT (double t=0)
 
double getTimeFADC () const
 
void setTimeFADC (double timeFadc=0)
 
double getTimeTDC () const
 
void setTimeTDC (double timeTdc=0)
 
bool isFADCPresent () const
 
void setFADCPresent (bool fadcPresent=false)
 
bool isTDCPresent () const
 
void setTDCPresent (bool tdcPresent=false)
 

Protected Attributes

double E = 0
 
double T = 0
 
double integral = 0
 
double pulsePeak = 0
 
double timeTDC = 0
 
double timeFADC = 0
 
double npeFADC = 0
 
bool fadcPresent = false
 
bool tdcPresent = false
 

Detailed Description

Definition at line 15 of file DTACHit.h.

Constructor & Destructor Documentation

DTACHit::DTACHit ( )
inline

Definition at line 32 of file DTACHit.h.

DTACHit::DTACHit ( const DTACHit hit)
inline

Definition at line 34 of file DTACHit.h.

virtual DTACHit::~DTACHit ( )
inlinevirtual

Definition at line 38 of file DTACHit.h.

Member Function Documentation

double DTACHit::getE ( ) const
inline

Definition at line 69 of file DTACHit.h.

Referenced by DTACHit_factory::makeTDCHits().

double DTACHit::getIntegral ( ) const
inline

Definition at line 77 of file DTACHit.h.

double DTACHit::getNpeFADC ( ) const
inline

Definition at line 85 of file DTACHit.h.

double DTACHit::getPulsePeak ( ) const
inline

Definition at line 93 of file DTACHit.h.

Referenced by DTACHit_factory::makeTDCHits(), and HitRebuilderTAC::operator()().

double DTACHit::getT ( ) const
inline

Definition at line 101 of file DTACHit.h.

double DTACHit::getTimeFADC ( ) const
inline

Definition at line 109 of file DTACHit.h.

Referenced by DTACHit_factory::findMatch(), and DTACHit_factory::makeFADCHits().

double DTACHit::getTimeTDC ( ) const
inline

Definition at line 117 of file DTACHit.h.

bool DTACHit::isFADCPresent ( ) const
inline

Definition at line 125 of file DTACHit.h.

bool DTACHit::isTDCPresent ( ) const
inline

Definition at line 133 of file DTACHit.h.

DTACHit& DTACHit::operator= ( const DTACHit hit)
inline

Definition at line 41 of file DTACHit.h.

References E, fadcPresent, integral, npeFADC, pulsePeak, T, tdcPresent, timeFADC, and timeTDC.

void DTACHit::setE ( double  e = 0)
inline

Definition at line 73 of file DTACHit.h.

References e.

Referenced by DTACHit_factory::makeFADCHits(), and DTACHit_factory::makeTDCHits().

void DTACHit::setFADCPresent ( bool  fadcPresent = false)
inline

Definition at line 129 of file DTACHit.h.

Referenced by DTACHit_factory::makeFADCHits(), and DTACHit_factory::makeTDCHits().

void DTACHit::setIntegral ( double  integral = 0)
inline

Definition at line 81 of file DTACHit.h.

void DTACHit::setNpeFADC ( double  npeFadc = 0)
inline

Definition at line 89 of file DTACHit.h.

void DTACHit::setPulsePeak ( double  pulsePeak = 0)
inline

Definition at line 97 of file DTACHit.h.

Referenced by DTACHit_factory::makeFADCHits().

void DTACHit::setT ( double  t = 0)
inline
void DTACHit::setTDCPresent ( bool  tdcPresent = false)
inline

Definition at line 137 of file DTACHit.h.

Referenced by DTACHit_factory::makeFADCHits(), and DTACHit_factory::makeTDCHits().

void DTACHit::setTimeFADC ( double  timeFadc = 0)
inline
void DTACHit::setTimeTDC ( double  timeTdc = 0)
inline

Definition at line 121 of file DTACHit.h.

Referenced by DTACHit_factory::makeFADCHits().

virtual void DTACHit::toStrings ( vector< pair< string, string > > &  items) const
inlineoverridevirtual

Definition at line 57 of file DTACHit.h.

Member Data Documentation

double DTACHit::E = 0
protected

Definition at line 17 of file DTACHit.h.

Referenced by operator=().

bool DTACHit::fadcPresent = false
protected

Definition at line 25 of file DTACHit.h.

Referenced by operator=().

double DTACHit::integral = 0
protected

Definition at line 20 of file DTACHit.h.

Referenced by operator=().

double DTACHit::npeFADC = 0
protected

Definition at line 24 of file DTACHit.h.

Referenced by operator=().

double DTACHit::pulsePeak = 0
protected

Definition at line 21 of file DTACHit.h.

Referenced by operator=().

double DTACHit::T = 0
protected

Definition at line 18 of file DTACHit.h.

Referenced by operator=().

bool DTACHit::tdcPresent = false
protected

Definition at line 26 of file DTACHit.h.

Referenced by operator=().

double DTACHit::timeFADC = 0
protected

Definition at line 23 of file DTACHit.h.

Referenced by operator=().

double DTACHit::timeTDC = 0
protected

Definition at line 22 of file DTACHit.h.

Referenced by operator=().


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