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

XANAJet.h

Go to the documentation of this file.
00001 #ifndef XANAJet_h
00002 #define XANAJet_h
00003 
00008 class XANAHadCluster;
00009 
00010 #include <CLHEP/Geometry/Point3D.h>
00011 #include <TObject.h>
00012 #include <TRefArray.h>
00013 
00014 class XANAJet : public TObject {
00015 
00016 public:
00017 
00018   XANAJet();
00020   XANAJet(HepLorentzVector recJetLV, float recJetCorr); 
00021   
00022   virtual ~XANAJet();
00023 
00024   // data access methods
00025   HepLorentzVector getLorentzVector() const {return recJetLV_;}
00026   Float_t getCorrections() const {return recJetCorr_;}
00027 
00028   // access to  clusters
00029   Short_t getNumberOfClusters() const {return numberOfClusters_;} 
00030   TRefArray *getClusters() const {return clusters_;}
00031 
00032   // set methods
00033   void setLorentzVector(HepLorentzVector recJetLV){recJetLV_=recJetLV;}
00034   void setCorrections(Float_t recJetCorr){recJetCorr_=recJetCorr;}
00035     
00036   // copy constructor
00037   XANAJet(const XANAJet &right);
00038 
00039   // comparison method
00040   bool operator==(const XANAJet&) const;
00041 
00042   void addCluster(XANAHadCluster *cl);
00043 
00044   void clear();
00045 
00046 protected:
00047 
00049   HepLorentzVector recJetLV_;
00051   Float_t recJetCorr_;
00052 
00053 private:
00054       
00055   Short_t numberOfClusters_;
00056   TRefArray *clusters_;
00057 
00058   ClassDef(XANAJet,1) // jet class 
00059 
00060 };
00061 
00062 #endif
00063 
00064 
00065 
00066 
00067 
00068 
00069 

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