16 #ifndef L1_TRACK_TRIGGER_CLUSTER_ALGO_official_H 17 #define L1_TRACK_TRIGGER_CLUSTER_ALGO_official_H 31 template<
typename T >
47 mWidthCut = aWidthCut;
55 const std::vector< T > &
input,
56 bool isPS )
const override;
74 const std::vector< Ref_Phase2TrackerDigi_ > &
input,
89 template<
typename T >
99 : mWidthCut( p.getParameter<
int >(
"WidthCut") )
101 setWhatProduced(
this );
113 return std::unique_ptr< TTClusterAlgorithm< T > >( TTClusterAlgo );
static bool CompareClusters(const T &a, const T &b)
Cluster max width.
std::unique_ptr< TTClusterAlgorithm< T > > produce(const TTClusterAlgorithmRecord &record)
Implement the producer.
Class to declare the algorithm to the framework.
ES_TTClusterAlgorithm_official(const edm::ParameterSet &p)
Constructor.
static std::string const input
int mWidthCut
Data members.
Base class for any algorithm to be used in TTClusterBuilder.
int mWidthCut
Data members.
void Cluster(std::vector< std::vector< T > > &output, const std::vector< T > &input, bool isPS) const override
Clustering operations.
~TTClusterAlgorithm_official() override
Destructor.
~ES_TTClusterAlgorithm_official() override
Destructor.
Class for "official" algorithm to be used in TTClusterBuilder.
TTClusterAlgorithm_official(int aWidthCut)
Constructor.
Class to store the TTClusterAlgorithm used in TTClusterBuilder.