1 #ifndef GridPixXrayObject_h
2 #define GridPixXrayObject_h 1
8 #include "UTIL/LCFixedObject.h"
10 #define XRAYNINTVals 2
11 #define XRAYNFLOATVals 0
12 #define XRAYNDOUBLEVals 6
16 class GridPixXrayObject;
18 class GridPixXrayObject :
public UTIL::LCFixedObject<XRAYNINTVals,XRAYNFLOATVals,XRAYNDOUBLEVals> {
26 GridPixXrayObject(EVENT::LCObject* obj) : UTIL::LCFixedObject<XRAYNINTVals,XRAYNFLOATVals,XRAYNDOUBLEVals>(obj) {}
30 if( _createdObject ) _obj =
new LCGenericObjectImpl(*(original._obj));
38 int getPixels()
const;
40 int getCharge()
const;
42 double getEnergyFromPixels()
const;
44 double getEnergyFromCharge()
const;
46 double getLikelihood()
const;
48 double getCenterX()
const;
50 double getCenterY()
const;
52 double getRotAngle()
const;
55 void setPixels(
int value );
57 void setCharge(
int value );
59 void setEnergyFromPixels(
double value );
61 void setEnergyFromCharge(
double value );
63 void setLikelihood(
double value );
65 void setCenterX(
double value );
67 void setCenterY(
double value );
69 void setRotAngle(
double value );
72 static std::string getRevision();
74 static std::string getDefaultColName();
76 void print( std::ostream& os = std::cout )
const;
78 const std::string getTypeName()
const {
79 return "GridPixXrayObject";
82 const std::string getDataDescription()
const {
83 return std::string(
"f:Pixels,Charge,Energy,Likelihood,CenterX,CenterY,RotAngle");
std::ostream & operator<<(std::ostream &os, const EFieldVector &efv)
Operator to stream the vector information to an outstream:
Definition: EFieldVector.cc:101
Definition: GridPixXrayObject.h:18