StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StCdfChargedJetEtCell.h
1 // -*- mode: c++;-*-
2 // $Id: StCdfChargedJetEtCell.h,v 1.10 2008/05/07 22:43:59 tai Exp $
3 //StCdfChargedJetEtCell.h
4 //M.L. Miller (Yale Software)
5 //12/02
6 #ifndef STCDFCHARGEDJETETCELL_HH
7 #define STCDFCHARGEDJETETCELL_HH
8 
9 #include "StEtaPhiCell.h"
10 
11 
21 {
22 
23 public:
24 
27  StCdfChargedJetEtCell(double etaMin, double etaMax, double phiMin, double phiMax);
28  virtual ~StCdfChargedJetEtCell();
29 
30  StEtaPhiCell* clone() const;
31 
33  double eT() const {return _leadingPt;}
34 
36  void addProtoJet(const StProtoJet&);
37 
39  void addCell(StEtaPhiCell* cell);
40 
42  void clear();
43 
44 private:
46  double _leadingPt;
47 };
48 
49 
50 //inlines
52 {
53  _leadingPt = 0.0;
54  StEtaPhiCell::clear();
55 }
56 
57 #endif // STCDFCHARGEDJETETCELL_HH
void addCell(StEtaPhiCell *cell)
Add another cell to this one.
void addProtoJet(const StProtoJet &)
Add a protojet to the cell.
void clear()
internal reset for next pass at jet-finding
double eT() const
order cells by lcp-pt instead of overall et