Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

XANAHadCluster.h

Go to the documentation of this file.
00001 #ifndef XANAHadCluster_h
00002 #define XANAHadCluster_h
00003 
00009 #include <XANADOO/XANAClusters/interface/XANACluster.h>
00010 #include <CLHEP/Geometry/Point3D.h>
00011 #include <TObject.h>
00012 #include <TClonesArray.h>
00013 #include <TRefArray.h>
00014 #include <TRef.h>
00015 #include <Rtypes.h>
00016 #include <vector>
00017 #include <string>
00018 
00019 class XANAHadCluster : public XANACluster {
00020 
00021 public:
00022 
00023   XANAHadCluster();
00025   XANAHadCluster(Float_t energy, HepPoint3D position, float emEnergyFraction,
00026    std::string algoName);
00027   XANAHadCluster(const XANAHadCluster &right);
00028   virtual ~XANAHadCluster();
00029 
00030   // data access methods
00031   std::string getAlgoName() const {return std::string(algoName_);}
00032   char *getCharAlgoName() const {return algoName_;}
00033   
00034   // set methods
00035   void setAlgoName(std::string algoName) {strcpy(algoName_,algoName.c_str());}
00036 
00037   // relationships
00038 
00039   // access to caloRecHits
00040 
00041 protected:
00042 
00044   Int_t algoLen_;
00045   char * algoName_;//[algoLen_]
00046 
00047 private:
00048 
00049   static const Int_t strLen_;
00050   float emEnergyFraction;
00051   
00052   ClassDef(XANAHadCluster,1)
00053   
00054 };
00055 
00056 #endif
00057 
00058 
00059 
00060 
00061 
00062 
00063 

Generated on Tue May 10 10:01:24 2005 for XANADOO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002