class Gambit::ColliderBit::Analysis_ATLAS_7TeV_1OR2LEPStop_4_7invfb
[No description available]
Inherits from Gambit::ColliderBit::Analysis
Public Types
Name | |
---|---|
enum | cutflowEnum { CUTFLOWMAP =(f)} |
enum | varEnum { VARMAP =(f)} |
Public Functions
Name | |
---|---|
std::vector< double > | calcNuPz(double Mw, P4 metMom, P4 lepMom) |
P4 | getBestHadronicTop(std::vector< const Jet * > bJets, std::vector< const Jet * > lightJets, const P4 & leptonMom, const P4 & metMom, double width, double mean) |
double | calcMt(P4 metVec, P4 lepVec) |
double | calcSqrtSSubMin(P4 visibleSubsystem, P4 invisbleSubsystem) |
void | getBJets(std::vector< const Jet * > & jets, std::vector< const Jet * > * bJets, std::vector< const Jet * > * lightJets) |
Analysis_ATLAS_7TeV_1OR2LEPStop_4_7invfb() | |
virtual void | run(const HEPUtils::Event * event) |
virtual void | combine(const Analysis * other) Combine the variables of another copy of this analysis (typically on another thread) into this one. |
virtual void | collect_results() Gather together the info for likelihood calculation. |
Protected Functions
Name | |
---|---|
virtual void | analysis_specific_reset() Reset the analysis-specific variables. |
void | incrementCut(int cutIndex) |
void | saveCutFlow() |
Public Attributes
Name | |
---|---|
constexpr const char * | detector |
const std::vector< std::string > | cutflowNames |
const std::vector< std::string > | varNames |
std::map< std::string, std::vector< double > > | varResults |
std::map< std::string, int > | cutflows |
double | num1LSR |
double | num2LSR1 |
double | num2LSR2 |
Additional inherited members
Public Functions inherited from Gambit::ColliderBit::Analysis
Name | |
---|---|
void | analyze(const HEPUtils::Event & e) Analyze the event (accessed by reference). |
void | analyze(const HEPUtils::Event * e) Analyze the event (accessed by pointer). |
void | add(Analysis * other) Add the results of another analysis to this one. Argument is not const, because the other needs to be able to gather its results if necessary. |
Analysis() Construction. | |
virtual | ~Analysis() Destruction. |
void | reset() Public method to reset this instance for reuse, avoiding the need for “new” or “delete”. |
double | luminosity() const Return the integrated luminosity. |
void | set_luminosity(double lumi) Set the integrated luminosity. |
void | set_analysis_name(str aname) Set the analysis name. |
str | analysis_name() Get the analysis name. |
const AnalysisData & | get_results() Get the collection of SignalRegionData for likelihood computation. |
const AnalysisData & | get_results(str & warning) An overload of get_results() with some additional consistency checks. |
AnalysisData * | get_results_ptr() Get a (non-const!) pointer to _results. |
AnalysisData * | get_results_ptr(str & warning) An overload of get_results_ptr() with some additional consistency checks. |
void | scale(double xsec_per_event) Scale by xsec per event. |
Protected Functions inherited from Gambit::ColliderBit::Analysis
Name | |
---|---|
void | add_result(const SignalRegionData & sr) Add the given result to the internal results list. |
void | set_covariance(const Eigen::MatrixXd & srcov) Set the covariance matrix, expressing SR correlations. |
void | set_covariance(const std::vector< std::vector< double > > & srcov) A convenience function for setting the SR covariance from a nested vector/initialiser list. |
void | set_bkgjson(const std::string & bkgpath) A convenience function for setting the path to the ATLAS FullLikes BKG Json file. |
Public Types Documentation
enum cutflowEnum
Enumerator | Value | Description |
---|---|---|
CUTFLOWMAP | =(f) |
enum varEnum
Enumerator | Value | Description |
---|---|---|
VARMAP | =(f) |
Public Functions Documentation
function calcNuPz
inline std::vector< double > calcNuPz(
double Mw,
P4 metMom,
P4 lepMom
)
function getBestHadronicTop
inline P4 getBestHadronicTop(
std::vector< const Jet * > bJets,
std::vector< const Jet * > lightJets,
const P4 & leptonMom,
const P4 & metMom,
double width,
double mean
)
function calcMt
inline double calcMt(
P4 metVec,
P4 lepVec
)
function calcSqrtSSubMin
inline double calcSqrtSSubMin(
P4 visibleSubsystem,
P4 invisbleSubsystem
)
function getBJets
inline void getBJets(
std::vector< const Jet * > & jets,
std::vector< const Jet * > * bJets,
std::vector< const Jet * > * lightJets
)
We assume that b jets have previously been 100% tagged
function Analysis_ATLAS_7TeV_1OR2LEPStop_4_7invfb
inline Analysis_ATLAS_7TeV_1OR2LEPStop_4_7invfb()
The constructor that should initialize some variables
function run
inline virtual void run(
const HEPUtils::Event * event
)
Parameters:
- event an event contain particle and jet information
Reimplements: Gambit::ColliderBit::Analysis::run
Performs the main part of the analysis
function combine
inline virtual void combine(
const Analysis * other
)
Combine the variables of another copy of this analysis (typically on another thread) into this one.
Parameters:
- other results from another thread
Reimplements: Gambit::ColliderBit::Analysis::combine
Adds results from other threads if OMP_NUM_THREAD != 1
function collect_results
inline virtual void collect_results()
Gather together the info for likelihood calculation.
Reimplements: Gambit::ColliderBit::Analysis::collect_results
Protected Functions Documentation
function analysis_specific_reset
inline virtual void analysis_specific_reset()
Reset the analysis-specific variables.
Reimplements: Gambit::ColliderBit::Analysis::analysis_specific_reset
function incrementCut
inline void incrementCut(
int cutIndex
)
function saveCutFlow
inline void saveCutFlow()
Public Attributes Documentation
variable detector
static constexpr const char * detector = "ATLAS";
variable cutflowNames
const std::vector< std::string > cutflowNames = {CUTFLOWMAP(g)};
variable varNames
const std::vector< std::string > varNames = {VARMAP(g)};
variable varResults
std::map< std::string, std::vector< double > > varResults;
variable cutflows
std::map< std::string, int > cutflows;
variable num1LSR
double num1LSR =0;
variable num2LSR1
double num2LSR1 =0;
variable num2LSR2
double num2LSR2 =0;
Updated on 2024-07-18 at 13:53:31 +0000