CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Attributes
l1t::L1TGlobalScales Class Reference

#include <L1TGlobalScales.h>

Classes

class  cc
 
struct  ScaleParameters
 typedef for a single object template More...
 

Public Member Functions

virtual std::string getScalesName () const
 
 L1TGlobalScales ()
 
virtual void print (std::ostream &myCout) const
 
virtual void printScale (ScaleParameters scale, std::ostream &myCout) const
 
void setEGScales (ScaleParameters &scales)
 
void setETMScales (ScaleParameters &scales)
 
void setETTScales (ScaleParameters &scales)
 
void setHTMScales (ScaleParameters &scales)
 
void setHTTScales (ScaleParameters &scales)
 
void setJetScales (ScaleParameters &scales)
 
void setMuonScales (ScaleParameters &scales)
 
void setScalesName (std::string name)
 
void setTauScales (ScaleParameters &scales)
 
virtual ~L1TGlobalScales ()
 

Private Attributes

ScaleParameters m_egScales
 
ScaleParameters m_etmScales
 
ScaleParameters m_ettScales
 
ScaleParameters m_htmScales
 
ScaleParameters m_httScales
 
ScaleParameters m_jetScales
 
ScaleParameters m_muScales
 
std::string m_ScaleSetName
 
ScaleParameters m_tauScales
 

Detailed Description

Definition at line 24 of file L1TGlobalScales.h.

Constructor & Destructor Documentation

L1TGlobalScales::L1TGlobalScales ( )

Definition at line 25 of file L1TGlobalScales.cc.

26 {
27 
28 
29 }
L1TGlobalScales::~L1TGlobalScales ( )
virtual

Definition at line 32 of file L1TGlobalScales.cc.

32  {
33 
34 }

Member Function Documentation

std::string L1TGlobalScales::getScalesName ( ) const
virtual

Definition at line 36 of file L1TGlobalScales.cc.

Referenced by l1t::GtBoard::runGTL().

36 { return m_ScaleSetName;}
std::string m_ScaleSetName
void L1TGlobalScales::print ( std::ostream &  myCout) const
virtual

Definition at line 38 of file L1TGlobalScales.cc.

39 {
40 
41  myCout << "\n ************* L1T Global Scales ************" << std::endl;
42 
43 
44  myCout << " Muon Scales: " << std::endl;
45  printScale(m_muScales,myCout);
46 
47  myCout << " EG Scales: "<< std::endl;
48  printScale(m_egScales,myCout);
49 
50  myCout << " Tau Scales: "<< std::endl;
51  printScale(m_tauScales,myCout);
52 
53  myCout << " Jet Scales: "<< std::endl;
54  printScale(m_jetScales,myCout);
55 
56 
57  myCout << " HTT Scales: "<< std::endl;
58  printScale(m_httScales,myCout);
59 
60  myCout << " ETT Scales: "<< std::endl;
61  printScale(m_ettScales,myCout);
62 
63  myCout << " HTM Scales: "<< std::endl;
64  printScale(m_htmScales,myCout);
65 
66  myCout << " ETM Scales: "<< std::endl;
67  printScale(m_etmScales,myCout);
68 
69 }
virtual void printScale(ScaleParameters scale, std::ostream &myCout) const
ScaleParameters m_ettScales
ScaleParameters m_egScales
ScaleParameters m_httScales
ScaleParameters m_tauScales
ScaleParameters m_htmScales
ScaleParameters m_etmScales
ScaleParameters m_muScales
ScaleParameters m_jetScales
void L1TGlobalScales::printScale ( ScaleParameters  scale,
std::ostream &  myCout 
) const
virtual

Definition at line 70 of file L1TGlobalScales.cc.

References l1t::L1TGlobalScales::ScaleParameters::etaMax, l1t::L1TGlobalScales::ScaleParameters::etaMin, l1t::L1TGlobalScales::ScaleParameters::etaStep, l1t::L1TGlobalScales::ScaleParameters::etMax, l1t::L1TGlobalScales::ScaleParameters::etMin, l1t::L1TGlobalScales::ScaleParameters::etStep, l1t::L1TGlobalScales::ScaleParameters::phiMax, l1t::L1TGlobalScales::ScaleParameters::phiMin, and l1t::L1TGlobalScales::ScaleParameters::phiStep.

71 {
72 
73  myCout << " Pt Min = " << std::setw(10) << scale.etMin
74  << " Pt Max = " << std::setw(10) << scale.etMax
75  << " Pt Step = " << std::setw(10) << scale.etStep
76  << "\n Phi Min = " << std::setw(10) << scale.phiMin
77  << " Phi Max = " << std::setw(10) << scale.phiMax
78  << " Phi Step = " << std::setw(10) << scale.phiStep
79  << "\n Eta Min = " << std::setw(10) << scale.etaMin
80  << " Eta Max = " << std::setw(10) << scale.etaMax
81  << " Eta Step = " << std::setw(10) << scale.etaStep
82  << std::endl;
83 
84 }
void l1t::L1TGlobalScales::setEGScales ( ScaleParameters scales)
inline

Definition at line 57 of file L1TGlobalScales.h.

References m_egScales.

57 { m_egScales = scales; }
ScaleParameters m_egScales
void l1t::L1TGlobalScales::setETMScales ( ScaleParameters scales)
inline

Definition at line 65 of file L1TGlobalScales.h.

References m_etmScales.

65 { m_etmScales = scales; }
ScaleParameters m_etmScales
void l1t::L1TGlobalScales::setETTScales ( ScaleParameters scales)
inline

Definition at line 63 of file L1TGlobalScales.h.

References m_ettScales.

63 { m_ettScales = scales; }
ScaleParameters m_ettScales
void l1t::L1TGlobalScales::setHTMScales ( ScaleParameters scales)
inline

Definition at line 66 of file L1TGlobalScales.h.

References m_htmScales.

66 { m_htmScales = scales; }
ScaleParameters m_htmScales
void l1t::L1TGlobalScales::setHTTScales ( ScaleParameters scales)
inline

Definition at line 64 of file L1TGlobalScales.h.

References m_httScales.

64 { m_httScales = scales; }
ScaleParameters m_httScales
void l1t::L1TGlobalScales::setJetScales ( ScaleParameters scales)
inline

Definition at line 61 of file L1TGlobalScales.h.

References m_jetScales.

61 { m_jetScales = scales; }
ScaleParameters m_jetScales
void l1t::L1TGlobalScales::setMuonScales ( ScaleParameters scales)
inline

Definition at line 59 of file L1TGlobalScales.h.

References m_muScales.

59 { m_muScales = scales; }
ScaleParameters m_muScales
void l1t::L1TGlobalScales::setScalesName ( std::string  name)
inline
void l1t::L1TGlobalScales::setTauScales ( ScaleParameters scales)
inline

Definition at line 58 of file L1TGlobalScales.h.

References m_tauScales.

58 { m_tauScales = scales; }
ScaleParameters m_tauScales

Member Data Documentation

ScaleParameters l1t::L1TGlobalScales::m_egScales
private

Definition at line 82 of file L1TGlobalScales.h.

Referenced by setEGScales().

ScaleParameters l1t::L1TGlobalScales::m_etmScales
private

Definition at line 90 of file L1TGlobalScales.h.

Referenced by setETMScales().

ScaleParameters l1t::L1TGlobalScales::m_ettScales
private

Definition at line 88 of file L1TGlobalScales.h.

Referenced by setETTScales().

ScaleParameters l1t::L1TGlobalScales::m_htmScales
private

Definition at line 91 of file L1TGlobalScales.h.

Referenced by setHTMScales().

ScaleParameters l1t::L1TGlobalScales::m_httScales
private

Definition at line 89 of file L1TGlobalScales.h.

Referenced by setHTTScales().

ScaleParameters l1t::L1TGlobalScales::m_jetScales
private

Definition at line 86 of file L1TGlobalScales.h.

Referenced by setJetScales().

ScaleParameters l1t::L1TGlobalScales::m_muScales
private

Definition at line 84 of file L1TGlobalScales.h.

Referenced by setMuonScales().

std::string l1t::L1TGlobalScales::m_ScaleSetName
private

Definition at line 80 of file L1TGlobalScales.h.

Referenced by setScalesName().

ScaleParameters l1t::L1TGlobalScales::m_tauScales
private

Definition at line 83 of file L1TGlobalScales.h.

Referenced by setTauScales().