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 );
76 template<
typename T >
82 produces< edmNew::DetSetVector< TTCluster< T > > >(
"ClusterAccepted" );
83 produces< edmNew::DetSetVector< TTStub< T > > >(
"StubAccepted" );
84 produces< edmNew::DetSetVector< TTStub< T > > >(
"StubRejected" );
88 template<
typename T >
92 template<
typename T >
100 template<
typename T >
104 template<
typename T >
107 return fabs(left.second) < fabs(right.second);
111 template<
typename T >
T getParameter(std::string const &) const
edm::EDGetTokenT< edmNew::DetSetVector< TTCluster< T > > > clustersToken
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
~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.
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.
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.