|
|
Go to the documentation of this file.
16 #ifndef L1_TRACK_TRIGGER_STUB_BUILDER_H
17 #define L1_TRACK_TRIGGER_STUB_BUILDER_H
65 const std::pair<unsigned int, double>& right);
86 std::unordered_map<int, std::vector<TTStub<Ref_Phase2TrackerDigi_> > >
moduleStubs_CIC;
107 template <
typename T>
111 ForbidMultipleStubs = iConfig.
getParameter<
bool>(
"OnlyOnePerInputCluster");
113 maxStubs_2S = iConfig.
getParameter<uint32_t>(
"CBClimit");
114 maxStubs_PS = iConfig.
getParameter<uint32_t>(
"MPAlimit");
115 maxStubs_2S_CIC_5 = iConfig.
getParameter<uint32_t>(
"SS5GCIClimit");
116 maxStubs_PS_CIC_5 = iConfig.
getParameter<uint32_t>(
"PS5GCIClimit");
117 maxStubs_PS_CIC_10 = iConfig.
getParameter<uint32_t>(
"PS10GCIClimit");
118 tedd1_maxring = iConfig.
getParameter<uint32_t>(
"TEDD1Max10GRing");
119 tedd2_maxring = iConfig.
getParameter<uint32_t>(
"TEDD2Max10GRing");
120 produces<edmNew::DetSetVector<TTCluster<T> > >(
"ClusterAccepted");
121 produces<edmNew::DetSetVector<TTStub<T> > >(
"StubAccepted");
122 produces<edmNew::DetSetVector<TTStub<T> > >(
"StubRejected");
124 high_rate_max_ring[0] = tedd1_maxring;
125 high_rate_max_ring[1] = tedd1_maxring;
126 high_rate_max_ring[2] = tedd2_maxring;
127 high_rate_max_ring[3] = tedd2_maxring;
128 high_rate_max_ring[4] = tedd2_maxring;
132 template <
typename T>
136 template <
typename T>
141 moduleStubs_CIC.clear();
142 moduleStubs_MPA.clear();
143 moduleStubs_CBC.clear();
147 template <
typename T>
151 template <
typename T>
153 const std::pair<unsigned int, double>& right) {
158 template <
typename T>
std::unordered_map< int, int > moduleStubs_MPA
void endRun(const edm::Run &run, const edm::EventSetup &iSetup) override
End run.
Plugin to load the Stub finding algorithm and produce the collection of Stubs that goes in the event ...
TTStubBuilder(const edm::ParameterSet &iConfig)
Constructor.
unsigned int tedd1_maxring
void beginRun(const edm::Run &run, const edm::EventSetup &iSetup) override
Mandatory methods.
unsigned int maxStubs_PS_CIC_10
edm::EDGetTokenT< edmNew::DetSetVector< TTCluster< T > > > clustersToken
Class to store the L1 Track Trigger stubs.
double bendFE() const
BendFE(): In FULL-STRIP units from FE! Rename of getTriggerBend()
unsigned int maxStubs_PS_CIC_5
std::unordered_map< int, int > moduleStubs_CBC
std::unordered_map< int, std::vector< TTStub< Ref_Phase2TrackerDigi_ > > > moduleStubs_CIC
Temporary storage for stubs before max check.
~TTStubBuilder() override
Destructor;.
unsigned int tedd2_maxring
static bool SortStubsBend(const TTStub< T > &left, const TTStub< T > &right)
Analogous sorting routine directly from stubs.
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
unsigned int maxStubs_2S_CIC_5
T getParameter(std::string const &) const
Class to store the TTStubAlgorithm used in TTStubBuilder.
edm::ESHandle< TTStubAlgorithm< T > > theStubFindingAlgoHandle
Data members.
Abs< T >::type abs(const T &t)
unsigned int high_rate_max_ring[5]
static bool SortStubBendPairs(const std::pair< unsigned int, double > &left, const std::pair< unsigned int, double > &right)
Sort routine for stub ordering.