Project
Loading...
Searching...
No Matches
o2::mch::Response Class Reference

#include <Response.h>

Public Member Functions

 Response (Station station)
 
 ~Response ()=default
 
float getChargeSpread () const
 
float getPitch () const
 
float getSigmaIntegration () const
 
bool isAboveThreshold (float charge) const
 
bool isAngleEffect () const
 
bool isMagnetEffect () const
 
float etocharge (float edepos) const
 
float chargePadfraction (float xmin, float xmax, float ymin, float ymax) const
 
float getAnod (float x) const
 return wire coordinate closest to x
 
float chargeCorr () const
 return a randomized charge correlation between cathodes
 
uint32_t nSamples (float charge) const
 compute the number of samples corresponding to the charge in ADC units
 
float inclandbfield (float thetawire, float betagamma, float bx) const
 compute deteriation of y-resolution due to track inclination and B-field
 

Detailed Description

Definition at line 30 of file Response.h.

Constructor & Destructor Documentation

◆ Response()

Response::Response ( Station  station)

Definition at line 29 of file Response.cxx.

◆ ~Response()

o2::mch::Response::~Response ( )
default

Member Function Documentation

◆ chargeCorr()

float Response::chargeCorr ( ) const

return a randomized charge correlation between cathodes

Definition at line 77 of file Response.cxx.

◆ chargePadfraction()

float o2::mch::Response::chargePadfraction ( float  xmin,
float  xmax,
float  ymin,
float  ymax 
) const
inline

Compute the charge fraction in a rectangle area for a unit charge occuring at position (0,0)

Parameters
xmin,xmax,ymin,ymaxcoordinates (in cm) defining the area

Definition at line 55 of file Response.h.

◆ etocharge()

float Response::etocharge ( float  edepos) const

Converts energy deposition into a charge.

Parameters
edeposdeposited energy from Geant (in GeV)
Returns
an equivalent charge (roughly in ADC units)

Definition at line 51 of file Response.cxx.

◆ getAnod()

float Response::getAnod ( float  x) const

return wire coordinate closest to x

Definition at line 69 of file Response.cxx.

◆ getChargeSpread()

float o2::mch::Response::getChargeSpread ( ) const
inline

Definition at line 35 of file Response.h.

◆ getPitch()

float o2::mch::Response::getPitch ( ) const
inline

Definition at line 36 of file Response.h.

◆ getSigmaIntegration()

float o2::mch::Response::getSigmaIntegration ( ) const
inline

Definition at line 37 of file Response.h.

◆ inclandbfield()

float Response::inclandbfield ( float  thetawire,
float  betagamma,
float  bx 
) const

compute deteriation of y-resolution due to track inclination and B-field

Definition at line 92 of file Response.cxx.

◆ isAboveThreshold()

bool o2::mch::Response::isAboveThreshold ( float  charge) const
inline

Definition at line 38 of file Response.h.

◆ isAngleEffect()

bool o2::mch::Response::isAngleEffect ( ) const
inline

Definition at line 39 of file Response.h.

◆ isMagnetEffect()

bool o2::mch::Response::isMagnetEffect ( ) const
inline

Definition at line 40 of file Response.h.

◆ nSamples()

uint32_t Response::nSamples ( float  charge) const

compute the number of samples corresponding to the charge in ADC units

Definition at line 83 of file Response.cxx.


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