TPCCondData
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tpcconddata::FieldSetting Class Reference

class to store the field setting of a TPC with GEM-based amplification system More...

#include <FieldSetting.h>

Inheritance diagram for tpcconddata::FieldSetting:

Public Member Functions

 FieldSetting (int NGEMs)
 
 FieldSetting (EVENT::LCObject *Obj)
 
 ~FieldSetting ()
 
int getNGEMs () const
 return the Number of GEMs More...
 
int getGEMStatus () const
 return the status of the GEM System 0: off 1: running normally 2: ramping up 3: ramping down 4: tripped 5: other error More...
 
int getDriftFieldStatus () const
 return the status of the DriftField System 0: off 1: running normally 2: ramping up 3: ramping down More...
 
int getMagneticFieldStatus () const
 return the status of the Magnet 0: off 1: running normally 2: ramping up 3: ramping down More...
 
float getGEMVoltage (int GEMID) const
 return the voltage of the given number GEM 0 is the nearest the drift region More...
 
float getTransferField (int GEMID) const
 return the field (in V/mm) between the GEM N and N+1 More...
 
float getInductionField () const
 return the field (in V/mm) between the last GEM and the Pad-Readout-Plane More...
 
float getGuardRingVoltage () const
 return voltage (in V) of the guard ring on the gem modules More...
 
float getCathodeVoltage () const
 return voltage (in V) of the cathode of the field cage More...
 
float getAnodeVoltage () const
 return voltage (in V) of the anode of the field cage (e.g. More...
 
float getDriftField (float maxDriftLegth) const
 return the driftfield (in V/mm) if the length of the driftregion (in mm) is given More...
 
float getMagneticField () const
 return the magnetic field (in T) More...
 
void setGEMStatus (int Value)
 set the status of a GEM (see getGEMStatus) More...
 
void setDriftFieldStatus (int Value)
 set the status of a drift field (see getDriftFieldStatus) More...
 
void setMagneticFieldStatus (int Value)
 set the status of a magnet (see getMagneticFieldStatus) More...
 
void setGEMVoltage (int GEMID, float Value)
 set the voltage of the given number GEM 0 is the nearest the drift region More...
 
void setTransferField (int GEMID, float Value)
 set the field (in V/mm) between the GEM N and N+1 More...
 
void setInductionField (float Value)
 set the field (in V/mm) between the last GEM and the Pad-Readout-Plane More...
 
void setCathodeVoltage (float Value)
 set voltage (in V) of the cathode of the field cage More...
 
void setGuardRingVoltage (float Value)
 set voltage (in V) of the guard ring on gem module More...
 
void setAnodeVoltage (float Value)
 set voltage (in V) of the anode of the field cage (e.g. More...
 
void setMagneticField (float Value)
 return the magnetic field (in T) More...
 
IMPL::LCGenericObjectImpl * obj ()
 
virtual int id ()
 
void print (std::ostream &os=std::cout) const
 
int getNInt () const
 
int getNFloat () const
 
int getNDouble () const
 
int getIntVal (int index) const
 
float getFloatVal (int index) const
 
double getDoubleVal (int index) const
 
bool isFixedSize () const
 
virtual const std::string getTypeName () const
 
virtual const std::string getDataDescription () const
 

Static Public Member Functions

static std::string getRevision ()
 
static std::string getDefaultColName ()
 

Protected Member Functions

void setNGEMs (int Value)
 set the Number of GEMs is protected, numberof GEMs is to imported for consistence can only be set by constructor More...
 

Protected Attributes

bool createObj
 
IMPL::LCGenericObjectImpl * myObj
 

Detailed Description

class to store the field setting of a TPC with GEM-based amplification system

Definition at line 19 of file FieldSetting.h.

Constructor & Destructor Documentation

tpcconddata::FieldSetting::FieldSetting ( int  NGEMs)

Definition at line 22 of file FieldSetting.cc.

tpcconddata::FieldSetting::FieldSetting ( EVENT::LCObject *  Obj)

Definition at line 44 of file FieldSetting.cc.

tpcconddata::FieldSetting::~FieldSetting ( )

Definition at line 57 of file FieldSetting.cc.

Member Function Documentation

float tpcconddata::FieldSetting::getAnodeVoltage ( ) const

return voltage (in V) of the anode of the field cage (e.g.

the shield at the position of the first GEM)

Definition at line 101 of file FieldSetting.cc.

float tpcconddata::FieldSetting::getCathodeVoltage ( ) const

return voltage (in V) of the cathode of the field cage

Definition at line 93 of file FieldSetting.cc.

virtual const std::string tpcconddata::FieldSetting::getDataDescription ( ) const
inlinevirtual

Definition at line 154 of file FieldSetting.h.

std::string tpcconddata::FieldSetting::getDefaultColName ( )
static

Definition at line 18 of file FieldSetting.cc.

double tpcconddata::FieldSetting::getDoubleVal ( int  index) const

Definition at line 203 of file FieldSetting.cc.

float tpcconddata::FieldSetting::getDriftField ( float  maxDriftLegth) const

return the driftfield (in V/mm) if the length of the driftregion (in mm) is given

Definition at line 105 of file FieldSetting.cc.

int tpcconddata::FieldSetting::getDriftFieldStatus ( ) const

return the status of the DriftField System 0: off 1: running normally 2: ramping up 3: ramping down

Definition at line 65 of file FieldSetting.cc.

float tpcconddata::FieldSetting::getFloatVal ( int  index) const

Definition at line 200 of file FieldSetting.cc.

int tpcconddata::FieldSetting::getGEMStatus ( ) const

return the status of the GEM System 0: off 1: running normally 2: ramping up 3: ramping down 4: tripped 5: other error

Definition at line 73 of file FieldSetting.cc.

float tpcconddata::FieldSetting::getGEMVoltage ( int  GEMID) const

return the voltage of the given number GEM 0 is the nearest the drift region

Definition at line 77 of file FieldSetting.cc.

float tpcconddata::FieldSetting::getGuardRingVoltage ( ) const

return voltage (in V) of the guard ring on the gem modules

Definition at line 97 of file FieldSetting.cc.

float tpcconddata::FieldSetting::getInductionField ( ) const

return the field (in V/mm) between the last GEM and the Pad-Readout-Plane

Definition at line 89 of file FieldSetting.cc.

int tpcconddata::FieldSetting::getIntVal ( int  index) const

Definition at line 197 of file FieldSetting.cc.

float tpcconddata::FieldSetting::getMagneticField ( ) const

return the magnetic field (in T)

Definition at line 109 of file FieldSetting.cc.

int tpcconddata::FieldSetting::getMagneticFieldStatus ( ) const

return the status of the Magnet 0: off 1: running normally 2: ramping up 3: ramping down

Definition at line 69 of file FieldSetting.cc.

int tpcconddata::FieldSetting::getNDouble ( ) const

Definition at line 195 of file FieldSetting.cc.

int tpcconddata::FieldSetting::getNFloat ( ) const

Definition at line 194 of file FieldSetting.cc.

int tpcconddata::FieldSetting::getNGEMs ( ) const

return the Number of GEMs

Definition at line 61 of file FieldSetting.cc.

int tpcconddata::FieldSetting::getNInt ( ) const

Definition at line 193 of file FieldSetting.cc.

std::string tpcconddata::FieldSetting::getRevision ( )
static

Definition at line 14 of file FieldSetting.cc.

float tpcconddata::FieldSetting::getTransferField ( int  GEMID) const

return the field (in V/mm) between the GEM N and N+1

Definition at line 83 of file FieldSetting.cc.

virtual const std::string tpcconddata::FieldSetting::getTypeName ( ) const
inlinevirtual

Definition at line 150 of file FieldSetting.h.

int tpcconddata::FieldSetting::id ( )
virtual

Definition at line 163 of file FieldSetting.cc.

bool tpcconddata::FieldSetting::isFixedSize ( ) const
inline

Definition at line 148 of file FieldSetting.h.

IMPL::LCGenericObjectImpl * tpcconddata::FieldSetting::obj ( )

Definition at line 159 of file FieldSetting.cc.

void tpcconddata::FieldSetting::print ( std::ostream &  os = std::cout) const
void tpcconddata::FieldSetting::setAnodeVoltage ( float  Value)

set voltage (in V) of the anode of the field cage (e.g.

the shield at the position of the first GEM)

Definition at line 151 of file FieldSetting.cc.

void tpcconddata::FieldSetting::setCathodeVoltage ( float  Value)

set voltage (in V) of the cathode of the field cage

Definition at line 143 of file FieldSetting.cc.

void tpcconddata::FieldSetting::setDriftFieldStatus ( int  Value)

set the status of a drift field (see getDriftFieldStatus)

Definition at line 117 of file FieldSetting.cc.

void tpcconddata::FieldSetting::setGEMStatus ( int  Value)

set the status of a GEM (see getGEMStatus)

Definition at line 125 of file FieldSetting.cc.

void tpcconddata::FieldSetting::setGEMVoltage ( int  GEMID,
float  Value 
)

set the voltage of the given number GEM 0 is the nearest the drift region

Definition at line 129 of file FieldSetting.cc.

void tpcconddata::FieldSetting::setGuardRingVoltage ( float  Value)

set voltage (in V) of the guard ring on gem module

Definition at line 147 of file FieldSetting.cc.

void tpcconddata::FieldSetting::setInductionField ( float  Value)

set the field (in V/mm) between the last GEM and the Pad-Readout-Plane

Definition at line 139 of file FieldSetting.cc.

void tpcconddata::FieldSetting::setMagneticField ( float  Value)

return the magnetic field (in T)

Definition at line 155 of file FieldSetting.cc.

void tpcconddata::FieldSetting::setMagneticFieldStatus ( int  Value)

set the status of a magnet (see getMagneticFieldStatus)

Definition at line 121 of file FieldSetting.cc.

void tpcconddata::FieldSetting::setNGEMs ( int  Value)
protected

set the Number of GEMs is protected, numberof GEMs is to imported for consistence can only be set by constructor

Definition at line 113 of file FieldSetting.cc.

void tpcconddata::FieldSetting::setTransferField ( int  GEMID,
float  Value 
)

set the field (in V/mm) between the GEM N and N+1

Definition at line 134 of file FieldSetting.cc.

Member Data Documentation

bool tpcconddata::FieldSetting::createObj
protected

Definition at line 162 of file FieldSetting.h.

IMPL::LCGenericObjectImpl* tpcconddata::FieldSetting::myObj
protected

Definition at line 163 of file FieldSetting.h.


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