ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/JetAnalysis/src/RecHitComparison.cc
(Generate patch)

Comparing UserCode/CmsHi/JetAnalysis/src/RecHitComparison.cc (file contents):
Revision 1.3 by yilmaz, Wed Oct 20 14:11:46 2010 UTC vs.
Revision 1.4 by yilmaz, Wed Oct 20 15:51:18 2010 UTC

# Line 106 | Line 106 | class RecHitComparison : public edm::EDA
106    edm::InputTag EESrc1_;
107    edm::InputTag EESrc2_;
108     edm::InputTag signalTag_;
109 +   edm::InputTag centTag_;
110  
111     TNtuple* ntEB;
112    TNtuple* ntEE;
# Line 137 | Line 138 | RecHitComparison::RecHitComparison(const
138     cone(0.5)
139   {
140     //now do what ever initialization is needed
141 +   centTag_ =  iConfig.getUntrackedParameter<edm::InputTag>("centrality",edm::InputTag("hiCentrality","","RECO"));
142 +
143     signalTag_ = iConfig.getUntrackedParameter<edm::InputTag>("signalJets",edm::InputTag("iterativeCone5CaloJets","","SIGNAL"));
144  
145    HcalRecHitHFSrc1_ = iConfig.getUntrackedParameter<edm::InputTag>("hcalHFRecHitSrc1",edm::InputTag("hfreco"));
# Line 176 | Line 179 | RecHitComparison::analyze(const edm::Eve
179        geo = pGeo.product();
180     }
181  
179   edm::InputTag centTag("hiCentrality","","RECO");
180
182     using namespace edm;
183  
184 <   ev.getByLabel(centTag,cent);
184 >   ev.getByLabel(centTag_,cent);
185     ev.getByLabel(EBSrc1_,ebHits1);
186     ev.getByLabel(EBSrc1_,ebHits2);
187     ev.getByLabel(signalTag_,signalJets);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines