test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
23 {
25  {
26  public:
30 
31  // setup scales
32  void setEcalScale(const L1CaloEcalScale* ecalScale) {
33  edm::LogInfo("L1NTUPLE") << "Setting ECAL TP scale " << ecalScale << std::endl;
34  ecalScale_ = ecalScale;
35  }
36 
37  void setHcalScale(const L1CaloHcalScale* hcalScale) {
38  edm::LogInfo("L1NTUPLE") << "Setting HCAL TP scale " << hcalScale << std::endl;
39  hcalScale_ = hcalScale;
40  }
41 
42 
43  void SetHCAL(const HcalTrigPrimDigiCollection& hcalTPs);
44 
45  void SetECAL(const EcalTrigPrimDigiCollection& ecalTPs);
46 
47  void Reset() {tp_.Reset();}
48 
50 
51  private :
52  bool verbose_;
54 
57 
58  };
59 }
60 #endif
void SetHCAL(const HcalTrigPrimDigiCollection &hcalTPs)
L1AnalysisCaloTPDataFormat tp_
const L1CaloHcalScale * hcalScale_
void setHcalScale(const L1CaloHcalScale *hcalScale)
const L1CaloEcalScale * ecalScale_
L1AnalysisCaloTPDataFormat * getData()
void setEcalScale(const L1CaloEcalScale *ecalScale)
void SetECAL(const EcalTrigPrimDigiCollection &ecalTPs)