MarlinTPC  1.2.0
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)
 
int getNGEMs () const
 return the Number of GEMs
 
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
 
int getDriftFieldStatus () const
 return the status of the DriftField System 0: off 1: running normally 2: ramping up 3: ramping down
 
int getMagneticFieldStatus () const
 return the status of the Magnet 0: off 1: running normally 2: ramping up 3: ramping down
 
float getGEMVoltage (int GEMID) const
 return the voltage of the given number GEM 0 is the nearest the drift region
 
float getTransferField (int GEMID) const
 return the field (in V/mm) between the GEM N and N+1
 
float getInductionField () const
 return the field (in V/mm) between the last GEM and the Pad-Readout-Plane
 
float getGuardRingVoltage () const
 return voltage (in V) of the guard ring on the gem modules
 
float getCathodeVoltage () const
 return voltage (in V) of the cathode of the field cage
 
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
 
float getMagneticField () const
 return the magnetic field (in T)
 
void setGEMStatus (int Value)
 set the status of a GEM (see getGEMStatus)
 
void setDriftFieldStatus (int Value)
 set the status of a drift field (see getDriftFieldStatus)
 
void setMagneticFieldStatus (int Value)
 set the status of a magnet (see getMagneticFieldStatus)
 
void setGEMVoltage (int GEMID, float Value)
 set the voltage of the given number GEM 0 is the nearest the drift region
 
void setTransferField (int GEMID, float Value)
 set the field (in V/mm) between the GEM N and N+1
 
void setInductionField (float Value)
 set the field (in V/mm) between the last GEM and the Pad-Readout-Plane
 
void setCathodeVoltage (float Value)
 set voltage (in V) of the cathode of the field cage
 
void setGuardRingVoltage (float Value)
 set voltage (in V) of the guard ring on gem module
 
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)
 
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
 

Protected Attributes

bool createObj
 
IMPL::LCGenericObjectImpl * myObj
 

Detailed Description

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

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)

Referenced by marlintpc::FieldSettingListener::getAnodeVoltage(), and getDriftField().

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)


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