Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:11

0001 #ifndef __L1Analysis_L1AnalysisGCT_H__
0002 #define __L1Analysis_L1AnalysisGCT_H__
0003 
0004 //-------------------------------------------------------------------------------
0005 // Created 06/01/2010 - A.C. Le Bihan
0006 //
0007 //
0008 // Original code : L1Trigger/L1TNtuples/L1NtupleProducer
0009 //-------------------------------------------------------------------------------
0010 
0011 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h"
0012 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
0013 #include "DataFormats/Common/interface/Handle.h"
0014 
0015 #include "L1AnalysisGCTDataFormat.h"
0016 
0017 namespace L1Analysis {
0018   class L1AnalysisGCT {
0019   public:
0020     L1AnalysisGCT();
0021     L1AnalysisGCT(bool verbose);
0022     ~L1AnalysisGCT();
0023 
0024     void SetJet(const edm::Handle<L1GctJetCandCollection> l1CenJets,
0025                 const edm::Handle<L1GctJetCandCollection> l1ForJets,
0026                 const edm::Handle<L1GctJetCandCollection> l1TauJets,
0027                 const edm::Handle<L1GctJetCandCollection> l1IsoTauJets);
0028 
0029     void SetES(const edm::Handle<L1GctEtMissCollection> l1EtMiss,
0030                const edm::Handle<L1GctHtMissCollection> l1HtMiss,
0031                const edm::Handle<L1GctEtHadCollection> l1EtHad,
0032                const edm::Handle<L1GctEtTotalCollection> l1EtTotal);
0033 
0034     void SetHFminbias(const edm::Handle<L1GctHFRingEtSumsCollection> l1HFSums,
0035                       const edm::Handle<L1GctHFBitCountsCollection> l1HFCounts);
0036 
0037     void SetEm(const edm::Handle<L1GctEmCandCollection> l1IsoEm, const edm::Handle<L1GctEmCandCollection> l1NonIsoEm);
0038 
0039     void Reset() { gct_.Reset(); }
0040 
0041     L1AnalysisGCTDataFormat* getData() { return &gct_; }
0042 
0043   private:
0044     bool verbose_;
0045     L1AnalysisGCTDataFormat gct_;
0046   };
0047 }  // namespace L1Analysis
0048 #endif