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

#include <HitRebuilderTAC.h>

+ Inheritance diagram for HitRebuilderTAC:

Public Member Functions

 HitRebuilderTAC (jana::JEventLoop *eventLoop)
 
 HitRebuilderTAC (const HitRebuilderTAC &f)
 
HitRebuilderTACoperator= (const HitRebuilderTAC &f)
 
virtual ~HitRebuilderTAC ()
 
virtual std::vector< DTACHit * > operator() (vector< const DTACHit * > &baseHitVector) override
 
double getADCTimeOffset () const
 
void setADCTimeOffset (double adcTimeOffset=0)
 
const std::set< const
Df250WindowRawData * > & 
getRawDataPtrSet () const
 
void setRawDataPtrSet (const std::set< const Df250WindowRawData * > &rawDataPtrSet)
 
double getTimeBaseADC () const
 
void setTimeBaseADC (double timeBaseADC=-130)
 
double getTimeScaleADC () const
 
void setTimeScaleADC (double timeScaleADC=4.0)
 
virtual std::vector< DTACHit * > operator() (std::vector< const DTACHit * > &baseHitVector)=0
 

Static Public Member Functions

static std::string getTagString ()
 

Protected Member Functions

virtual double getTimeFromRawData (const std::vector< uint16_t > &samples) override
 
virtual const Df250WindowRawDatagetRawData (const DTACHit *baseHit) override
 
jerror_t readCCDB (jana::JEventLoop *eventLoop)
 

Protected Attributes

double timeScaleADC = 4.0
 
double adcTimeOffset = 0
 
double timeBaseADC = -130
 
double adcTimeRescaleFactor = 64.0
 
std::set< const
Df250WindowRawData * > 
rawDataPtrSet
 

Detailed Description

Definition at line 26 of file HitRebuilderTAC.h.

Constructor & Destructor Documentation

HitRebuilderTAC::HitRebuilderTAC ( jana::JEventLoop *  eventLoop)
inline

Definition at line 49 of file HitRebuilderTAC.h.

References readCCDB().

HitRebuilderTAC::HitRebuilderTAC ( const HitRebuilderTAC f)
inline

Definition at line 53 of file HitRebuilderTAC.h.

virtual HitRebuilderTAC::~HitRebuilderTAC ( )
inlinevirtual

Definition at line 65 of file HitRebuilderTAC.h.

Member Function Documentation

double HitRebuilderTAC::getADCTimeOffset ( ) const
inline

Definition at line 75 of file HitRebuilderTAC.h.

References adcTimeOffset.

const Df250WindowRawData * HitRebuilderTAC::getRawData ( const DTACHit baseHit)
overrideprotectedvirtual

Implements HitRebuilderInterfaceTAC.

Definition at line 51 of file HitRebuilderTAC.cc.

const std::set<const Df250WindowRawData*>& HitRebuilderTAC::getRawDataPtrSet ( ) const
inline

Definition at line 83 of file HitRebuilderTAC.h.

References rawDataPtrSet.

static std::string HitRebuilderTAC::getTagString ( )
inlinestatic

Definition at line 71 of file HitRebuilderTAC.h.

double HitRebuilderTAC::getTimeBaseADC ( ) const
inline

Definition at line 92 of file HitRebuilderTAC.h.

References timeBaseADC.

double HitRebuilderTAC::getTimeFromRawData ( const std::vector< uint16_t > &  samples)
overrideprotectedvirtual

Implements HitRebuilderInterfaceTAC.

Definition at line 73 of file HitRebuilderTAC.cc.

double HitRebuilderTAC::getTimeScaleADC ( ) const
inline

Definition at line 100 of file HitRebuilderTAC.h.

References timeScaleADC.

virtual std::vector<DTACHit*> HitRebuilderInterfaceTAC::operator() ( std::vector< const DTACHit * > &  baseHitVector)
pure virtualinherited
vector< DTACHit * > HitRebuilderTAC::operator() ( vector< const DTACHit * > &  baseHitVector)
overridevirtual
HitRebuilderTAC& HitRebuilderTAC::operator= ( const HitRebuilderTAC f)
inline

Definition at line 57 of file HitRebuilderTAC.h.

References adcTimeOffset, timeBaseADC, and timeScaleADC.

jerror_t HitRebuilderTAC::readCCDB ( jana::JEventLoop *  eventLoop)
protected

Definition at line 15 of file HitRebuilderTAC.cc.

Referenced by HitRebuilderTAC(), and HitRebuilderByFit< F >::readCCDB().

void HitRebuilderTAC::setADCTimeOffset ( double  adcTimeOffset = 0)
inline

Definition at line 79 of file HitRebuilderTAC.h.

References adcTimeOffset.

void HitRebuilderTAC::setRawDataPtrSet ( const std::set< const Df250WindowRawData * > &  rawDataPtrSet)
inline

Definition at line 87 of file HitRebuilderTAC.h.

References rawDataPtrSet.

void HitRebuilderTAC::setTimeBaseADC ( double  timeBaseADC = -130)
inline

Definition at line 96 of file HitRebuilderTAC.h.

References timeBaseADC.

void HitRebuilderTAC::setTimeScaleADC ( double  timeScaleADC = 4.0)
inline

Definition at line 104 of file HitRebuilderTAC.h.

References timeScaleADC.

Member Data Documentation

double HitRebuilderTAC::adcTimeOffset = 0
protected

Definition at line 29 of file HitRebuilderTAC.h.

Referenced by getADCTimeOffset(), operator=(), and setADCTimeOffset().

double HitRebuilderTAC::adcTimeRescaleFactor = 64.0
protected

Definition at line 32 of file HitRebuilderTAC.h.

std::set<const Df250WindowRawData*> HitRebuilderTAC::rawDataPtrSet
protected

Definition at line 34 of file HitRebuilderTAC.h.

Referenced by getRawDataPtrSet(), and setRawDataPtrSet().

double HitRebuilderTAC::timeBaseADC = -130
protected

Definition at line 30 of file HitRebuilderTAC.h.

Referenced by getTimeBaseADC(), operator=(), and setTimeBaseADC().

double HitRebuilderTAC::timeScaleADC = 4.0
protected

Definition at line 28 of file HitRebuilderTAC.h.

Referenced by getTimeScaleADC(), operator=(), and setTimeScaleADC().


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