CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalDetIdAssociator.h
Go to the documentation of this file.
1 #ifndef TrackAssociator_EcalDetIdAssociator_h
2 #define TrackAssociator_EcalDetIdAssociator_h 1
3 // -*- C++ -*-
4 //
5 // Package: TrackAssociator
6 // Class: EcalDetIdAssociator
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 // $Id: EcalDetIdAssociator.h,v 1.1 2011/04/07 09:12:02 innocent Exp $
19 //
20 //
21 
22 #include "CaloDetIdAssociator.h"
25  public:
27 
29 
30  virtual const char* name() const { return "ECAL"; }
31 
32  protected:
33 
34  virtual const unsigned int getNumberOfSubdetectors() const { return 2;}
35  virtual const std::vector<DetId>& getValidDetIds(unsigned int subDetectorIndex) const {
36  if ( subDetectorIndex == 0 )
38  else
40  };
41 
42 };
43 #endif
virtual const unsigned int getNumberOfSubdetectors() const
EcalDetIdAssociator(const edm::ParameterSet &pSet)
virtual const std::vector< DetId > & getValidDetIds(unsigned int subDetectorIndex) const
virtual const char * name() const
const CaloGeometry * geometry_
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
Definition: CaloGeometry.cc:90