Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:39

0001 // -*- C++ -*-
0002 //
0003 // Package:     L1Trigger
0004 // Class  :     L1EtMissParticle
0005 //
0006 /**\class L1EtMissParticle \file L1EtMissParticle.cc DataFormats/L1Trigger/src/L1EtMissParticle.cc \author Werner Sun
0007 */
0008 //
0009 // Original Author:  Werner Sun
0010 //         Created:  Tue Jul 25 18:22:52 EDT 2006
0011 //
0012 
0013 // system include files
0014 
0015 // user include files
0016 #include "DataFormats/L1Trigger/interface/L1EtMissParticle.h"
0017 
0018 using namespace l1extra;
0019 
0020 //
0021 // constants, enums and typedefs
0022 //
0023 
0024 //
0025 // static data member definitions
0026 //
0027 
0028 //
0029 // constructors and destructor
0030 //
0031 L1EtMissParticle::L1EtMissParticle() {}
0032 
0033 L1EtMissParticle::L1EtMissParticle(const LorentzVector& p4,
0034                                    EtMissType type,
0035                                    const double& etTotal,
0036                                    const edm::Ref<L1GctEtMissCollection>& aEtMissRef,
0037                                    const edm::Ref<L1GctEtTotalCollection>& aEtTotalRef,
0038                                    const edm::Ref<L1GctHtMissCollection>& aHtMissRef,
0039                                    const edm::Ref<L1GctEtHadCollection>& aEtHadRef,
0040                                    int bx)
0041     : LeafCandidate((char)0, p4),
0042       type_(type),
0043       etTot_(etTotal),
0044       etMissRef_(aEtMissRef),
0045       etTotRef_(aEtTotalRef),
0046       htMissRef_(aHtMissRef),
0047       etHadRef_(aEtHadRef),
0048       bx_(bx) {}
0049 
0050 L1EtMissParticle::L1EtMissParticle(const PolarLorentzVector& p4,
0051                                    EtMissType type,
0052                                    const double& etTotal,
0053                                    const edm::Ref<L1GctEtMissCollection>& aEtMissRef,
0054                                    const edm::Ref<L1GctEtTotalCollection>& aEtTotalRef,
0055                                    const edm::Ref<L1GctHtMissCollection>& aHtMissRef,
0056                                    const edm::Ref<L1GctEtHadCollection>& aEtHadRef,
0057                                    int bx)
0058     : LeafCandidate((char)0, p4),
0059       type_(type),
0060       etTot_(etTotal),
0061       etMissRef_(aEtMissRef),
0062       etTotRef_(aEtTotalRef),
0063       htMissRef_(aHtMissRef),
0064       etHadRef_(aEtHadRef),
0065       bx_(bx) {}
0066 
0067 // L1EtMissParticle::L1EtMissParticle(const L1EtMissParticle& rhs)
0068 // {
0069 //    // do actual copying here;
0070 // }
0071 
0072 // L1EtMissParticle::~L1EtMissParticle()
0073 // {
0074 // }
0075 
0076 //
0077 // assignment operators
0078 //
0079 // const L1EtMissParticle& L1EtMissParticle::operator=(const L1EtMissParticle& rhs)
0080 // {
0081 //   //An exception safe implementation is
0082 //   L1EtMissParticle temp(rhs);
0083 //   swap(rhs);
0084 //
0085 //   return *this;
0086 // }
0087 
0088 //
0089 // member functions
0090 //
0091 
0092 //
0093 // const member functions
0094 //
0095 
0096 //
0097 // static member functions
0098 //