MarlinTPC  1.2.0
Public Member Functions | Static Public Member Functions | List of all members
marlintpc::EFieldVector Class Reference
Inheritance diagram for marlintpc::EFieldVector:

Public Member Functions

 EFieldVector (int xBin=0., int yBin=0., int zBin=0., float Ex=0., float Ey=0., float Ez=0.)
 
 EFieldVector (EVENT::LCObject *obj)
 
 EFieldVector (const EFieldVector &original)
 
int getXBin () const
 Returns the xBin of the vector.
 
int getYBin () const
 Returns the yBin of the vector.
 
int getZBin () const
 Returns the zBin of the vector.
 
void setEx (float Ex)
 Set the EField in the voxel.
 
void setEy (float Ey)
 
void setEz (float Ez)
 
float getEx () const
 
float getEy () const
 
float getEz () const
 
bool operator== (const EFieldVector &right) const
 Two voxels are equal if their pad index and time index are equal. More...
 
bool operator< (const EFieldVector &right) const
 < operator for e.g. sorting in STL containers. More...
 
EFieldVectoroperator= (const EFieldVector &that)
 
void print (std::ostream &os=std::cout) const
 Print the vector information.
 
virtual const std::string getTypeName () const
 Implementation of the getTypeName method of LCGenericObject.
 
virtual const std::string getDataDescription () const
 Implementation of the getDataDescripton method of LCGenericObject PadIndex, zBinare all ints. More...
 
void setXBin (int xBin)
 Set the xBin, only called from the constructor.
 
void setYBin (int xBin)
 Set the yBin, only called from the constructor.
 
void setZBin (int zBin)
 Set the zBin, only called from the constructor.
 

Static Public Member Functions

static std::string getRevision ()
 returns the svn revision of the code
 

Member Function Documentation

virtual const std::string marlintpc::EFieldVector::getDataDescription ( ) const
inlinevirtual

Implementation of the getDataDescripton method of LCGenericObject PadIndex, zBinare all ints.

Ex,Ey and Ez are doubles.

bool marlintpc::EFieldVector::operator< ( const EFieldVector right) const

< operator for e.g. sorting in STL containers.

They are sorted in pad index, and within this in time index. Charge is not considdered.

References getXBin(), getYBin(), and getZBin().

bool marlintpc::EFieldVector::operator== ( const EFieldVector right) const

Two voxels are equal if their pad index and time index are equal.

The charge is not considered.

References getXBin(), getYBin(), and getZBin().


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