File indexing completed on 2024-04-06 12:11:27
0001 #ifndef Fireworks_Calo_FWHFTowerSliceSelector_h
0002 #define Fireworks_Calo_FWHFTowerSliceSelector_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 class HcalDetId;
0025 class TEveCaloDataVec;
0026
0027 #include "Fireworks/Calo/interface/FWFromSliceSelector.h"
0028
0029
0030
0031 class FWHFTowerSliceSelector : public FWFromSliceSelector {
0032 public:
0033 FWHFTowerSliceSelector(const FWEventItem* i, TEveCaloDataVec* data) : FWFromSliceSelector(i), m_vecData(data) {}
0034
0035 ~FWHFTowerSliceSelector() override {}
0036
0037 void doSelect(const TEveCaloData::CellId_t&) override;
0038 void doUnselect(const TEveCaloData::CellId_t&) override;
0039
0040 private:
0041 bool findBinFromId(HcalDetId& id, int tower) const;
0042 TEveCaloDataVec* m_vecData;
0043 };
0044
0045 #endif