ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/src/PhotonCleaningMod.cc
(Generate patch)

Comparing UserCode/MitPhysics/Mods/src/PhotonCleaningMod.cc (file contents):
Revision 1.3 by loizides, Wed Dec 10 21:19:25 2008 UTC vs.
Revision 1.4 by loizides, Tue Jan 20 10:28:02 2009 UTC

# Line 32 | Line 32 | void PhotonCleaningMod::Process()
32    PhotonOArr *CleanPhotons = new PhotonOArr;
33    CleanPhotons->SetName(fCleanPhotonsName);
34  
35 <  // Remove any photon that overlaps in eta, phi with an isolated electron.
35 >  // remove any photon that overlaps in eta, phi with an isolated electron.
36    UInt_t n = GoodPhotons->GetEntries();
37    for (UInt_t i=0; i<n; ++i) {
38      const Photon *ph = GoodPhotons->At(i);        
39  
40      Bool_t isElectronOverlap =  false;
41      
42 <    //Check for overlap with an electron
42 >    // check for overlap with an electron
43      if (CleanElectrons) {
44        UInt_t n2 = CleanElectrons->GetEntries();
45        for (UInt_t j=0; j<n2; j++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines