CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HODetIdAssociator.h
Go to the documentation of this file.
1 #ifndef TrackAssociator_HODetIdAssociator_h
2 #define TrackAssociator_HODetIdAssociator_h 1
3 // -*- C++ -*-
4 //
5 // Package: TrackAssociator
6 // Class: HODetIdAssociator
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: HODetIdAssociator.h,v 1.2 2011/04/21 10:49:56 innocent Exp $
19 //
20 //
21 
22 #include "CaloDetIdAssociator.h"
25  public:
27 
29 
30  virtual const char* name() const { return "HO"; }
31 
32  protected:
33 
34  const std::vector<DetId>& getValidDetIds(unsigned int subDectorIndex) const
35  {
36  if ( subDectorIndex!=0 ) cms::Exception("FatalError") <<
37  "HO sub-dectors are all handle as one sub-system, but subDetectorIndex is not zero.\n";
39  }
40 };
41 #endif
HODetIdAssociator(const edm::ParameterSet &pSet)
const std::vector< DetId > & getValidDetIds(unsigned int subDectorIndex) const
const CaloGeometry * geometry_
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
Definition: CaloGeometry.cc:90
virtual const char * name() const