CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWHistSliceSelector.h
Go to the documentation of this file.
1 #ifndef Fireworks_Calo_FWHistSliceSelector_h
2 #define Fireworks_Calo_FWHistSliceSelector_h
3 
5 class TH2F;
6 
8 {
9 public:
10  FWHistSliceSelector(TH2F* h, const FWEventItem* item);
11  virtual ~FWHistSliceSelector();
12 
13  virtual void doSelect(const TEveCaloData::CellId_t&);
14  virtual void doUnselect(const TEveCaloData::CellId_t&);
15 
16  virtual bool aggregatePhiCells() const { return true; }
17 
18 protected:
19  virtual void getItemEntryEtaPhi(int itemIdx, float& eta, float& phi) const = 0;
20  bool matchCell(const TEveCaloData::CellId_t& iCell, int idx) const;
21 
22  TH2F* m_hist;
23 };
24 
25 
26 #endif
bool matchCell(const TEveCaloData::CellId_t &iCell, int idx) const
virtual void doSelect(const TEveCaloData::CellId_t &)
virtual void getItemEntryEtaPhi(int itemIdx, float &eta, float &phi) const =0
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
FWHistSliceSelector(TH2F *h, const FWEventItem *item)
virtual bool aggregatePhiCells() const
virtual void doUnselect(const TEveCaloData::CellId_t &)