ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/kiesel/TreeWriter/treeWriter.cc
(Generate patch)

Comparing UserCode/kiesel/TreeWriter/treeWriter.cc (file contents):
Revision 1.19 by kiesel, Tue Apr 23 12:35:48 2013 UTC vs.
Revision 1.21 by kiesel, Wed Apr 24 10:07:51 2013 UTC

# Line 288 | Line 288 | void TreeWriter::Loop() {
288  
289                  for(std::vector<susy::Photon>::iterator it = photonVector.begin();
290                                  it != photonVector.end(); ++it ) {
291 <                        if( !(it->isEB() || it->isEE()) && skim )
291 >                        if( !(it->isEE() || it->isEB()) it->isEBEtaGap() && it->isEBPhiGap() && it->isEERingGap() && it->isEEDeeGap() && it->isEBEEGap() && skim )
292                                  continue;
293                          tree::Photon thisphoton;
294                          thisphoton.pt = getPtFromMatchedJet( *it, jetVector, loggingVerbosity );
# Line 312 | Line 312 | void TreeWriter::Loop() {
312                                  && it->sigmaIetaIeta<0.034
313                                  && thisphoton.chargedIso<2.3
314                                  && thisphoton.neutralIso<2.9+0.04*thisphoton.pt;
315 +
316                          if(!(loose_photon_endcap || loose_photon_barrel || thisphoton.pt > 75 ) && skim )
317                                  continue;
318                          thisphoton.eta = it->momentum.Eta();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines