00001 // -*- mode: c++;-*- 00002 // $Id: StCdfChargedJetEtCell.h,v 1.10 2008/05/07 22:43:59 tai Exp $ 00003 //StCdfChargedJetEtCell.h 00004 //M.L. Miller (Yale Software) 00005 //12/02 00006 #ifndef STCDFCHARGEDJETETCELL_HH 00007 #define STCDFCHARGEDJETETCELL_HH 00008 00009 #include "StEtaPhiCell.h" 00010 00011 00020 class StCdfChargedJetEtCell : public StEtaPhiCell 00021 { 00022 00023 public: 00024 00025 StCdfChargedJetEtCell(); 00026 StCdfChargedJetEtCell(const StCdfChargedJetEtCell& c); 00027 StCdfChargedJetEtCell(double etaMin, double etaMax, double phiMin, double phiMax); 00028 virtual ~StCdfChargedJetEtCell(); 00029 00030 StEtaPhiCell* clone() const; 00031 00033 double eT() const {return _leadingPt;} 00034 00036 void addProtoJet(const StProtoJet&); 00037 00039 void addCell(StEtaPhiCell* cell); 00040 00042 void clear(); 00043 00044 private: 00046 double _leadingPt; 00047 }; 00048 00049 00050 //inlines 00051 inline void StCdfChargedJetEtCell::clear() 00052 { 00053 _leadingPt = 0.0; 00054 StEtaPhiCell::clear(); 00055 } 00056 00057 #endif // STCDFCHARGEDJETETCELL_HH
1.5.9