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
~TTStubBuilder()
Destructor;.
virtual void beginRun(const edm::Run &run, const edm::EventSetup &iSetup)
Mandatory methods.
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.
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
Class to store the L1 Track Trigger stubs.
TTStubBuilder(const edm::ParameterSet &iConfig)
Constructor.
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.
virtual void endRun(const edm::Run &run, const edm::EventSetup &iSetup)
End run.