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 >
94 std::shared_ptr< TTClusterAlgorithm< T > >
_theAlgo;
100 : mWidthCut( p.getParameter<
int >(
"WidthCut") )
102 setWhatProduced(
this );
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.
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.
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.