ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/PhotonTreeWriter.h
(Generate patch)

Comparing UserCode/MitPhysics/Mods/interface/PhotonTreeWriter.h (file contents):
Revision 1.46 by bendavid, Wed Nov 27 23:41:21 2013 UTC vs.
Revision 1.47 by veverka, Thu Nov 28 18:04:39 2013 UTC

# Line 17 | Line 17
17   #ifndef MITPHYSICS_MODS_PHOTONTREEWRITER_H
18   #define MITPHYSICS_MODS_PHOTONTREEWRITER_H
19  
20 +
21 + #include <utility>  // provides std::pair
22 + #include <vector>
23   #include "MitAna/TreeMod/interface/BaseMod.h"
24   #include "MitAna/DataTree/interface/PhotonFwd.h"
25   #include "MitAna/DataTree/interface/TrackCol.h"
# Line 739 | Line 742 | namespace mithep
742    {
743    public:
744      enum CounterFlag {kCountNotDefined = -1};
745 <    PhotonTreeWriter(const char *name ="PhotonTreeWriter",
746 <                       const char *title="Selecting PhotonPairs");
745 >    typedef std::pair<const Particle*, double>  DeltaRVeto;
746 >    typedef std::vector<DeltaRVeto>             DeltaRVetoVector;
747 >    typedef std::vector<const PFJet*>           PFJetVector;
748 >    PhotonTreeWriter(const char *name ="PhotonTreeWriter",
749 >                     const char *title="Selecting PhotonPairs");
750      
751      ~PhotonTreeWriter();
752  
# Line 883 | Line 889 | namespace mithep
889      bool                VHLepHasDielectron(const Photon *phHard,
890                                             const Photon *phSoft);
891      bool                VHLepHasDimuon(const Photon *phHard,
892 <                                       const Photon *phSoft);
892 >                                      const Photon *phSoft);
893      UInt_t              VHLepNumberOfJets(const Photon *phHard,
894                                            const Photon *phSoft,
895                                            const Vertex *selvtx,
# Line 893 | Line 899 | namespace mithep
899                                       const Vertex *selvtx,
900                                       const double minJetPt,
901                                       const double maxAbsEta);
902 +    PFJetVector *      GetSelectedPFJets(const DeltaRVetoVector &drVetos,
903 +                                          const Vertex &vertex,
904 +                                          const double minJetPt,
905 +                                          const double maxAbsEta);
906      UInt_t              NumberOfBJets(const Photon *phHard,
907                                        const Photon *phSoft,
908                                        const Vertex *selvtx,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines