File indexing completed on 2024-04-06 12:04:39
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "DataFormats/L1Trigger/interface/L1MuonParticle.h"
0017
0018 using namespace l1extra;
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 L1MuonParticle::L1MuonParticle() {}
0032
0033 L1MuonParticle::L1MuonParticle(Charge q, const LorentzVector& p4, const L1MuGMTExtendedCand& aCand, int bx)
0034 : LeafCandidate(q, p4), cand_(aCand), bx_(bx) {
0035 isolated_ = cand_.isol();
0036 mip_ = cand_.mip();
0037 forward_ = cand_.isFwd();
0038 rpc_ = cand_.isRPC();
0039 }
0040
0041 L1MuonParticle::L1MuonParticle(Charge q, const PolarLorentzVector& p4, const L1MuGMTExtendedCand& aCand, int bx)
0042 : LeafCandidate(q, p4), cand_(aCand), bx_(bx) {
0043 isolated_ = cand_.isol();
0044 mip_ = cand_.mip();
0045 forward_ = cand_.isFwd();
0046 rpc_ = cand_.isRPC();
0047 }
0048
0049 L1MuonParticle::L1MuonParticle(
0050 Charge q, const LorentzVector& p4, bool isolated, bool mip, bool forward, bool rpc, unsigned int detector, int bx)
0051 : LeafCandidate(q, p4),
0052 isolated_(isolated),
0053 mip_(mip),
0054 forward_(forward),
0055 rpc_(rpc),
0056 cand_(L1MuGMTExtendedCand()),
0057 bx_(bx) {}
0058
0059 L1MuonParticle::L1MuonParticle(Charge q,
0060 const PolarLorentzVector& p4,
0061 bool isolated,
0062 bool mip,
0063 bool forward,
0064 bool rpc,
0065 unsigned int detector,
0066 int bx)
0067 : LeafCandidate(q, p4),
0068 isolated_(isolated),
0069 mip_(mip),
0070 forward_(forward),
0071 rpc_(rpc),
0072 cand_(L1MuGMTExtendedCand()),
0073 bx_(bx) {}
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106