14 #ifndef L1_TRACK_TRIGGER_CLUSTER_BUILDER_H 15 #define L1_TRACK_TRIGGER_CLUSTER_BUILDER_H 40 template<
typename T >
54 std::vector< edm::EDGetTokenT< edm::DetSetVector< Phase2TrackerDigi > > >
rawHitTokens;
76 template<
typename T >
83 std::vector< edm::InputTag > rawHitInputTags = iConfig.
getParameter< std::vector< edm::InputTag > >(
"rawHits");
84 for (
auto it = rawHitInputTags.begin(); it != rawHitInputTags.end(); ++it ) {
88 produces< edmNew::DetSetVector< TTCluster< T > > >(
"ClusterInclusive" );
92 template<
typename T >
96 template<
typename T >
105 template<
typename T >
T getParameter(std::string const &) const
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
std::vector< edm::EDGetTokenT< edm::DetSetVector< Phase2TrackerDigi > > > rawHitTokens
~TTClusterBuilder()
Destructor.
Plugin to load the Clustering algorithm and produce the collection of Clusters that goes in the event...
edm::ESHandle< TTClusterAlgorithm< T > > theClusterFindingAlgoHandle
Data members.
void RetrieveRawHits(std::map< DetId, std::vector< T > > &mRawHits, const edm::Event &iEvent)
Get hits.
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
virtual void endRun(const edm::Run &run, const edm::EventSetup &iSetup)
End run.
unsigned int ADCThreshold
TTClusterBuilder(const edm::ParameterSet &iConfig)
Constructors.
virtual void beginRun(const edm::Run &run, const edm::EventSetup &iSetup)
Mandatory methods.
Class to store the TTClusterAlgorithm used in TTClusterBuilder.