-
Notifications
You must be signed in to change notification settings - Fork 8
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
Work up until 74X MC samples #164
Closed
Closed
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e7cd8c1
Remove obsolete b tag weight code
EmyrClement f1d6e77
Update analysis path.
EmyrClement c7237cb
Add jet parton info and whether those partons come from ttbar decay.
EmyrClement b3b301a
Doug's work on Rochester reco.
EmyrClement d587c7a
Apply stash
EmyrClement b473c81
Add variable to store if all jets passed ot fit are from ttbar.
EmyrClement 11bfc55
Pass leading 5 jets, regardless of CSV to fit. Store category of bes…
EmyrClement 5f2b5fa
Extend hit fit to control regions.
EmyrClement 76e27c9
Add info on position of last ttbar jet in jet collection.
EmyrClement f7c42d9
Add numbers to partonType for clarity and ease of use.
EmyrClement 8ca51d7
Check if all ttbar jets are in the cleaned jets collection.
EmyrClement 9c5676c
Add top reco variables to unfolding tree.
EmyrClement 99f10e0
Add second kinematic fit.
EmyrClement 7dd3e38
Check if all ttbar jets are in the cleaned jets collection.
EmyrClement 71100f7
Read in likelihood inputs from file. Doug's analyser to construct di…
EmyrClement 73a6a5b
Add parton information to unfolding tree.
EmyrClement 946f46d
Fill event weight in HitFit branch.
EmyrClement 7de1af2
Use global variable to determine whether to run (time consuming) top …
EmyrClement 53eac88
Add selection on lepton pt. Sort out selection criteria (AGAIN?). Ad…
EmyrClement be60fa7
Update to 74X MC samples. Update triggers for 74X MC.
EmyrClement a9aa59b
Read in pdg of pseudo jets (==5 for b jets).
EmyrClement 511b880
Ensure all particle level quantities are calculated from pseudo varia…
EmyrClement a96393d
Make job splitting more general to any TTJet sample.
EmyrClement 5852de3
Set maxEvents to 0
EmyrClement 8c6ab06
Leftovers...
EmyrClement 88216e9
Update config name in condor script job.sh
EmyrClement File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* LikelihoodInputAnalyser.h | ||
* | ||
* Created on: May 5, 2015 | ||
* Author: ejclemen | ||
*/ | ||
|
||
#ifndef LIKELIHOODINPUTANALYSER_H_ | ||
#define LIKELIHOODINPUTANALYSER_H_ | ||
#include <fstream> | ||
#include <iostream> | ||
#include <boost/shared_ptr.hpp> | ||
#include "../../interface/TtbarHypothesis.h" | ||
#include "BasicAnalyser.h" | ||
#include "../Rochester/NeutrinoSolver.h" | ||
|
||
namespace BAT { | ||
|
||
class LikelihoodInputAnalyser: public BasicAnalyser { | ||
|
||
public: | ||
LikelihoodInputAnalyser(HistogramManagerPtr histMan, TreeManagerPtr treeMan, std::string histogramFolder = "likelihood" ); | ||
virtual ~LikelihoodInputAnalyser(); | ||
|
||
void analyse(const EventPtr); | ||
void createHistograms(); | ||
void createTrees(); | ||
}; | ||
typedef boost::scoped_ptr<LikelihoodInputAnalyser> LikelihoodInputAnalyserLocalPtr; | ||
typedef boost::shared_ptr<LikelihoodInputAnalyser> LikelihoodInputAnalyserPtr; | ||
} | ||
|
||
#endif /* LIKELIHOODINPUTANALYSER_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* LikelihoodRecoAnalyser.h | ||
* | ||
* Created on: Mey 13, 2015 | ||
* Author: ejclemen | ||
*/ | ||
|
||
#ifndef LIKELIHOODRECOANALYSER_H_ | ||
#define LIKELIHOODRECOANALYSER_H_ | ||
#include <fstream> | ||
#include <iostream> | ||
#include <boost/shared_ptr.hpp> | ||
#include "../../interface/TtbarHypothesis.h" | ||
#include "../../interface/HistHelpers/HistogramManager.h" | ||
#include "../../interface/ReconstructionModules/LikelihoodBasedTopPairReconstruction.h" | ||
#include "BasicAnalyser.h" | ||
|
||
|
||
namespace BAT { | ||
|
||
class LikelihoodRecoAnalyser: public BasicAnalyser { | ||
private: | ||
bool isElectronChannel_; | ||
|
||
private: | ||
|
||
public: | ||
LikelihoodRecoAnalyser(HistogramManagerPtr histMan, TreeManagerPtr treeMan, const bool isElectronChannel, std::string histogramFolder = "likelihoodReco" ); | ||
virtual ~LikelihoodRecoAnalyser(); | ||
|
||
void analyse(const EventPtr); | ||
void analyse(const EventPtr, const JetCollection jets, const JetCollection bjets, const LeptonPointer selectedLepton, const METPointer met ); | ||
void createHistograms(); | ||
void createTrees(); | ||
}; | ||
typedef boost::scoped_ptr<LikelihoodRecoAnalyser> LikelihoodRecoAnalyserLocalPtr; | ||
typedef boost::shared_ptr<LikelihoodRecoAnalyser> LikelihoodRecoAnalyserPtr; | ||
} | ||
|
||
#endif /* LIKELIHOODRECOANALYSER_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* PartonAnalyser.h | ||
* | ||
* Created on: 24 Feb 2015 | ||
* Author: ejclemen | ||
*/ | ||
|
||
#ifndef PartonAnalyser_H_ | ||
#define PartonAnalyser_H_ | ||
|
||
#include "BasicAnalyser.h" | ||
|
||
namespace BAT { | ||
|
||
class PartonAnalyser: public BAT::BasicAnalyser { | ||
public: | ||
PartonAnalyser(HistogramManagerPtr histMan, TreeManagerPtr treeMan, std::string histogramFolder = "TTbar_plus_X_analysis/Unfolding"); | ||
virtual ~PartonAnalyser(); | ||
void analyse(const EventPtr); | ||
|
||
void createHistograms(); | ||
void createTrees(); | ||
|
||
protected: | ||
void fillHistograms(std::string subcollection, std::string suffix = ""); | ||
}; | ||
typedef boost::scoped_ptr<PartonAnalyser> PartonAnalyserLocalPtr; | ||
typedef boost::shared_ptr<PartonAnalyser> PartonAnalyserPtr; | ||
} /* namespace BAT */ | ||
#endif /* PartonAnalyser_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make this a bit easier in the future I created a feature request in issue #166