16 #ifndef L1_TRACK_TRIGGER_STUB_BUILDER_H 17 #define L1_TRACK_TRIGGER_STUB_BUILDER_H 42 template<
typename T >
65 static bool SortStubBendPairs(
const std::pair< unsigned int, double >& left,
const std::pair< unsigned int, double >& right );
86 std::unordered_map< int, std::vector< TTStub< Ref_Phase2TrackerDigi_ > > >
moduleStubs_CIC;
109 template<
typename T >
123 produces< edmNew::DetSetVector< TTCluster< T > > >(
"ClusterAccepted" );
124 produces< edmNew::DetSetVector< TTStub< T > > >(
"StubAccepted" );
125 produces< edmNew::DetSetVector< TTStub< T > > >(
"StubRejected" );
135 template<
typename T >
139 template<
typename T >
151 template<
typename T >
155 template<
typename T >
158 return fabs(left.second) < fabs(right.second);
162 template<
typename T >
T getParameter(std::string const &) const
edm::EDGetTokenT< edmNew::DetSetVector< TTCluster< T > > > clustersToken
unsigned int maxStubs_PS_CIC_10
std::unordered_map< int, int > moduleStubs_MPA
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
unsigned int high_rate_max_ring[5]
~TTStubBuilder() override
Destructor;.
static bool SortStubBendPairs(const std::pair< unsigned int, double > &left, const std::pair< unsigned int, double > &right)
Sort routine for stub ordering.
static bool SortStubsBend(const TTStub< T > &left, const TTStub< T > &right)
Analogous sorting routine directly from stubs.
unsigned int maxStubs_2S_CIC_5
std::unordered_map< int, int > moduleStubs_CBC
unsigned int tedd2_maxring
std::unordered_map< int, std::vector< TTStub< Ref_Phase2TrackerDigi_ > > > moduleStubs_CIC
Temporary storage for stubs before max check.
double getTriggerBend() const
In FULL-STRIP units!
Class to store the TTStubAlgorithm used in TTStubBuilder.
Class to store the L1 Track Trigger stubs.
TTStubBuilder(const edm::ParameterSet &iConfig)
Constructor.
unsigned int maxStubs_PS_CIC_5
unsigned int tedd1_maxring
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 ...
edm::ESHandle< TTStubAlgorithm< T > > theStubFindingAlgoHandle
Data members.
void beginRun(const edm::Run &run, const edm::EventSetup &iSetup) override
Mandatory methods.