Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding HH->WWgg Analysis Files #1127

Open
wants to merge 219 commits into
base: dev_legacy_runII
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
23c0fdc
Initial Commit
atishelmanch Jun 24, 2019
f2cf5af
Second Test Commit
atishelmanch Jun 24, 2019
dce2fa9
Second Test Commit
atishelmanch Jun 24, 2019
8de2c1e
Removed test file
atishelmanch Jun 24, 2019
4699cbf
Adding test file
atishelmanch Jun 24, 2019
e8f0158
Removing test files
atishelmanch Jun 24, 2019
ac30f9c
Adding HHWWgg Dumper
atishelmanch Jun 24, 2019
5de03e5
Updated Process Path to Include Preselection
atishelmanch Jun 24, 2019
5988e06
Removed electron-photon Z mass selection
atishelmanch Jun 29, 2019
19d3858
Legacy RunII V1 production p0
simonepigazzini Jul 4, 2019
b7633aa
Legacy RunII V1 production p0
simonepigazzini Jul 4, 2019
d8d3008
Legacy RunII V1 production p0
simonepigazzini Jul 5, 2019
d36f00d
Added HHWWgg to classes_def and added initial transverse mass steps
atishelmanch Jul 10, 2019
2c13421
Merge remote-tracking branch 'upstream/dev_legacy_runII' into HHWWgg_dev
atishelmanch Jul 10, 2019
2cc1f0f
Legacy RunII V1 production p0
simonepigazzini Jul 12, 2019
bd5e318
Removing unnecessary tHq flag
simonepigazzini Jul 12, 2019
27caeef
Merge branch 'prod_legacy_runII_V1' of https://github.com/simonepigaz…
atishelmanch Jul 14, 2019
dabc2c2
Adding Campaigns and Fggrunjobs JSONS
atishelmanch Sep 4, 2019
4254ca5
Adjusted Selections to Match ATLAS HH_WWgg Analysis
atishelmanch Sep 4, 2019
800be6d
Resolving merge with latest fgg for updated data campaigns
atishelmanch Sep 6, 2019
b8c8e54
Merge branch 'dev_legacy_runII' of https://github.com/cms-analysis/fl…
atishelmanch Sep 13, 2019
76c05e2
Removing currently unused variables from HHWWggCandidateProducer and …
atishelmanch Oct 3, 2019
a3eeb1e
Dumper Update
atishelmanch Oct 17, 2019
3414979
Merging with latest flashgg
atishelmanch Oct 17, 2019
f117791
Adding Hgg Photon MVA Selection into Dumper. Also adding Updated JSON…
atishelmanch Oct 21, 2019
8fe9164
Adding photon scaling and smearing
atishelmanch Oct 22, 2019
39027e4
Removed extraneous variables and validated smearing
atishelmanch Oct 24, 2019
17aa953
Merge branch 'dev_legacy_runII' of https://github.com/cms-analysis/fl…
atishelmanch Oct 30, 2019
4b65c77
Added REC_GEN Study Configuration to Dumper
atishelmanch Nov 11, 2019
896f039
[In progress] - Added HHWWggTag plugin. Not fully compatible with wor…
atishelmanch Nov 15, 2019
22ba28e
First Working Version of HHWWggTagger with workspaceStd.py. Systemati…
atishelmanch Nov 16, 2019
49bc07a
Working on sychronizing HHWWgg tagger and dumper
atishelmanch Nov 24, 2019
4433267
Saving Configuration for comparing Tagger and Dumper. Going to use ta…
atishelmanch Nov 26, 2019
e6fc07f
Reverting systematics back to normal
atishelmanch Nov 28, 2019
a98c8aa
Updating HHWWgg README
atishelmanch Dec 11, 2019
b886bf2
Reverting photonview class after accidentally updating it on this branch
atishelmanch Dec 11, 2019
ddea9a0
Adding Proxy Script
atishelmanch Dec 12, 2019
705c6e3
Fixed Condor submission script and further updated README
atishelmanch Dec 12, 2019
a6c420b
Further README update. Currently HHWWgg specific
atishelmanch Dec 12, 2019
6a818b9
Further README update
atishelmanch Dec 12, 2019
c3633b0
Updated README, added HHWWgg_v2-2 section
atishelmanch Dec 19, 2019
111c9aa
Added Bveto Threshold to Dumper and Tagger
atishelmanch Jan 20, 2020
e731c4f
First Version that outputs filled trees with doSystematics False or True
atishelmanch Jan 29, 2020
ea360f1
First version of working systematics output trees
atishelmanch Feb 5, 2020
ebbd5ef
Further customization of HHWWgg tagger and diphotonsystematics cfi file
atishelmanch Feb 10, 2020
d1a6cf0
Debug Print Statements Used to Figure out why HHWWggTagger wasn't wor…
atishelmanch Feb 10, 2020
54d764e
Added HHWWgg_v2-3 Campaign and Run Jobs Options
atishelmanch Feb 18, 2020
1739b26
Addeding classes_def.xml
atishelmanch Mar 16, 2020
8b09bf0
Working Version of HHWWggTag for HHWWgg_v2-3 X250 Sample
atishelmanch Mar 16, 2020
b11a610
Adding 250 GeV Json
atishelmanch Mar 19, 2020
fd63882
Added HHWWgg_v2-4: Contains 2 EFT BMs and 4 NMSSM Points
atishelmanch Apr 29, 2020
61f1ded
Adding HHWWgg_v2-4 json for submitting jobs
atishelmanch Apr 29, 2020
b035176
Adding Individual EFT jsons
atishelmanch Apr 30, 2020
2df7553
Quick README Addition
atishelmanch May 14, 2020
d77b8d9
Saving Config Before Updating HHWWggTagProducer
atishelmanch May 30, 2020
5afaa07
Adding Updated Era2017 Sample List
atishelmanch Jun 2, 2020
c75feee
Added extra variables to HHWWgg Tagger
atishelmanch Jun 9, 2020
58d1594
Adding HHWWgg Background Campaigns and jsons
atishelmanch Jun 9, 2020
9821bf4
Multiple Updates and Additions
atishelmanch Jun 16, 2020
2972a9d
Added Instructions for Workspace Hadding
atishelmanch Jun 17, 2020
05aae49
Added 2017 Data Submission Example
atishelmanch Jun 17, 2020
85c6649
Adding HHWWgg_v2-6 to MetaData
atishelmanch Jun 20, 2020
c7df5ef
Updated HHWWgg Workspace Hadd Script
atishelmanch Jun 24, 2020
f28223c
Added Muon and Jet ID's to ntuple Variables
atishelmanch Jun 24, 2020
ad47fb5
Updated Default Condor Flavour
atishelmanch Jun 26, 2020
6ab432b
Added HHWWgg_Run_Jobs Option to run on 2016 and 2018 Data
atishelmanch Jun 26, 2020
e3a9a34
Small README fix
atishelmanch Jun 30, 2020
bc88674
Added resubmit jobs script from updated flashgg
atishelmanch Jul 1, 2020
aa9ec56
Added year check to HHWWgg_Run_Jobs script
atishelmanch Jul 2, 2020
e7cd109
Added No Duplicate Versions of HHWWgg_bkg jsons
atishelmanch Jul 6, 2020
eac0909
Added Tight2017 Jet ID and photon pt/mgg selections To Tagger
atishelmanch Jul 13, 2020
8cbd8e5
Removed NTupleAnalysis. Moved to HHWWgg_Tools Respository
atishelmanch Jul 13, 2020
515106b
catalog and xsec for private bkg production
bmarzocc Jul 13, 2020
31e3217
Merge pull request #1 from bmarzocc/HHWWgg_2017_catalog
atishelmanch Jul 13, 2020
a7da390
Added Presentation Links to README
atishelmanch Jul 14, 2020
7697995
Fully Hadronic First commit
ram1123 Jul 24, 2020
766a3ea
Adding HHWWgg_SM20XX Campaigns
atishelmanch Jul 25, 2020
7fe8268
Updating things on my end before qqqq pull request merge
atishelmanch Aug 8, 2020
32de6b2
Merge branch 'HHWWgg_dev' into Develop/HHWWgg_FullyHad
atishelmanch Aug 10, 2020
4c300ef
Merge pull request #2 from ram1123/Develop/HHWWgg_FullyHad
atishelmanch Aug 10, 2020
fd849de
Merged SL and FH Taggers. Added workspacestd flag to run analysis on …
atishelmanch Aug 10, 2020
459d108
first commit
chuwang1 Aug 17, 2020
99e5eb5
merge
chuwang1 Aug 17, 2020
1eedc1f
merge
chuwang1 Aug 24, 2020
92c9077
merge
chuwang1 Aug 24, 2020
c7c3a6b
add cut variable diphoMVA
chuwang1 Aug 24, 2020
b5dc7ce
add cut variable diphoMVA
chuwang1 Aug 24, 2020
595794e
add diphoMVA
chuwang1 Aug 24, 2020
5911963
delete *.pyc
chuwang1 Aug 25, 2020
4982075
delete *.pyc
chuwang1 Aug 25, 2020
3c0eb34
rm NtupleAnalysis
chuwang1 Aug 25, 2020
7135049
rm NtupleAnalysis
chuwang1 Aug 25, 2020
29101e5
add class_def
chuwang1 Aug 25, 2020
1e77c03
add class_def
chuwang1 Aug 25, 2020
78a3a49
fix bug
chuwang1 Aug 25, 2020
940d9db
Fix HHWWggCustmize
chuwang1 Aug 25, 2020
7699e75
remove some cut variables
chuwang1 Aug 27, 2020
f978223
remove some cut variables
chuwang1 Aug 27, 2020
bbb6efe
remove some cut variables
chuwang1 Aug 27, 2020
3f25f75
Add systematics
chuwang1 Aug 27, 2020
c9c6d0f
Merge pull request #3 from chuwang1/HHWWgg_FullyLep_Dev
atishelmanch Aug 27, 2020
28c9e42
Cleaning Fully Leptonic Merge
atishelmanch Aug 27, 2020
9aed4a4
Small Script Adjustments
atishelmanch Sep 1, 2020
39f3e69
Moved HHWWgg Scripts to MetaData/scripts
atishelmanch Sep 1, 2020
8671b15
Moved Scripts, Removed Files
atishelmanch Sep 1, 2020
0d8929f
Typo fix on variable name
atishelmanch Sep 1, 2020
72c95f5
Updating Branch Before CMSSW Update
atishelmanch Sep 11, 2020
842e650
Merge branch 'dev_legacy_runII' of https://github.com/cms-analysis/fl…
atishelmanch Sep 11, 2020
61f8d9a
Updated CMSSW Clone Instructions
atishelmanch Sep 11, 2020
5480215
Fixed Clone Repo
atishelmanch Sep 11, 2020
a6cf186
Updated DoubleHTag file (bbgg analysis)
atishelmanch Sep 11, 2020
5616f4a
Added Separate HHWWgg Cross Sections File
atishelmanch Sep 16, 2020
946fc0c
Updating README info
atishelmanch Sep 16, 2020
a147032
Added Condition to avoid PDFWeights for HHWWgg as they don't exist yet
atishelmanch Sep 16, 2020
04950a4
Added current HH->WWgg Combination jsons for fggrunjobs (private samp…
atishelmanch Sep 16, 2020
c43fe26
Added Non-Res Reweight Branches to HH->WWgg Workflow
atishelmanch Oct 20, 2020
e3bacd0
Added Pythonic Fggrunjobs Submission Script - Examples in files
atishelmanch Oct 28, 2020
99790de
Added Fggrunjobs submission script tools
atishelmanch Oct 28, 2020
c9d9d54
Added GEN Mhh to HHWWgg Tagger
atishelmanch Oct 29, 2020
cc57152
Added Gen Cos Thetastar CS to Tagger
atishelmanch Oct 30, 2020
611114f
Updated 2017 Data jsons. Added second EraF dataset
atishelmanch Nov 6, 2020
1837f5c
Merge branch 'dev_legacy_runII' of github.com:alesauva/flashgg into H…
atishelmanch Nov 9, 2020
b5267f2
Submitting Changes before pulling from main repo
atishelmanch Nov 19, 2020
a2df001
Merge branch 'dev_legacy_runII' of github.com:cms-analysis/flashgg in…
atishelmanch Nov 19, 2020
9e1ca76
Added Zeroth vtx option to cmsRun command, and explanation in README
atishelmanch Nov 19, 2020
5b0743f
Added Lepton SF Inclusion Attempt, Added README Command
atishelmanch Nov 24, 2020
8c2c683
Fully Hadronic different methods for jet selections (#6)
ram1123 Nov 26, 2020
0c49214
Added Lepton Systematic Collections to WWgg Tagger by Default
atishelmanch Nov 26, 2020
4a77a2c
Add FL selection
chuwang1 Nov 29, 2020
637e2a2
update FL selection and photon systematics
chuwang1 Nov 29, 2020
3463437
Systematic fix and L1TPrefire (#7)
ram1123 Nov 30, 2020
05849ab
Fix merge conflict
ram1123 Nov 30, 2020
f11f7ec
Removed MVA Selection, Looping diPhotons, General Tagger Cleanup
atishelmanch Nov 30, 2020
4eecd7b
Update FH pT ordered jet selection; other variable name update
ram1123 Nov 30, 2020
dacabec
Fix merge conflict
ram1123 Nov 30, 2020
9b62a55
Created FL DR function, removed extra tagger lines
atishelmanch Nov 30, 2020
a25986a
Update selections and dataset Jsons
chuwang1 Nov 30, 2020
271c1d6
Added Script to find Bad Weight MicroAODs
atishelmanch Dec 1, 2020
800d9d4
Added weight over Events ratio to bad file output
atishelmanch Dec 1, 2020
f46de1f
Including Scale Factors individually and adjusted prefiring module
atishelmanch Dec 3, 2020
53b91aa
Added Computation of SFs per event, Ability to Save in Trees
atishelmanch Dec 7, 2020
83001dd
Fix conflicts
chuwang1 Dec 8, 2020
4f0a1d3
Changed HHWWggTag Category Structure
atishelmanch Dec 10, 2020
4d2d0a8
Added Saving of DeepJet (DeepFlavour) Recommended scores to check Sig…
atishelmanch Dec 12, 2020
792be4d
Added all final state option but realized tags are not perfectly orth…
atishelmanch Dec 12, 2020
b719a11
Configured To Fill All Tags in Single run
atishelmanch Dec 13, 2020
ddc43a8
Set DeltaZmass to 5 GeV by default to stay consistent with Fully-Lept…
atishelmanch Dec 13, 2020
29b6b99
Added Jet Info to all states when running cut flow analysis mode in o…
atishelmanch Dec 14, 2020
cbae372
Added Saving of up/down 1 sigma SFs
atishelmanch Dec 14, 2020
12eef8e
Added saving of SFs for all final states
atishelmanch Dec 15, 2020
59c5970
Removed Prints, added SM NLO Jsons
atishelmanch Dec 15, 2020
d085dd7
fix confict
chuwang1 Dec 17, 2020
ef8b5be
fix conflicts
chuwang1 Dec 17, 2020
a465f32
add Diphoton pt cut
chuwang1 Dec 17, 2020
9b3b1d2
add Diphoton pt cut
chuwang1 Dec 17, 2020
761b912
Abe's updates (#8)
ram1123 Dec 17, 2020
bdbd670
Fix merge conflict... (#9)
ram1123 Dec 17, 2020
715b907
Fix merge conflict
ram1123 Dec 17, 2020
84fe837
Merge pull request #6 from chuwang1/HHWWgg_dev
atishelmanch Dec 17, 2020
c5702fc
Commit files that would be overwritten by merge
atishelmanch Dec 17, 2020
1d9f423
Pulling Fully-Leptonic Update, Resolving conflicts with local branch
atishelmanch Dec 17, 2020
b90178b
Fix merge conflict after approving FL pull reqeust
ram1123 Dec 17, 2020
70de744
Added UseZeroVtx flag to Fully Leptonic jsons
atishelmanch Dec 17, 2020
21b143e
Fix: Define diPho variable & updated its name; Deleted classes_def.xm…
atishelmanch Dec 17, 2020
1f80264
Adding classes def to git ignore
atishelmanch Dec 17, 2020
fc2b606
Resolve merge conflict for classes_def.xml
ram1123 Dec 17, 2020
e5ad1f5
Merge branch 'HHWWgg_dev' of https://github.com/atishelmanch/flashgg …
ram1123 Dec 17, 2020
4d978df
Merge pull request #4 from ram1123/HHWWZZgg_FH
atishelmanch Dec 17, 2020
5da665c
Committing files that would be overwritten by Fully-Hadronic pull req…
atishelmanch Dec 17, 2020
e3f5cf6
Merging Fully-Hadronic Branch
atishelmanch Dec 17, 2020
fb81342
Split HHWWggTagProducer into HHWWggTagProducer.cc and HHWWggTagProduc…
ram1123 Dec 17, 2020
174a1f8
Merge pull request #10 from ram1123/feature/SplitHHWWggTagProducer
atishelmanch Dec 17, 2020
8068227
Small tagproducer update before pull
atishelmanch Dec 17, 2020
03ad078
Merge branch 'HHWWgg_dev' of github.com:atishelmanch/flashgg into HHW…
atishelmanch Dec 17, 2020
0519389
Added fix to avoid extremely large output config jsons. Should fix pr…
atishelmanch Dec 18, 2020
8c93d48
Save lepton and jet variables for all final states to perform bVeto, …
atishelmanch Dec 18, 2020
aebd413
Updated HHWWgg lepton ID and ISOs, Removed Unnecessary HHWWgg Tagger …
atishelmanch Dec 20, 2020
35b2522
Added Prevention of input_file copying during fggrunjobs, added FillU…
atishelmanch Dec 20, 2020
3c9797c
Added PU Jet ID. Choose Working Point in HHWWggTag cfi file
atishelmanch Dec 24, 2020
8bdf513
Set HHWWgg Lepton ID and ISOs from MetaConditions, Removed Unused Var…
atishelmanch Dec 28, 2020
2f61040
Added Option to use JetPUID in HHWWgg Tagger in Meta Conditions
atishelmanch Dec 31, 2020
1bc8ae9
Adding Base classes_def.xml File
atishelmanch Jan 4, 2021
5854c26
Added Class Update Instructions to README
atishelmanch Jan 4, 2021
0906d93
Tiny README fix
atishelmanch Jan 4, 2021
c3d6137
Removed saving of extra variables in systematics trees. Removed old f…
atishelmanch Jan 7, 2021
2bde632
Added up/down btag SFs to Central Object weights
atishelmanch Jan 8, 2021
a15a172
A Few HHWWgg Tagger Updates
atishelmanch Jan 10, 2021
c4a0066
Adding January 2021 Production jsons
atishelmanch Jan 10, 2021
e146927
Adding 2017 HHWWgg SL Background jsons
atishelmanch Jan 10, 2021
1fe7891
Moved Previous production jsons to HHWWgg_old
atishelmanch Jan 10, 2021
00d7060
Adding HHWWgg submissions scripts
atishelmanch Jan 10, 2021
6c81c97
Updated HHWWgg Submit Script
atishelmanch Jan 10, 2021
d82c56a
Minor Script + json update
atishelmanch Jan 10, 2021
97a99c3
Tiny Script Update
atishelmanch Jan 10, 2021
959d3ea
Updated 2017 GluGluHToGG sample, added 2016 MetaConditions, Added 201…
atishelmanch Jan 11, 2021
27c8365
Adding single higgs sub script
atishelmanch Jan 11, 2021
227573e
Tiny script update
atishelmanch Jan 11, 2021
96bd695
Updated single higgs command again, removing pdf weight computation a…
atishelmanch Jan 11, 2021
07ed04d
Updated cross sections json. Adding HHWWgg January 2021 Production jsons
atishelmanch Jan 19, 2021
98f0c34
Added HHWWgg SL NLO 2018 json
atishelmanch Jan 19, 2021
bce9535
Adding HHWWgg 2018 metaconditions
atishelmanch Jan 19, 2021
feac312
Adding HHWWgg 2018 NLO jsons
atishelmanch Jan 19, 2021
0927567
Adding HHWWgg January 2021 Production 2016 LO jsons
atishelmanch Jan 20, 2021
683d744
Adding HHWWgg January 2021 Production 2018 LO fggrunjobs jsons
atishelmanch Jan 21, 2021
7dd0150
Removed Unused HHWWgg Candidate Dumper Files
atishelmanch Feb 4, 2021
8abb9d3
additional UL17 samples
alesauva Mar 6, 2021
596520d
Adding PUJetID to previous metaconditions
atishelmanch Mar 11, 2021
0b432ab
Removing unused metaconditions
atishelmanch Mar 11, 2021
d3151aa
reprocessing of the file 79
alesauva Mar 15, 2021
dfaaebf
Updated 2016 catalog & N_good_jets (#16)
ram1123 Apr 5, 2021
8b0e3f2
Committing old residual changes before pulling latest fgg master branch
atishelmanch Jul 1, 2021
36a0f9d
add WWZ samples
alesauva Jul 5, 2021
6930ad5
add WWZ samples
alesauva Jul 5, 2021
4058571
Added pieces for Zee phase space analysis. Currently 2017 HLT paths h…
atishelmanch Jul 5, 2021
67340d9
Merge branch 'WWZ_RR' of github.com:alesauva/flashgg into HHWWgg_dev
atishelmanch Jul 5, 2021
576b9ec
Adding WWZ and Zee scripts for HHWWgg
atishelmanch Jul 5, 2021
3a1ef2a
Adding datasets and tagger json file for running HHWWgg over pT binne…
atishelmanch Aug 24, 2021
52747a8
Adding files to be used for Phase_II 14 TeV WJets running
atishelmanch Sep 24, 2021
5238041
Increasing precision of avg weight per event and sum weights printed …
atishelmanch Nov 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# Editors temp files
classes_def.xml
.__*
*.swp
*~

# User specific files
HHWWgg_v2_6_*/
HHWWgg_v2-6*/
DiPhoPt*/
TEST_*/
rasharma.cc

# Other big files
QGL_AK4chs_94X.db

# SCRAM business
__init__.py
*.pyc
Expand All @@ -26,5 +38,4 @@ AutoDict_*
*.png
*.pdf

# This is a symlink created by setup.sh
DataFormats/src/classes_def.xml
DataFormats/src/classes_def.xml # This is a symlink created by setup.sh
108 changes: 108 additions & 0 deletions DataFormats/interface/HHWWggCandidate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
#ifndef flashgg_HHWWggCandidate
#define flashgg_HHWWggCandidate

// https://root.cern.ch/doc/v608/TLorentzVector_8h_source.html
#include "TLorentzVector.h"
#include "DataFormats/Math/interface/LorentzVector.h"

#include "flashgg/DataFormats/interface/DiPhotonCandidate.h"
#include "flashgg/DataFormats/interface/Photon.h"
#include "flashgg/DataFormats/interface/SinglePhotonView.h"
#include "DataFormats/PatCandidates/interface/Jet.h"
#include "flashgg/DataFormats/interface/Jet.h"
#include "DataFormats/Candidate/interface/LeafCandidate.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "flashgg/DataFormats/interface/Electron.h"
#include "flashgg/DataFormats/interface/Muon.h"
#include "flashgg/DataFormats/interface/Met.h"
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"

#include "flashgg/Taggers/interface/FunctionHelpers.h"

namespace flashgg {

// HHWWggCandidate is a sub class or derived class of WeightedObject
class HHWWggCandidate : public WeightedObject
{
// access specifier
public:
//---ctors---
// when constructor overloading, each must have different number or specific types of input variables
HHWWggCandidate() ;
HHWWggCandidate(std::vector<flashgg::DiPhotonCandidate> diphoVector,
std::vector<flashgg::Electron> electronVector, std::vector<flashgg::Muon> muonVector, std::vector<flashgg::Met> METVector,
std::vector<reco::GenParticle> GenParticlesVector, std::vector<flashgg::Jet> JetVector,
std::vector<double> Vertex_Variables, std::vector<double> Cut_Variables, double dipho_MVA, double CMS_hgg_mass, double dZ);

//---dtor---
~HHWWggCandidate();

//---utils---
const std::vector<flashgg::DiPhotonCandidate> diphoVector() const { return diphoVector_; };
const std::vector<flashgg::Electron> electronVector() const {return electronVector_;}
const std::vector<flashgg::Muon> muonVector() const {return muonVector_;}
const std::vector<flashgg::Met> METVector() const {return METVector_;}
const std::vector<reco::GenParticle> GenParticlesVector() const {return GenParticlesVector_;}
const std::vector<reco::Candidate::LorentzVector> GenElectrons() const {return GenElectrons_;}
const std::vector<reco::Candidate::LorentzVector> GenMuons() const {return GenMuons_;}
const std::vector<reco::Candidate::LorentzVector> GenPhotons() const {return GenPhotons_;}
const std::vector<reco::Candidate::LorentzVector> GenQuarks() const {return GenQuarks_;}
const std::vector<reco::Candidate::LorentzVector> GenNeutrinos() const {return GenNeutrinos_;}
const std::vector<flashgg::Jet> JetVector() const {return JetVector_;}
const flashgg::Photon Leading_Photon() const { return Leading_Photon_; };
const flashgg::Photon Subleading_Photon() const { return Subleading_Photon_; };
const reco::Candidate::LorentzVector& MET_fourvec() const { return MET_fourvec_; };
const reco::Candidate::LorentzVector& leading_dpho() const { return leading_dpho_; };
const reco::Candidate::LorentzVector& leading_elec() const { return leading_elec_; };
const reco::Candidate::LorentzVector& subleading_elec() const { return subleading_elec_; };
const reco::Candidate::LorentzVector& leading_muon() const { return leading_muon_; };
const reco::Candidate::LorentzVector& subleading_muon() const { return subleading_muon_; };
//float getCosThetaStar_CS(float ebeam) const;
//std::vector<float> CosThetaAngles() const;
//float HelicityCosTheta( TLorentzVector Booster, TLorentzVector Boosted) const;
const float theMETcorpt() const { return theMETcorpt_; };
const std::vector<double> Vertex_Variables() const { return Vertex_Variables_; };
const std::vector<double> Cut_Variables() const { return Cut_Variables_; };
const float dipho_MVA() const {return dipho_MVA_;};
const float CMS_hgg_mass() const {return CMS_hgg_mass_;};
const float dZ() const {return dZ_;};
const float lp_Hgg_MVA() const {return lp_Hgg_MVA_;};
const float slp_Hgg_MVA() const {return slp_Hgg_MVA_;};

private:

std::vector<flashgg::DiPhotonCandidate> diphoVector_;
std::vector<flashgg::Electron> electronVector_;
std::vector<flashgg::Muon> muonVector_;
std::vector<flashgg::Met> METVector_;
std::vector<reco::GenParticle> GenParticlesVector_;
std::vector<reco::Candidate::LorentzVector> GenElectrons_;
std::vector<reco::Candidate::LorentzVector> GenMuons_;
std::vector<reco::Candidate::LorentzVector> GenPhotons_;
std::vector<reco::Candidate::LorentzVector> GenQuarks_;
std::vector<reco::Candidate::LorentzVector> GenNeutrinos_;
std::vector<flashgg::Jet> JetVector_;
flashgg::Photon Leading_Photon_;
flashgg::Photon Subleading_Photon_;
reco::Candidate::LorentzVector MET_fourvec_;
reco::Candidate::LorentzVector leading_dpho_;
reco::Candidate::LorentzVector leading_elec_;
reco::Candidate::LorentzVector subleading_elec_;
reco::Candidate::LorentzVector leading_muon_;
reco::Candidate::LorentzVector subleading_muon_;
float theMETcorpt_;
std::vector<double> Vertex_Variables_;
std::vector<double> Cut_Variables_;
float dipho_MVA_;
float CMS_hgg_mass_;
float dZ_;
float lp_Hgg_MVA_;
float slp_Hgg_MVA_;


};
typedef std::vector<HHWWggCandidate> HHWWggCandidateCollection; // define new type: vector of HHWWggCandidates

}

#endif
Loading