16 #ifndef L1_TRACK_TRIGGER_CLUSTER_ALGO_official_H
17 #define L1_TRACK_TRIGGER_CLUSTER_ALGO_official_H
31 template<
typename T >
55 const std::vector< T > &
input,
74 const std::vector< Ref_Phase2TrackerDigi_ > &
input,
89 template<
typename T >
94 std::shared_ptr< TTClusterAlgorithm< T > >
_theAlgo;
100 :
mWidthCut( p.getParameter< int >(
"WidthCut") )
114 _theAlgo = std::shared_ptr< TTClusterAlgorithm< T > >( TTClusterAlgo );
static bool CompareClusters(const T &a, const T &b)
Cluster max width.
std::shared_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.
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
static std::string const input
Base class for any algorithm to be used in TTClusterBuilder.
std::shared_ptr< TTClusterAlgorithm< T > > _theAlgo
Data members.
int mWidthCut
Data members.
virtual ~ES_TTClusterAlgorithm_official()
Destructor.
void Cluster(std::vector< std::vector< T > > &output, const std::vector< T > &input, bool isPS) const
Clustering operations.
~TTClusterAlgorithm_official()
Destructor.
Class for "official" algorithm to be used in TTClusterBuilder.
TTClusterAlgorithm_official(int aWidthCut)
Constructor.
Class to store the TTClusterAlgorithm used in TTClusterBuilder.