Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:17

0001 ///
0002 /// \class l1t::Stage1Layer2FirmwareFactory
0003 ///
0004 /// Implementation:
0005 /// Demonstrates how to define the firmware interface.
0006 ///
0007 /// \author: R. Alex Barbieri MIT
0008 ///
0009 
0010 #ifndef CALOSTAGE1JETALGORITHMFACTORY_H
0011 #define CALOSTAGE1JETALGORITHMFACTORY_H
0012 
0013 #include <memory>
0014 
0015 #include "L1Trigger/L1TCalorimeter/interface/CaloParamsHelper.h"
0016 
0017 #include "FWCore/Framework/interface/Event.h"
0018 
0019 #include "L1Trigger/L1TCalorimeter/interface/Stage1Layer2MainProcessor.h"
0020 
0021 namespace l1t {
0022 
0023   class Stage1Layer2FirmwareFactory {
0024   public:
0025     typedef std::unique_ptr<Stage1Layer2MainProcessor> ReturnType;
0026 
0027     // ReturnType create(const FirmwareVersion & fwv /*,const CaloParamsHelper & dbPars*/);
0028     ReturnType create(const int fwv, CaloParamsHelper const* dbPars);
0029 
0030     // (Why not make "create" a static member function? You could...
0031     // But this way allows you to add additional customizations to the
0032     // factory not necessarily coming from the DB.)
0033   };
0034 
0035 }  // namespace l1t
0036 
0037 #endif
0038 ///
0039 /// \class l1t::
0040 ///
0041 /// Description: fictitious Yellow trigger.
0042 ///
0043 /// Implementation:
0044 /// Demonstrates how to
0045 ///
0046 /// \author: Michael Mulhearn - UC Davis
0047 ///