CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DataFormats/L1Trigger/src/L1MuonParticle.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     L1Trigger
00004 // Class  :     L1MuonParticle
00005 // 
00008 //
00009 // Original Author:  Werner Sun
00010 //         Created:  Tue Jul 25 17:51:21 EDT 2006
00011 // $Id: L1MuonParticle.cc,v 1.9 2008/04/03 03:37:21 wsun Exp $
00012 //
00013 
00014 // system include files
00015 
00016 // user include files
00017 #include "DataFormats/L1Trigger/interface/L1MuonParticle.h"
00018 
00019 using namespace l1extra ;
00020 
00021 //
00022 // constants, enums and typedefs
00023 //
00024 
00025 //
00026 // static data member definitions
00027 //
00028 
00029 //
00030 // constructors and destructor
00031 //
00032 L1MuonParticle::L1MuonParticle()
00033 {
00034 }
00035 
00036 L1MuonParticle::L1MuonParticle(
00037    Charge q,
00038    const LorentzVector& p4,
00039    const L1MuGMTExtendedCand& aCand,
00040    int bx )
00041   : LeafCandidate( q, p4 ),
00042     cand_( aCand ),
00043     bx_( bx )
00044 {
00045    isolated_ = cand_.isol() ;
00046    mip_ = cand_.mip() ;
00047    forward_ = cand_.isFwd() ;
00048    rpc_ = cand_.isRPC() ;
00049 }
00050 
00051 L1MuonParticle::L1MuonParticle(
00052    Charge q,
00053    const PolarLorentzVector& p4,
00054    const L1MuGMTExtendedCand& aCand,
00055    int bx )
00056   : LeafCandidate( q, p4 ),
00057     cand_( aCand ),
00058     bx_( bx )
00059 {
00060    isolated_ = cand_.isol() ;
00061    mip_ = cand_.mip() ;
00062    forward_ = cand_.isFwd() ;
00063    rpc_ = cand_.isRPC() ;
00064 }
00065 
00066 L1MuonParticle::L1MuonParticle( Charge q,
00067                                 const LorentzVector& p4,
00068                                 bool isolated,
00069                                 bool mip,
00070                                 bool forward,
00071                                 bool rpc,
00072                                 unsigned int detector,
00073                                 int bx )
00074    : LeafCandidate( q, p4 ),
00075      isolated_( isolated ),
00076      mip_( mip ),
00077      forward_( forward ),
00078      rpc_( rpc ),
00079      cand_( L1MuGMTExtendedCand() ),
00080      bx_( bx )
00081 {
00082 }
00083 
00084 L1MuonParticle::L1MuonParticle( Charge q,
00085                                 const PolarLorentzVector& p4,
00086                                 bool isolated,
00087                                 bool mip,
00088                                 bool forward,
00089                                 bool rpc,
00090                                 unsigned int detector,
00091                                 int bx )
00092    : LeafCandidate( q, p4 ),
00093      isolated_( isolated ),
00094      mip_( mip ),
00095      forward_( forward ),
00096      rpc_( rpc ),
00097      cand_( L1MuGMTExtendedCand() ),
00098      bx_( bx )
00099 {
00100 }
00101 
00102 // L1MuonParticle::L1MuonParticle(const L1MuonParticle& rhs)
00103 // {
00104 //    // do actual copying here;
00105 // }
00106 
00107 // L1MuonParticle::~L1MuonParticle()
00108 // {
00109 // }
00110 
00111 //
00112 // assignment operators
00113 //
00114 // const L1MuonParticle& L1MuonParticle::operator=(const L1MuonParticle& rhs)
00115 // {
00116 //   //An exception safe implementation is
00117 //   L1MuonParticle temp(rhs);
00118 //   swap(rhs);
00119 //
00120 //   return *this;
00121 // }
00122 
00123 //
00124 // member functions
00125 //
00126 
00127 //
00128 // const member functions
00129 //
00130 
00131 //
00132 // static member functions
00133 //