Main Page
Namespaces
Classes
Package Documentation
L1Trigger
CSCTriggerPrimitives
interface
CSCMuonPortCard.h
Go to the documentation of this file.
1
#ifndef L1Trigger_CSCTriggerPrimitives_CSCMuonPortCard_h
2
#define L1Trigger_CSCTriggerPrimitives_CSCMuonPortCard_h
3
4
//-----------------------------------------------------------------------------
5
//
6
// Class: CSCMuonPortCard
7
//
8
// Description:
9
// Simulates the functionality of the Muon Port Card (MPC). Each MPC
10
// is responsible for 9 Trigger Mother Boards (TMBs). It takes the up to
11
// 18 LCTs (2/TMB) in each (sub)sector every bunch crossing, sorts them,
12
// selects up to three best, and puts them into an output collection.
13
//
14
// Author List: Benn Tannenbaum 30 August 1999.
15
// Based on code by Nick Wisniewski.
16
//
17
//
18
// Modifications: Numerous later improvements by Jason Mumford and
19
// Slava Valuev (see cvs in ORCA).
20
// Porting/reworking from ORCA by L. Gray (UF), June 2006.
21
//
22
// Update for Run-II data taking by Sven Dildick (TAMU), May 2016.
23
// CSC MPC sends all 18 stubs from 9 TMBs. Stubs are no longer sorted by quality
24
// Invalid or low-quality stubs are not removed either.
25
//
26
//-----------------------------------------------------------------------------
27
28
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
29
#include "
DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigiCollection.h
"
30
#include "
DataFormats/L1CSCTrackFinder/interface/CSCTriggerContainer.h
"
31
#include "
DataFormats/L1CSCTrackFinder/interface/TrackStub.h
"
32
33
#include <vector>
34
35
class
CSCMuonPortCard
{
36
public
:
37
CSCMuonPortCard
();
38
CSCMuonPortCard
(
const
edm::ParameterSet
& conf);
39
40
typedef
CSCTriggerContainer<csctf::TrackStub>
TrackStubList
;
41
42
// Method to load the content of the digi container into a trigger
43
// container. This allows us to sort per BX more easily.
44
void
loadDigis
(
const
CSCCorrelatedLCTDigiCollection
& thedigis);
45
46
// Method to sort all Correlated LCTs generated by the TMB.
47
// Returns a vector of TrackStubs indexed by [sorting]
48
std::vector<csctf::TrackStub>
sort
(
49
const
unsigned
endcap
,
const
unsigned
station
,
const
unsigned
sector,
const
unsigned
subsector,
const
int
bx
);
50
51
// clear the stub vector
52
void
clear
() {
stubs_
.
clear
(); }
53
54
private
:
55
// vector with stubs
56
CSCTriggerContainer<csctf::TrackStub>
stubs_
;
57
58
// CSC expert options
59
bool
sort_stubs_
;
60
bool
drop_invalid_stubs_
;
61
bool
drop_low_quality_stubs_
;
62
};
63
64
#endif
TrackStub.h
CSCMuonPortCard::CSCMuonPortCard
CSCMuonPortCard()
Definition:
CSCMuonPortCard.cc:5
CSCMuonPortCard
Definition:
CSCMuonPortCard.h:35
l1GtPatternGenerator_cfi.bx
bx
Definition:
l1GtPatternGenerator_cfi.py:18
CSCMuonPortCard::clear
void clear()
Definition:
CSCMuonPortCard.h:52
CSCTriggerContainer::clear
void clear()
Definition:
CSCTriggerContainer.h:57
ParameterSet.h
CSCMuonPortCard::loadDigis
void loadDigis(const CSCCorrelatedLCTDigiCollection &thedigis)
Definition:
CSCMuonPortCard.cc:14
CSCCorrelatedLCTDigiCollection
CSCMuonPortCard::drop_low_quality_stubs_
bool drop_low_quality_stubs_
Definition:
CSCMuonPortCard.h:61
CSCMuonPortCard::drop_invalid_stubs_
bool drop_invalid_stubs_
Definition:
CSCMuonPortCard.h:60
CSCTriggerContainer.h
CSCMuonPortCard::sort_stubs_
bool sort_stubs_
Definition:
CSCMuonPortCard.h:59
CSCCorrelatedLCTDigiCollection.h
CSCMuonPortCard::TrackStubList
CSCTriggerContainer< csctf::TrackStub > TrackStubList
Definition:
CSCMuonPortCard.h:40
CSCTriggerContainer< csctf::TrackStub >
makeMuonMisalignmentScenario.endcap
endcap
Definition:
makeMuonMisalignmentScenario.py:320
CSCMuonPortCard::stubs_
CSCTriggerContainer< csctf::TrackStub > stubs_
Definition:
CSCMuonPortCard.h:56
CSCMuonPortCard::sort
std::vector< csctf::TrackStub > sort(const unsigned endcap, const unsigned station, const unsigned sector, const unsigned subsector, const int bx)
Definition:
CSCMuonPortCard.cc:32
edm::ParameterSet
Definition:
ParameterSet.h:36
relativeConstraints.station
station
Definition:
relativeConstraints.py:67
Generated for CMSSW Reference Manual by
1.8.11