CMS 3D CMS Logo

HcalDetIdAssociator.h
Go to the documentation of this file.
1 #ifndef TrackAssociator_HcalDetIdAssociator_h
2 #define TrackAssociator_HcalDetIdAssociator_h 1
3 // -*- C++ -*-
4 //
5 // Package: TrackAssociator
6 // Class: HcalDetIdAssociator
7 //
8 /*
9 
10  Description: <one line class summary>
11 
12  Implementation:
13  <Notes on implementation>
14 */
15 //
16 // Original Author: Dmytro Kovalskyi
17 // Created: Fri Apr 21 10:59:41 PDT 2006
18 //
19 //
20 
21 #include "CaloDetIdAssociator.h"
24  public:
26 
28  ,hcalReg_(pSet.getParameter<int> ("hcalRegion"))
29  {};
30 
31  const char* name() const override { return "HCAL"; }
32 
33  protected:
34 
35  int hcalReg_;
36  const unsigned int getNumberOfSubdetectors() const override { return hcalReg_;}
37  void getValidDetIds(unsigned int subDetectorIndex, std::vector<DetId>& validIds) const override {
38  if ( subDetectorIndex == 0 )
40  else
42  };
43 };
44 #endif
const unsigned int getNumberOfSubdetectors() const override
void getValidDetIds(unsigned int subDetectorIndex, std::vector< DetId > &validIds) const override
const char * name() const override
const CaloGeometry * geometry_
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
HcalDetIdAssociator(const edm::ParameterSet &pSet)