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" |
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 |
|
|
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, |
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, |