Get the analysis.
431 double dphi = -999. ;
433 bool Thiscleaned=
false;
434 bool Loosecleaned=
false;
435 bool Tightcleaned=
false;
436 bool ThisCHFcleaned=
false;
437 bool LooseCHFcleaned=
false;
438 bool TightCHFcleaned=
false;
440 srand( iEvent.
id().
event() % 10000);
447 double dphiDJ = -999. ;
449 bool LoosecleanedFirstJet =
false;
450 bool LoosecleanedSecondJet=
false;
451 bool TightcleanedFirstJet =
false;
452 bool TightcleanedSecondJet=
false;
453 bool LooseCHFcleanedFirstJet =
false;
454 bool LooseCHFcleanedSecondJet=
false;
455 bool TightCHFcleanedFirstJet =
false;
456 bool TightCHFcleanedSecondJet=
false;
463 if (dphiDJ > 3.14) dphiDJ=fabs(dphiDJ -6.28 );
467 if(fabs(dphiDJ)>2.1){
469 LooseCHFcleanedFirstJet=
true;
470 TightCHFcleanedFirstJet=
true;
477 LooseCHFcleanedSecondJet=
true;
478 TightCHFcleanedSecondJet=
true;
486 if(LoosecleanedFirstJet) {
493 if(TightcleanedFirstJet) {
501 if(LoosecleanedSecondJet) {
508 if(TightcleanedSecondJet) {
517 if(LoosecleanedFirstJet && LoosecleanedSecondJet) {
572 for (
int iJet=0; iJet<2; iJet++) {
597 if (fabs(
pfJets.at(0).eta() < 1.4)) {
598 double pt_dijet = (
pfJets.at(0).pt() +
pfJets.at(1).pt())/2;
601 if (dPhi > 3.14) dPhi=fabs(dPhi -6.28 );
608 int randJet =
rand() % 2;
610 if (fabs(
pfJets.at(1).eta() < 1.4)) {
627 bool thirdJetCut =
true;
628 for (
unsigned int third = 2; third <
pfJets.size(); ++third)
632 double dijetAsymmetry = (
pfJets.at(jet1).pt() -
pfJets.at(jet2).pt()) / (
pfJets.at(jet1).pt() +
pfJets.at(jet2).pt());
642 pt_barrel =
pfJets.at(jet1).pt();
643 pt_probe =
pfJets.at(jet2).pt();
654 bool thirdJetCut =
true;
655 for (
unsigned int third = 2; third <
pfJets.size(); ++third)
659 double dijetBalance = (pt_probe - pt_barrel) / pt_dijet;
689 LooseCHFcleaned=
true;
690 TightCHFcleaned=
true;
691 if((
jet->chargedHadronEnergy()/
jet->energy())<=
_ThisCHFMin && fabs(
jet->eta())<2.4) ThisCHFcleaned=
false;
692 if((
jet->chargedHadronEnergy()/
jet->energy())<=
_LooseCHFMin && fabs(
jet->eta())<2.4) LooseCHFcleaned=
false;
693 if((
jet->chargedHadronEnergy()/
jet->energy())<=
_TightCHFMin && fabs(
jet->eta())<2.4) TightCHFcleaned=
false;
716 if(!Thiscleaned)
continue;
752 if (fabs(
jet->eta()) <= 1.3) {
759 if ( (fabs(
jet->eta()) > 1.3) && (fabs(
jet->eta()) <= 3) ) {
766 if (fabs(
jet->eta()) > 3.0) {
791 if (
jet->pt()<= 50) {
798 if (
jet->pt()>50. &&
jet->pt()<=140.) {
805 if (
jet->pt()>140.) {
813 if (fabs(
jet->eta()) <= 1.3) {
821 if (
jet->pt()<=50.) {
834 if (
jet->pt()>50. &&
jet->pt()<=140.) {
847 if (
jet->pt()>140.) {
876 if ( (fabs(
jet->eta()) > 1.3) && (fabs(
jet->eta()) <= 3) ) {
884 if (
jet->pt()<=50.) {
897 if (
jet->pt()>50. &&
jet->pt()<=140.) {
910 if (
jet->pt()>140.) {
939 if (fabs(
jet->eta()) > 3.0) {
947 if (
jet->pt()<=50.) {
954 if (
jet->pt()>50. &&
jet->pt()<=140.) {
961 if (
jet->pt()>140.) {
1017 diff = fabs(fstPhi - sndPhi);
1018 corr = 2*acos(-1.) -
diff;
1019 if(diff < acos(-1.)) {
MonitorElement * mCHEn_lowPt_Barrel
MonitorElement * mMuFrac_lowPt_Barrel
EventNumber_t event() const
MonitorElement * mNeuMultiplicity_mediumPt_Barrel
MonitorElement * mElEn_highPt_Barrel
MonitorElement * mElFracVSpT_EndCap
MonitorElement * mPhFrac_mediumPt_EndCap
MonitorElement * mChargedEmEnergy
MonitorElement * mNHEn_lowPt_Barrel
MonitorElement * mNeutralHadronEnergy_profile
MonitorElement * mElFracVSeta_lowPt
MonitorElement * mEFrac_profile
MonitorElement * mElEn_lowPt_EndCap
MonitorElement * mNHEn_highPt_EndCap
MonitorElement * mMuMultiplicity_mediumPt_Barrel
MonitorElement * mMuEn_highPt_EndCap
MonitorElement * mPhEn_lowPt_Barrel
MonitorElement * mNHEn_lowPt_EndCap
MonitorElement * mEta_profile
MonitorElement * mNHEn_mediumPt_EndCap
MonitorElement * mPhFracVSeta_lowPt
MonitorElement * mPhFracVSeta_mediumPt
MonitorElement * mHFHFrac_mediumPt_Forward
MonitorElement * mLooseJIDPassFractionVSpt
MonitorElement * mHFEFracVSpT_Forward
MonitorElement * mCHEn_lowPt_EndCap
MonitorElement * mMuMultiplicity_highPt_EndCap
MonitorElement * mTightJIDPassFractionVSeta
MonitorElement * mMuFrac_mediumPt_Barrel
MonitorElement * mPhFrac_lowPt_EndCap
MonitorElement * mMuonMultiplicity_profile
MonitorElement * mPhiVSEta
MonitorElement * mEFrac_EndCap
MonitorElement * mNHFrac_highPt_Barrel
MonitorElement * mElEn_lowPt_Barrel
MonitorElement * mChargedEmEnergy_profile
MonitorElement * mDijetAsymmetry
MonitorElement * mHFHEn_mediumPt_Forward
MonitorElement * mChargedMultiplicity_profile
MonitorElement * mNHFracVSpT_EndCap
MonitorElement * mPhFrac_highPt_Barrel
MonitorElement * mEFrac_Barrel
MonitorElement * mNeutralMultiplicity_profile
MonitorElement * mPhFrac_mediumPt_Barrel
MonitorElement * mChargedMuEnergy_profile
MonitorElement * mPtFirst
MonitorElement * mNeuMultiplicity_highPt_EndCap
MonitorElement * mCHFrac_mediumPt_Barrel
MonitorElement * mNeuMultiplicity_lowPt_EndCap
MonitorElement * mNeutralMultiplicity
MonitorElement * mPt_Forward
MonitorElement * mHFEEn_mediumPt_Forward
MonitorElement * mElFrac_highPt_Barrel
MonitorElement * mNHFrac_lowPt_Barrel
MonitorElement * mMuMultiplicity_lowPt_Forward
MonitorElement * mCHFrac_highPt_Barrel
MonitorElement * mHFHEn_lowPt_Forward
MonitorElement * mChargedMultiplicity
MonitorElement * mPhEn_highPt_EndCap
MonitorElement * mConstituents_Barrel
MonitorElement * mElFracVSpT_Barrel
MonitorElement * mElFrac_mediumPt_EndCap
MonitorElement * mCHFrac_lowPt_EndCap
MonitorElement * mElFracVSeta_highPt
MonitorElement * mNHFrac_lowPt_EndCap
MonitorElement * mChMultiplicity_highPt_Barrel
MonitorElement * mPhFracVSeta_highPt
MonitorElement * mNHEn_mediumPt_Barrel
MonitorElement * mMuMultiplicity_mediumPt_EndCap
MonitorElement * mNJets_profile
MonitorElement * mCHFrac_highPt_EndCap
MonitorElement * mConstituents_EndCap
MonitorElement * mEtaFirst
MonitorElement * mTightJIDPassFractionVSpt
MonitorElement * mNeuMultiplicity_highPt_Forward
MonitorElement * mChMultiplicity_mediumPt_Barrel
MonitorElement * mCHFracVSeta_lowPt
MonitorElement * mPhEn_mediumPt_EndCap
MonitorElement * mCHFrac_mediumPt_EndCap
MonitorElement * mNeuMultiplicity_lowPt_Barrel
MonitorElement * mElFrac_lowPt_EndCap
MonitorElement * mChMultiplicity_highPt_Forward
MonitorElement * mMuMultiplicity_mediumPt_Forward
MonitorElement * mElFrac_highPt_EndCap
MonitorElement * mPhi_Forward
MonitorElement * mPhi_EndCap_Hi
MonitorElement * mPt_Barrel_Hi
MonitorElement * mCHFracVSeta_highPt
double dPhi(double phi1, double phi2)
MonitorElement * mPt_profile
MonitorElement * mHFrac_Forward
MonitorElement * mNeutralEmEnergy
MonitorElement * mElFrac_mediumPt_Barrel
MonitorElement * mMuFracVSeta_mediumPt
MonitorElement * mNeuMultiplicity_mediumPt_EndCap
MonitorElement * mMuMultiplicity_highPt_Forward
MonitorElement * mMuEn_lowPt_EndCap
MonitorElement * mHFHFrac_lowPt_Forward
MonitorElement * mElEn_mediumPt_EndCap
MonitorElement * mNeutralFraction
MonitorElement * mChMultiplicity_mediumPt_EndCap
MonitorElement * mChargedHadronEnergy
MonitorElement * mConstituents_Forward
MonitorElement * mPhFrac_lowPt_Barrel
MonitorElement * mNHFracVSpT_Barrel
MonitorElement * mCHEn_mediumPt_EndCap
MonitorElement * mHFHFrac_highPt_Forward
MonitorElement * mHFrac_Barrel
MonitorElement * mHFHFracVSpT_Forward
MonitorElement * mNHFracVSeta_highPt
MonitorElement * mPhEn_highPt_Barrel
MonitorElement * mMuFrac_highPt_Barrel
MonitorElement * mPhEn_mediumPt_Barrel
MonitorElement * mMuFracVSpT_EndCap
MonitorElement * mPt_EndCap_Hi
MonitorElement * mChMultiplicity_lowPt_Forward
MonitorElement * mNHFracVSeta_lowPt
MonitorElement * mNeuMultiplicity_lowPt_Forward
MonitorElement * mPt_Forward_Hi
double _balanceThirdJetCut
MonitorElement * mHFrac_EndCap
MonitorElement * mNeuMultiplicity_highPt_Barrel
MonitorElement * mMuEn_highPt_Barrel
MonitorElement * mCHFracVSpT_Barrel
MonitorElement * mChargedHadronEnergy_profile
MonitorElement * mNHFrac_highPt_EndCap
MonitorElement * mPt_EndCap
MonitorElement * mPhFracVSpT_Barrel
MonitorElement * mMuonMultiplicity
MonitorElement * mCHFracVSpT_EndCap
MonitorElement * mCHFracVSeta_mediumPt
MonitorElement * mPhi_Barrel_Hi
MonitorElement * mNeutralHadronEnergy
MonitorElement * mHFEEn_lowPt_Forward
MonitorElement * mElFrac_lowPt_Barrel
MonitorElement * mPhi_Barrel
MonitorElement * mMuEn_mediumPt_Barrel
MonitorElement * mMuFrac_highPt_EndCap
MonitorElement * mPt_Barrel
MonitorElement * mElFracVSeta_mediumPt
MonitorElement * mMuFracVSpT_Barrel
MonitorElement * mEFrac_Forward
MonitorElement * mMuMultiplicity_lowPt_Barrel
MonitorElement * mPhFrac_highPt_EndCap
MonitorElement * mCHFrac_lowPt_Barrel
MonitorElement * mPhi_EndCap
MonitorElement * mHFHEn_highPt_Forward
MonitorElement * mHFEEn_highPt_Forward
MonitorElement * mMuFrac_mediumPt_EndCap
MonitorElement * mChargedMuEnergy
MonitorElement * mNeuMultiplicity_mediumPt_Forward
MonitorElement * mHFEFrac_lowPt_Forward
MonitorElement * mMuMultiplicity_highPt_Barrel
MonitorElement * mConstituents
MonitorElement * mElEn_highPt_EndCap
MonitorElement * mNHEn_highPt_Barrel
double _asymmetryThirdJetCut
MonitorElement * mChMultiplicity_lowPt_Barrel
MonitorElement * mPhEn_lowPt_EndCap
MonitorElement * mMuMultiplicity_lowPt_EndCap
MonitorElement * mMuFracVSeta_lowPt
MonitorElement * mChMultiplicity_highPt_EndCap
MonitorElement * mPhi_profile
MonitorElement * mCHEn_highPt_EndCap
MonitorElement * mMuFrac_lowPt_EndCap
MonitorElement * mMuEn_lowPt_Barrel
MonitorElement * mMuEn_mediumPt_EndCap
MonitorElement * mHFEFrac_mediumPt_Forward
MonitorElement * mNHFrac_mediumPt_Barrel
MonitorElement * mCHEn_mediumPt_Barrel
MonitorElement * mChMultiplicity_lowPt_EndCap
MonitorElement * mNHFrac_mediumPt_EndCap
MonitorElement * mLooseJIDPassFractionVSeta
MonitorElement * mConstituents_profile
MonitorElement * mDijetBalance
MonitorElement * mPhiFirst
MonitorElement * mPhFracVSpT_EndCap
MonitorElement * mElEn_mediumPt_Barrel
MonitorElement * mNHFracVSeta_mediumPt
MonitorElement * mNeutralEmEnergy_profile
MonitorElement * mChMultiplicity_mediumPt_Forward
MonitorElement * mHFEFrac_highPt_Forward
MonitorElement * mMuFracVSeta_highPt
MonitorElement * mCHEn_highPt_Barrel
MonitorElement * mHFrac_profile
MonitorElement * mPhi_Forward_Hi