1 #ifndef HeavyChHiggsToTauNuSkim_h 2 #define HeavyChHiggsToTauNuSkim_h 42 const double PI = 3.1415926535;
46 if(phi1 < 0) phi1 += 2*
PI;
47 if(phi2 < 0) phi2 += 2*
PI;
49 double dphi = fabs(phi1-phi2);
51 if(dphi > PI) dphi = 2*PI - dphi;
55 double deltaR(
double eta1,
double eta2,
double phi1,
double phi2){
57 double deta = fabs(eta1-eta2);
58 return sqrt(dphi*dphi + deta*deta);
double deltaR(double eta1, double eta2, double phi1, double phi2)
edm::EDGetTokenT< reco::CaloJetCollection > jetToken
double deltaPhi(double phi1, double phi2)
HeavyChHiggsToTauNuSkim(const edm::ParameterSet &)
edm::EDGetTokenT< reco::IsolatedTauTagInfoCollection > hltTauToken
~HeavyChHiggsToTauNuSkim()
virtual bool filter(edm::Event &, const edm::EventSetup &)