@@ -139,6 +139,7 @@ class DTTrigPhase2Prod : public edm::stream::EDProducer<> {
139139 int df_extended_;
140140 int co_option_; // coincidence
141141 int co_quality_;
142+ int co_wh2option_;
142143 int th_option_; // theta matching
143144 int th_quality_;
144145 int max_index_;
@@ -214,6 +215,7 @@ DTTrigPhase2Prod::DTTrigPhase2Prod(const ParameterSet& pset)
214215 df_extended_ = pset.getParameter <int >(" df_extended" );
215216 co_option_ = pset.getParameter <int >(" co_option" );
216217 co_quality_ = pset.getParameter <int >(" co_quality" );
218+ co_wh2option_ = pset.getParameter <int >(" co_wh2option" );
217219 th_option_ = pset.getParameter <int >(" th_option" );
218220 th_quality_ = pset.getParameter <int >(" th_quality" );
219221 max_index_ = pset.getParameter <int >(" max_primitives" ) - 1 ;
@@ -831,6 +833,9 @@ void DTTrigPhase2Prod::produce(Event& iEvent, const EventSetup& iEventSetup) {
831833 }
832834 }
833835
836+ // for (auto& ch_filtcorrelatedMetaPrimitives : filtCorrelatedMetaPrimitives)
837+ // cout<<"filtCorrelatedMetaPrimitives: "<<filtCorrelatedMetaPrimitives[ch_filtcorrelatedMetaPrimitives.first].size()<<endl;
838+
834839 correlatedMetaPrimitives.clear ();
835840 filteredMetaPrimitives.clear ();
836841
@@ -860,6 +865,9 @@ void DTTrigPhase2Prod::produce(Event& iEvent, const EventSetup& iEventSetup) {
860865 }
861866 }
862867
868+ // for (auto& ch_filtcoMetaPrimitives : coMetaPrimitives)
869+ // cout<<"coMetaPrimitives: "<<coMetaPrimitives[ch_filtcoMetaPrimitives.first].size()<<endl;
870+
863871 allMetaPrimitives.clear ();
864872
865873 // Theta (th) matching filter
@@ -879,6 +887,9 @@ void DTTrigPhase2Prod::produce(Event& iEvent, const EventSetup& iEventSetup) {
879887 }
880888 }
881889
890+ for (auto & mych : coMetaPrimitives)
891+ cout<<" coMetaPrimitives: " <<coMetaPrimitives[mych.first ].size () <<" thMatchedMetaPrimitives: " << thMatchedMetaPrimitives[mych.first ].size () <<endl;
892+
882893 // ///////////
883894
884895 double shift_back = 0 ;
@@ -1318,6 +1329,7 @@ void DTTrigPhase2Prod::fillDescriptions(edm::ConfigurationDescriptions& descript
13181329 desc.add <int >(" df_extended" , 0 );
13191330 desc.add <int >(" co_option" , 0 );
13201331 desc.add <int >(" co_quality" , 0 );
1332+ desc.add <int >(" co_wh2option" , 0 );
13211333 desc.add <int >(" th_option" , 0 );
13221334 desc.add <int >(" th_quality" , 0 );
13231335 desc.add <int >(" max_primitives" , 999 );
0 commit comments