CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 36 of file L1MuTriggerPtScale.h.

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

Definition at line 38 of file L1MuTriggerPtScale.h.

References m_PtScale.

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

destructor

Definition at line 56 of file L1MuTriggerPtScale.h.

56 {};

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 64 of file L1MuTriggerPtScale.h.

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

Definition at line 64 of file L1MuTriggerPtScale.h.

Member Data Documentation

L1MuBinnedScale L1MuTriggerPtScale::m_PtScale
private

Definition at line 59 of file L1MuTriggerPtScale.h.

Referenced by L1MuTriggerPtScale().