TMBL3CFTVtx.hpp

Go to the documentation of this file.
00001 
00002 //
00003 //   Purpose: This is the header file that defines a class to help fill the 
00004 //            tuple correctly with TMBL3 CFT vertices.  
00005 //
00006 //   Author: Yann Coadou
00007 //   Date:   28-Mar-2004
00008 //
00010 
00011 #ifndef TMBL3CFTVTX_H_
00012 #define TMBL3CFTVTX_H_
00013 
00014 #include "TObject.h"
00015 #include <string>
00016 
00021 class TMBL3CFTVtx : public TObject {
00022 public:
00023   TMBL3CFTVtx(); //constructor
00024   TMBL3CFTVtx(const TMBL3CFTVtx&); //copy constructor
00025   
00026   ~TMBL3CFTVtx() {;} //destructor
00027   
00028   // setters
00029   void X(float xx) {x = xx;}
00030   void Y(float xx) {y = xx;}
00031   void Z(float xx) {z = xx;}
00032   void ErrX(float xx) {errx = xx;}
00033   void ErrY(float xx) {erry = xx;}
00034   void ErrZ(float xx) {errz = xx;}
00035   void Weight(float xx) {weight = xx;}
00036   void Primary(bool xx) {primary = xx;}
00037   void ToolName(const std::string &x) {toolname = x;}
00038 
00039   // accessors
00040   float X() const {return x;}
00041   float Y() const {return y;}
00042   float Z() const {return z;}
00043   float ErrX() const {return errx;}
00044   float ErrY() const {return erry;}
00045   float ErrZ() const {return errz;}
00046   float Weight() const {return weight;}
00047   bool Primary() const {return primary;}
00048   std::string ToolName() const {return toolname;}
00049 
00050 private:
00051   float x;
00052   float y;
00053   float z;
00054   float errx;
00055   float erry;
00056   float errz;
00057   float weight;
00058   bool primary;
00059   std::string toolname;
00060 
00061   ClassDef(TMBL3CFTVtx,1)
00062 
00063 }; //end of class TMBL3CFTVtx
00064 #endif // TMBL3CFTVTX_H_

Generated on Thu Apr 3 04:14:24 2008 for CAF by doxygen 1.3.4