CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1AnalysisCaloTP.h
Go to the documentation of this file.
1 #ifndef __L1Analysis_L1AnalysisCaloTP_H__
2 #define __L1Analysis_L1AnalysisCaloTP_H__
3 
4 //-------------------------------------------------------------------------------
5 // Created 06/01/2010 - A.C. Le Bihan
6 //
7 //
8 // Original code : L1Trigger/L1TNtuples/L1NtupleProducer
9 //-------------------------------------------------------------------------------
10 
14 
16 
18 
19 class L1CaloEcalScale;
20 class L1CaloHcalScale;
21 
22 namespace L1Analysis {
24  public:
28 
29  // setup scales
30  void setEcalScale(const L1CaloEcalScale* ecalScale) {
31  edm::LogInfo("L1NTUPLE") << "Setting ECAL TP scale " << ecalScale << std::endl;
32  ecalScale_ = ecalScale;
33  }
34 
35  void setHcalScale(const L1CaloHcalScale* hcalScale) {
36  edm::LogInfo("L1NTUPLE") << "Setting HCAL TP scale " << hcalScale << std::endl;
37  hcalScale_ = hcalScale;
38  }
39 
40  void SetHCAL(const HcalTrigPrimDigiCollection& hcalTPs);
41 
42  void SetECAL(const EcalTrigPrimDigiCollection& ecalTPs);
43 
44  void Reset() { tp_.Reset(); }
45 
47 
48  private:
49  bool verbose_;
51 
54  };
55 } // namespace L1Analysis
56 #endif
void SetHCAL(const HcalTrigPrimDigiCollection &hcalTPs)
L1AnalysisCaloTPDataFormat tp_
const L1CaloHcalScale * hcalScale_
void setHcalScale(const L1CaloHcalScale *hcalScale)
static constexpr int verbose
const L1CaloEcalScale * ecalScale_
L1AnalysisCaloTPDataFormat * getData()
Log< level::Info, false > LogInfo
void setEcalScale(const L1CaloEcalScale *ecalScale)
void SetECAL(const EcalTrigPrimDigiCollection &ecalTPs)