Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:26:32

0001 #ifndef TrackingTools_TrackAssociator_PreshowerDetIdAssociatorMaker_h
0002 #define TrackingTools_TrackAssociator_PreshowerDetIdAssociatorMaker_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     TrackingTools/TrackAssociator
0006 // Class  :     PreshowerDetIdAssociatorMaker
0007 //
0008 /**\class PreshowerDetIdAssociatorMaker PreshowerDetIdAssociatorMaker.h "PreshowerDetIdAssociatorMaker.h"
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Christopher Jones
0018 //         Created:  Thu, 30 May 2019 16:18:21 GMT
0019 //
0020 
0021 // system include files
0022 
0023 // user include files
0024 #include "CaloDetIdAssociatorMaker.h"
0025 #include "PreshowerDetIdAssociator.h"
0026 
0027 // forward declarations
0028 
0029 class PreshowerDetIdAssociatorMaker : public CaloDetIdAssociatorMaker {
0030 public:
0031   using CaloDetIdAssociatorMaker::CaloDetIdAssociatorMaker;
0032 
0033 private:
0034   std::unique_ptr<DetIdAssociator> make(CaloGeometry const& geom, int nPhi, int nEta, double etaBinSize) const final {
0035     return std::unique_ptr<DetIdAssociator>(new PreshowerDetIdAssociator(nPhi, nEta, etaBinSize, &geom));
0036   }
0037 };
0038 
0039 #endif