Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:42

0001 #ifndef CaloTowerCreator_CaloTowerFromL1TSeededCreatorForTauHLT_h
0002 #define CaloTowerCreator_CaloTowerFromL1TSeededCreatorForTauHLT_h
0003 
0004 /** \class CaloTowerFromL1TSeededCreatorForTauHLT

0005  *

0006  * Framework module that produces a collection

0007  * of calo towers in the region of interest for Tau HLT reconstruction,

0008  * defined around L1 seeds

0009  *

0010  * \author T. Strebler. IC.   based on A. Nikitenko

0011  *

0012  */
0013 
0014 #include "FWCore/Framework/interface/global/EDProducer.h"
0015 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0016 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0017 #include "DataFormats/CaloTowers/interface/CaloTower.h"
0018 #include "DataFormats/L1Trigger/interface/Tau.h"
0019 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0020 #include <string>
0021 
0022 namespace edm {
0023   class ParameterSet;
0024 }
0025 
0026 class CaloTowerFromL1TSeededCreatorForTauHLT : public edm::global::EDProducer<> {
0027 public:
0028   /// constructor from parameter set

0029   CaloTowerFromL1TSeededCreatorForTauHLT(const edm::ParameterSet&);
0030   /// destructor

0031   ~CaloTowerFromL1TSeededCreatorForTauHLT() override;
0032   ///

0033   static void fillDescriptions(edm::ConfigurationDescriptions& desc);
0034 
0035 private:
0036   /// process one event

0037   void produce(edm::StreamID sid, edm::Event& evt, const edm::EventSetup& stp) const override;
0038 
0039   /// verbosity

0040   const int m_verbose;
0041   /// label of source collection

0042   const edm::EDGetTokenT<CaloTowerCollection> m_towers_token;
0043   /// use only towers in cone mCone around L1 candidate for regional jet reco

0044   const double m_cone;
0045   /// label of tau trigger type analysis

0046   const edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> m_tauTrigger_token;
0047   /// imitator of L1 seeds

0048   //edm::InputTag ml1seeds;

0049   /// ET threshold

0050   const double m_EtThreshold;
0051   /// E threshold

0052   const double m_EThreshold;
0053 };
0054 
0055 #endif