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

Comparing UserCode/L1RpcTriggerAnalysis/plugins/LinkSynchroAnalysis.cc (file contents):
Revision 1.4 by konec, Thu Jun 17 00:47:03 2010 UTC vs.
Revision 1.5 by konec, Thu Mar 24 21:39:22 2011 UTC

# Line 14 | Line 14
14  
15   #include "UserCode/L1RpcTriggerAnalysis/interface/SynchroSelectorTrack.h"
16   #include "UserCode/L1RpcTriggerAnalysis/interface/SynchroSelectorMuon.h"
17 + #include "UserCode/L1RpcTriggerAnalysis/interface/SynchroSelectorL1Muon.h"
18  
19   #include "DataFormats/MuonDetId/interface/RPCDetId.h"
20   #include "TFile.h"
# Line 44 | Line 45 | void LinkSynchroAnalysis::beginJob()
45  
46    if (theAnaConfig.exists("synchroSelectorMuon"))  theSynchroFilters.push_back( new SynchroSelectorMuon(theAnaConfig.getParameter<edm::ParameterSet>("synchroSelectorMuon"), theHistos) );
47    if (theAnaConfig.exists("synchroSelectorTrack")) theSynchroFilters.push_back( new SynchroSelectorTrack(theAnaConfig.getParameter<edm::ParameterSet>("synchroSelectorTrack"), theHistos) );
48 +  if (theAnaConfig.exists("synchroSelectorL1Muon")) theSynchroFilters.push_back( new SynchroSelectorL1Muon(theAnaConfig.getParameter<edm::ParameterSet>("synchroSelectorL1Muon"), theHistos) );
49    std::cout << "SIZE OF SELECTORS IS: " << theSynchroFilters.size()<<std::endl;
50  
51   }
# Line 78 | Line 80 | const RPCRawSynchro::ProdItem& LinkSynch
80      LogTrace("") << "LinkSynchroAnalysis - record has CHANGED!!, read map, VERSION: " << theCabling->version();
81    }
82  
83 +  for (std::vector<SynchroSelector* >::iterator ix=theSynchroFilters.begin(); ix != theSynchroFilters.end(); ++ix) (*ix)->update(ev,es);
84 +
85    for(RPCRawSynchro::ProdItem::const_iterator it = vItem.begin(); it != vItem.end(); ++it) {
86      const LinkBoardElectronicIndex & path = it->first;
87      const  std::vector<FebConnectorSpec> & febs = theCabling->location(path)->febs();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines