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

class to store the distortions measured with the photoelectric system using a laser. More...

#include <TPCDistortionMeasurement.h>

Inheritance diagram for tpcconddata::TPCDistortionMeasurement:

Public Member Functions

 TPCDistortionMeasurement (CLHEP::Hep3Vector *truePosition, CLHEP::Hep3Vector *reconstructedPosition, int dot_id)
 The constructor with all the member functions given. More...
 
 TPCDistortionMeasurement (EVENT::LCObject *obj)
 The constructor to be used with LCObjects from a collection. More...
 
virtual ~TPCDistortionMeasurement ()
 The desctructor. More...
 
CLHEP::Hep3Vector getTruePosition () const
 
CLHEP::Hep3Vector getReconstructedPosition () const
 
int getDotID () const
 
IMPL::LCGenericObjectImpl * obj () const
 
virtual int id () const
 
void print (std::ostream &os=std::cout) const
 
virtual const std::string getTypeName () const
 
virtual const std::string getDataDescription () const
 
virtual int getNInt () const
 
virtual int getNFloat () const
 
virtual int getNDouble () const
 
virtual int getIntVal (int i) const
 
virtual float getFloatVal (int i) const
 
virtual double getDoubleVal (int i) const
 
virtual bool isFixedSize () const
 

Static Public Member Functions

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

Protected Attributes

bool _createObj
 
IMPL::LCGenericObjectImpl * _myObj
 

Detailed Description

class to store the distortions measured with the photoelectric system using a laser.

The class is also able to handle the module ID. It is fully backward compatible to the version without module ID, although the implementation has changed from LCFixedObject to LCGenerigObject to provide the required flexibility.

Like the LCFixedObject this thing contains an LCGenericObject, but is not derived from it.

Author
K. Zenker (DESY)

Definition at line 35 of file TPCDistortionMeasurement.h.

Constructor & Destructor Documentation

tpcconddata::TPCDistortionMeasurement::TPCDistortionMeasurement ( CLHEP::Hep3Vector *  truePosition,
CLHEP::Hep3Vector *  reconstructedPosition,
int  dot_id 
)

The constructor with all the member functions given.

Use this to create on object on the heap.

Parameters
truePositionTrue position of the photodot
reconstructedPositionThe reconstructed position of the photodot
dot_idThe id of the photodot

Definition at line 15 of file TPCDistortionMeasurement.cc.

tpcconddata::TPCDistortionMeasurement::TPCDistortionMeasurement ( EVENT::LCObject *  obj)

The constructor to be used with LCObjects from a collection.

Definition at line 31 of file TPCDistortionMeasurement.cc.

tpcconddata::TPCDistortionMeasurement::~TPCDistortionMeasurement ( )
virtual

The desctructor.

Definition at line 53 of file TPCDistortionMeasurement.cc.

Member Function Documentation

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

Definition at line 75 of file TPCDistortionMeasurement.h.

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

Definition at line 11 of file TPCDistortionMeasurement.cc.

int tpcconddata::TPCDistortionMeasurement::getDotID ( ) const

Definition at line 82 of file TPCDistortionMeasurement.cc.

virtual double tpcconddata::TPCDistortionMeasurement::getDoubleVal ( int  i) const
inlinevirtual

Definition at line 97 of file TPCDistortionMeasurement.h.

virtual float tpcconddata::TPCDistortionMeasurement::getFloatVal ( int  i) const
inlinevirtual

Definition at line 94 of file TPCDistortionMeasurement.h.

virtual int tpcconddata::TPCDistortionMeasurement::getIntVal ( int  i) const
inlinevirtual

Definition at line 91 of file TPCDistortionMeasurement.h.

virtual int tpcconddata::TPCDistortionMeasurement::getNDouble ( ) const
inlinevirtual

Definition at line 87 of file TPCDistortionMeasurement.h.

virtual int tpcconddata::TPCDistortionMeasurement::getNFloat ( ) const
inlinevirtual

Definition at line 84 of file TPCDistortionMeasurement.h.

virtual int tpcconddata::TPCDistortionMeasurement::getNInt ( ) const
inlinevirtual

Definition at line 81 of file TPCDistortionMeasurement.h.

CLHEP::Hep3Vector tpcconddata::TPCDistortionMeasurement::getReconstructedPosition ( ) const

Definition at line 75 of file TPCDistortionMeasurement.cc.

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

Definition at line 7 of file TPCDistortionMeasurement.cc.

CLHEP::Hep3Vector tpcconddata::TPCDistortionMeasurement::getTruePosition ( ) const

Definition at line 69 of file TPCDistortionMeasurement.cc.

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

Definition at line 71 of file TPCDistortionMeasurement.h.

virtual int tpcconddata::TPCDistortionMeasurement::id ( ) const
inlinevirtual

Definition at line 64 of file TPCDistortionMeasurement.h.

virtual bool tpcconddata::TPCDistortionMeasurement::isFixedSize ( ) const
inlinevirtual

Definition at line 101 of file TPCDistortionMeasurement.h.

IMPL::LCGenericObjectImpl* tpcconddata::TPCDistortionMeasurement::obj ( ) const
inline

Definition at line 61 of file TPCDistortionMeasurement.h.

void tpcconddata::TPCDistortionMeasurement::print ( std::ostream &  os = std::cout) const

Definition at line 59 of file TPCDistortionMeasurement.cc.

Member Data Documentation

bool tpcconddata::TPCDistortionMeasurement::_createObj
protected

Definition at line 107 of file TPCDistortionMeasurement.h.

IMPL::LCGenericObjectImpl* tpcconddata::TPCDistortionMeasurement::_myObj
protected

Definition at line 108 of file TPCDistortionMeasurement.h.


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