CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWCaloTowerSliceSelector.h
Go to the documentation of this file.
1 #ifndef Fireworks_Calo_FWCaloTowerSliceSelector_h
2 #define Fireworks_Calo_FWCaloTowerSliceSelector_h
3 // -*- C++ -*-
4 //
5 // Package: Calo
6 // Class : FWCaloTowerSliceSelector
7 //
16 //
17 // Original Author: Alja Mrak-Tadel
18 // Created: Wed Jun 2 19:21:19 CEST 2010
19 // $Id: FWCaloTowerSliceSelector.h,v 1.3 2010/12/01 21:40:31 amraktad Exp $
20 //
21 
22 // system include files
23 
24 // user include files
25 
27 class CaloTower;
28 // forward declarations
29 class TH2F;
30 
32 {
33 public:
34  FWCaloTowerSliceSelector(TH2F* h, const FWEventItem* i);
35  virtual ~FWCaloTowerSliceSelector();
36 
37  virtual void doSelect(const TEveCaloData::CellId_t&);
38  virtual void doUnselect(const TEveCaloData::CellId_t&);
39 
40 private:
41  TH2F* m_hist;
42  bool matchCell(const TEveCaloData::CellId_t& iCell, const CaloTower& tower) const;
43 };
44 
45 #endif
virtual void doUnselect(const TEveCaloData::CellId_t &)
int i
Definition: DBlmapReader.cc:9
bool matchCell(const TEveCaloData::CellId_t &iCell, const CaloTower &tower) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
FWCaloTowerSliceSelector(TH2F *h, const FWEventItem *i)
virtual void doSelect(const TEveCaloData::CellId_t &)