CaloVGeometryLoader

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef CaloVGeometryLoader_h
#define CaloVGeometryLoader_h

#include "DataFormats/DetId/interface/DetId.h"
#include <memory>

class CaloSubdetectorGeometry;

/** \class CaloVGeometryLoader 

  Abstract base class for a subdetector geometry loader.
 */
class CaloVGeometryLoader {
public:
  virtual ~CaloVGeometryLoader() = default;
  /// Load the subdetector geometry for the specified det and subdet
  virtual std::unique_ptr<CaloSubdetectorGeometry> load(DetId::Detector det, int subdet) = 0;
};

#endif