@@ -27,38 +27,34 @@ namespace emcalcluster
2727{
2828
2929// define global cluster definitions
30- // the V1 algorithm is not yet implemented, but the V3 algorithm is
3130// New definitions should be added here!
32- const EMCALClusterDefinition kV1Default (ClusterAlgorithm_t::kV1 , 0 , 1 , " kV1Default " , 0.5 , 0.1 , -10000 , 10000 , true , 0.03 ); // dummy
33- const EMCALClusterDefinition kV1Variation1 (ClusterAlgorithm_t::kV3 , 1 , 1 , " kV1Variation1 " , 0.3 , 0.1 , -10000 , 10000 , true , 0.03 ); // dummy
34- const EMCALClusterDefinition kV1Variation2 (ClusterAlgorithm_t::kV3 , 2 , 1 , " kV1Variation2 " , 0.2 , 0.1 , -10000 , 10000 , true , 0.03 ); // dummy
31+ const EMCALClusterDefinition kV3NoSplit (ClusterAlgorithm_t::kV3 , 0 , 1 , " kV3NoSplit " , 0.5 , 0.1 , -10000 , 10000 , false , 0 .);
32+ const EMCALClusterDefinition kV3NoSplitLowSeed (ClusterAlgorithm_t::kV3 , 1 , 1 , " kV3NoSplitLowSeed " , 0.3 , 0.1 , -10000 , 10000 , false , 0 .);
33+ const EMCALClusterDefinition kV3NoSplitLowerSeed (ClusterAlgorithm_t::kV3 , 2 , 1 , " kV3NoSplitLowerSeed " , 0.2 , 0.1 , -10000 , 10000 , false , 0 .);
3534const EMCALClusterDefinition kV3Default (ClusterAlgorithm_t::kV3 , 10 , 1 , " kV3Default" , 0.5 , 0.1 , -10000 , 10000 , true , 0.03 );
36- const EMCALClusterDefinition kV3Variation1 (ClusterAlgorithm_t::kV3 , 11 , 1 , " kV3Variation1" , 0.5 , 0.1 , -10000 , 10000 , true , 0 .);
37- const EMCALClusterDefinition kV3Variation2 (ClusterAlgorithm_t::kV3 , 12 , 1 , " kV3Variation2" , 0.5 , 0.1 , -10000 , 10000 , false , 0 .);
38- const EMCALClusterDefinition kV3Variation3 (ClusterAlgorithm_t::kV3 , 13 , 1 , " kV3Variation3" , 0.5 , 0.1 , -10000 , 10000 , true , 20 .);
39- const EMCALClusterDefinition kV3LowSeed (ClusterAlgorithm_t::kV3 , 14 , 1 , " kV3LowSeed" , 0.3 , 0.1 , -10000 , 10000 , false , 0 .);
35+ const EMCALClusterDefinition kV3MostSplit (ClusterAlgorithm_t::kV3 , 11 , 1 , " kV3MostSplit" , 0.5 , 0.1 , -10000 , 10000 , true , 0 .);
36+ const EMCALClusterDefinition kV3LowSeed (ClusterAlgorithm_t::kV3 , 12 , 1 , " kV3LowSeed" , 0.3 , 0.1 , -10000 , 10000 , true , 0.03 );
37+ const EMCALClusterDefinition kV3MostSplitLowSeed (ClusterAlgorithm_t::kV3 , 13 , 1 , " kV3MostSplitLowSeed" , 0.3 , 0.1 , -10000 , 10000 , true , 0 .);
4038
4139// / \brief function returns EMCALClusterDefinition for the given name
4240// / \param name name of the cluster definition
4341// / \return EMCALClusterDefinition for the given name
4442const EMCALClusterDefinition getClusterDefinitionFromString (const std::string& clusterDefinitionName)
4543{
46- if (clusterDefinitionName == " kV1Default " ) {
47- return kV1Default ;
48- } else if (clusterDefinitionName == " kV1Variation1 " ) {
49- return kV1Variation1 ;
50- } else if (clusterDefinitionName == " kV1Variation2 " ) {
51- return kV1Variation2 ;
44+ if (clusterDefinitionName == " kV3NoSplit " ) {
45+ return kV3NoSplit ;
46+ } else if (clusterDefinitionName == " kV3NoSplitLowSeed " ) {
47+ return kV3NoSplitLowSeed ;
48+ } else if (clusterDefinitionName == " kV3NoSplitLowerSeed " ) {
49+ return kV3NoSplitLowerSeed ;
5250 } else if (clusterDefinitionName == " kV3Default" ) {
5351 return kV3Default ;
54- } else if (clusterDefinitionName == " kV3Variation1" ) {
55- return kV3Variation1 ;
56- } else if (clusterDefinitionName == " kV3Variation2" ) {
57- return kV3Variation2 ;
58- } else if (clusterDefinitionName == " kV3Variation3" ) {
59- return kV3Variation3 ;
52+ } else if (clusterDefinitionName == " kV3MostSplit" ) {
53+ return kV3MostSplit ;
6054 } else if (clusterDefinitionName == " kV3LowSeed" ) {
6155 return kV3LowSeed ;
56+ } else if (clusterDefinitionName == " kV3MostSplitLowSeed" ) {
57+ return kV3MostSplitLowSeed ;
6258 } else {
6359 throw std::invalid_argument (" Cluster definition name not recognized" );
6460 }
0 commit comments