CMS 3D CMS Logo

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

#include <L1MuTriggerPtScale.h>

Public Member Functions

const L1MuScalegetPtScale () const
 get the Pt scale More...
 
 L1MuTriggerPtScale ()
 constructor More...
 
 L1MuTriggerPtScale (int nbitPackingPt, bool signedPackingPt, int nbinsPt, const std::vector< double > &scalePt)
 
virtual ~L1MuTriggerPtScale ()
 destructor More...
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

L1MuBinnedScale m_PtScale
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Description: Class that creates all scales used to pass data from the regional muon triggers to the Global Muon Trigger and from the latter to the Global Trigger

Definition at line 33 of file L1MuTriggerPtScale.h.

Constructor & Destructor Documentation

L1MuTriggerPtScale::L1MuTriggerPtScale ( )
inline

constructor

Definition at line 37 of file L1MuTriggerPtScale.h.

37 {}
L1MuTriggerPtScale::L1MuTriggerPtScale ( int  nbitPackingPt,
bool  signedPackingPt,
int  nbinsPt,
const std::vector< double > &  scalePt 
)
inline

Definition at line 39 of file L1MuTriggerPtScale.h.

References m_PtScale.

43  {
44 
45  //
46  // Pt Scale. Common to all Regioanl Muon Triggers and GMT
47  //
48 
49  // pt scale in GeV
50  // low edges of pt bins
51 /* const float ptscale[33] = { */
52 /* -1., 0.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, */
53 /* 4.5, 5.0, 6.0, 7.0, 8.0, 10.0, 12.0, 14.0, */
54 /* 16.0, 18.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, */
55 /* 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 120.0, 140.0, 1.E6 }; */
56 
57  // m_PtScale = L1MuBinnedScale ( 5, false, 32, ptscale) ;
58  m_PtScale = L1MuBinnedScale ( nbitPackingPt,
59  signedPackingPt,
60  nbinsPt,
61  scalePt ) ;
62 
63  };
L1MuBinnedScale m_PtScale
virtual L1MuTriggerPtScale::~L1MuTriggerPtScale ( )
inlinevirtual

destructor

Definition at line 67 of file L1MuTriggerPtScale.h.

67  {
68  };

Member Function Documentation

const L1MuScale* L1MuTriggerPtScale::getPtScale ( ) const
inline
template<class Archive >
void L1MuTriggerPtScale::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 77 of file L1MuTriggerPtScale.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 77 of file L1MuTriggerPtScale.h.

Member Data Documentation

L1MuBinnedScale L1MuTriggerPtScale::m_PtScale
private

Definition at line 71 of file L1MuTriggerPtScale.h.

Referenced by L1MuTriggerPtScale().