ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/GPetrucc/plugins/L1DataPlotter.cc
(Generate patch)

Comparing UserCode/GPetrucc/plugins/L1DataPlotter.cc (file contents):
Revision 1.1 by gpetrucc, Tue Apr 14 13:58:52 2009 UTC vs.
Revision 1.2 by gpetrucc, Wed Sep 30 14:03:35 2009 UTC

# Line 32 | Line 32
32  
33   #include "FWCore/ServiceRegistry/interface/Service.h"
34   #include "PhysicsTools/UtilAlgos/interface/TFileService.h"
35 < #include "PhysicsTools/Utilities/interface/StringCutObjectSelector.h"
35 > #include "CommonTools/Utils/interface/StringCutObjectSelector.h"
36  
37   #include "DataFormats/PatCandidates/interface/Muon.h"
38  
# Line 131 | Line 131 | L1DataPlotter::filter(edm::Event& iEvent
131         mu1Z      = mu1.vz();
132         mu1Charge = mu1.charge();
133  
134 <       std::vector<pat::TriggerPrimitive> propagated = mu1.triggerMatchesByFilter("propagated");
134 >       std::vector<pat::TriggerObjectStandAlone> propagated = mu1.triggerObjectMatchesByFilter("propagated");
135         if (!propagated.empty()) {
136             mu1PropagatedOk  = true;
137             mu1PropagatedPt  = propagated.front().pt();
# Line 146 | Line 146 | L1DataPlotter::filter(edm::Event& iEvent
146             mu1PropagatedDR  = 0;
147         }
148  
149 <       std::vector<pat::TriggerPrimitive> l1 = mu1.triggerMatchesByFilter("l1");
149 >       std::vector<pat::TriggerObjectStandAlone> l1 = mu1.triggerObjectMatchesByFilter("l1");
150         if (!l1.empty()) {
151             mu1L1Ok  = true;
152             mu1L1Pt  = l1.front().pt();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines