hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Attributes | List of all members
RawSvtHit Class Reference

#include <RawSvtHit.h>

Inheritance diagram for RawSvtHit:

Public Member Functions

 RawSvtHit ()
 
virtual ~RawSvtHit ()
 
void Clear ()
 
void setFitN (int fitN)
 
void setFit (double fit[5], int fitI)
 
void setADCs (int adcs[6])
 
void setSystem (int system)
 
void setBarrel (int barrel)
 
void setLayer (int layer)
 
void setModule (int module)
 
void setSensor (int sensor)
 
void setSide (int side)
 
void setStrip (int strip)
 
int getFitN ()
 
double * getFit (int fitI)
 
int * getADCs ()
 
int getSystem ()
 
int getBarrel ()
 
int getLayer ()
 
int getModule ()
 
int getSensor ()
 
int getSide ()
 
int getStrip ()
 
double getT0 (int fitI)
 
double getT0err (int fitI)
 
double getAmp (int fitI)
 
double getAmpErr (int fitI)
 
double getChiSq (int fitI)
 
 ClassDef (RawSvtHit, 1)
 

Private Attributes

int adcs_ [6] {-999,-999,-999,-999,-999,-999}
 
int system_ {-999}
 
int barrel_ {-999}
 
int layer_ {-999}
 
int module_ {-999}
 
int sensor_ {-999}
 
int side_ {-999}
 
int strip_ {-999}
 
int fitN_ {0}
 
double fit_ [2][5] {{-999.9,-999.9,-999.9,-999.9,-999.9},{-999.9,-999.9,-999.9,-999.9,-999.9}}
 

Detailed Description

Definition at line 21 of file RawSvtHit.h.

Constructor & Destructor Documentation

◆ RawSvtHit()

RawSvtHit ( )

Constructor

◆ ~RawSvtHit()

~RawSvtHit ( )
virtual

Destructor

Definition at line 15 of file RawSvtHit.cxx.

Member Function Documentation

◆ ClassDef()

ClassDef ( RawSvtHit  ,
 
)

◆ Clear()

void Clear ( )

Reset the Hit object.

Definition at line 19 of file RawSvtHit.cxx.

◆ getADCs()

int * getADCs ( )

Get the adc values

Definition at line 76 of file RawSvtHit.cxx.

◆ getAmp()

double getAmp ( int  fitI)
inline

Get the amplitude fit parameter

Definition at line 101 of file RawSvtHit.h.

◆ getAmpErr()

double getAmpErr ( int  fitI)
inline

Get the amplitude error fit parameter

Definition at line 104 of file RawSvtHit.h.

◆ getBarrel()

int getBarrel ( )

Get the barrel

Definition at line 84 of file RawSvtHit.cxx.

◆ getChiSq()

double getChiSq ( int  fitI)
inline

Get the chiSq probability

Definition at line 107 of file RawSvtHit.h.

◆ getFit()

double * getFit ( int  fitI)

Get the fit paramters

Definition at line 72 of file RawSvtHit.cxx.

◆ getFitN()

int getFitN ( )
inline

Get the fit multi

Definition at line 65 of file RawSvtHit.h.

◆ getLayer()

int getLayer ( )

Get the layer

Definition at line 88 of file RawSvtHit.cxx.

◆ getModule()

int getModule ( )

Get the module

Definition at line 92 of file RawSvtHit.cxx.

◆ getSensor()

int getSensor ( )

Get the sensor

Definition at line 96 of file RawSvtHit.cxx.

◆ getSide()

int getSide ( )

Get the side

Definition at line 100 of file RawSvtHit.cxx.

◆ getStrip()

int getStrip ( )

Get the strip

Definition at line 104 of file RawSvtHit.cxx.

◆ getSystem()

int getSystem ( )

Get the system

Definition at line 80 of file RawSvtHit.cxx.

◆ getT0()

double getT0 ( int  fitI)
inline

Get the t0 fit parameter

Definition at line 95 of file RawSvtHit.h.

◆ getT0err()

double getT0err ( int  fitI)
inline

Get the t0 err fit parameter

Definition at line 98 of file RawSvtHit.h.

◆ setADCs()

void setADCs ( int  adcs[6])

Set the adc values

Definition at line 35 of file RawSvtHit.cxx.

◆ setBarrel()

void setBarrel ( int  barrel)

Set the barrel

Definition at line 48 of file RawSvtHit.cxx.

◆ setFit()

void setFit ( double  fit[5],
int  fitI 
)

Set the fit parameters

Definition at line 27 of file RawSvtHit.cxx.

◆ setFitN()

void setFitN ( int  fitN)

Set the fit multi

Definition at line 23 of file RawSvtHit.cxx.

◆ setLayer()

void setLayer ( int  layer)

Set the layer

Definition at line 52 of file RawSvtHit.cxx.

◆ setModule()

void setModule ( int  module)

Set the module

Definition at line 56 of file RawSvtHit.cxx.

◆ setSensor()

void setSensor ( int  sensor)

Set the sensor

Definition at line 60 of file RawSvtHit.cxx.

◆ setSide()

void setSide ( int  side)

Set the side

Definition at line 64 of file RawSvtHit.cxx.

◆ setStrip()

void setStrip ( int  strip)

Set the strip

Definition at line 68 of file RawSvtHit.cxx.

◆ setSystem()

void setSystem ( int  system)

Set the system

Definition at line 44 of file RawSvtHit.cxx.

Member Data Documentation

◆ adcs_

int adcs_[6] {-999,-999,-999,-999,-999,-999}
private

The raw adcs of the hit.

Definition at line 115 of file RawSvtHit.h.

◆ barrel_

int barrel_ {-999}
private

Definition at line 117 of file RawSvtHit.h.

◆ fit_

double fit_[2][5] {{-999.9,-999.9,-999.9,-999.9,-999.9},{-999.9,-999.9,-999.9,-999.9,-999.9}}
private

Definition at line 125 of file RawSvtHit.h.

◆ fitN_

int fitN_ {0}
private

The fit parameters of the hit.

Definition at line 124 of file RawSvtHit.h.

◆ layer_

int layer_ {-999}
private

Definition at line 118 of file RawSvtHit.h.

◆ module_

int module_ {-999}
private

Definition at line 119 of file RawSvtHit.h.

◆ sensor_

int sensor_ {-999}
private

Definition at line 120 of file RawSvtHit.h.

◆ side_

int side_ {-999}
private

Definition at line 121 of file RawSvtHit.h.

◆ strip_

int strip_ {-999}
private

Definition at line 122 of file RawSvtHit.h.

◆ system_

int system_ {-999}
private

Definition at line 116 of file RawSvtHit.h.


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