class Gambit::ColliderBit::Analysis_ATLAS_7TeV_1OR2LEPStop_4_7invfb

[No description available]

Inherits from Gambit::ColliderBit::Analysis

Public Types

Name
enumcutflowEnum { CUTFLOWMAP =(f)}
enumvarEnum { VARMAP =(f)}

Public Functions

Name
std::vector< double >calcNuPz(double Mw, P4 metMom, P4 lepMom)
P4getBestHadronicTop(std::vector< const Jet * > bJets, std::vector< const Jet * > lightJets, const P4 & leptonMom, const P4 & metMom, double width, double mean)
doublecalcMt(P4 metVec, P4 lepVec)
doublecalcSqrtSSubMin(P4 visibleSubsystem, P4 invisbleSubsystem)
voidgetBJets(std::vector< const Jet * > & jets, std::vector< const Jet * > * bJets, std::vector< const Jet * > * lightJets)
Analysis_ATLAS_7TeV_1OR2LEPStop_4_7invfb()
virtual voidrun(const HEPUtils::Event * event)
virtual voidcollect_results()
Gather together the info for likelihood calculation.

Protected Functions

Name
virtual voidanalysis_specific_reset()
Reset the analysis-specific variables.
voidincrementCut(int cutIndex)
voidsaveCutFlow()

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

Additional inherited members

Public Functions inherited from Gambit::ColliderBit::Analysis

Name
voidanalyze(const HEPUtils::Event & e)
Analyze the event (accessed by reference).
voidanalyze(const HEPUtils::Event * e)
Analyze the event (accessed by pointer).
voidadd(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.
voidreset()
Public method to reset this instance for reuse, avoiding the need for “new” or “delete”.
doubleluminosity() const
Return the integrated luminosity.
voidset_luminosity(double lumi)
Set the integrated luminosity.
voidset_analysis_name(str aname)
Set the analysis name.
stranalysis_name()
Get the analysis name.
voidset_detector_name(str detname)
Set the detector name.
strdetector_name()
Get the detector name.
voidset_collider_name(str collname)
Set the collider name.
strcollider_name()
Get the collider 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.
const Cutflows &get_cutflows()
Get the cutflows.
voidscale(double xsec_per_event)
Scale by xsec per event.
voidset_store_accepted_event_IDs(bool setting)
Set the store_accepted_event_IDs bool for the EventCounter instances in this analysis.
voidaddCuts(std::vector< std::string > & )
template <typename First ,typename… Rest>
void
addCuts(std::vector< std::string > & v, First && first, Rest &&… rest)
template <typename… Cuts>
void
defineSignalRegion(const std::string & name, Cuts &&… cuts)
template <typename… Cuts>
void
defineSignalRegions(const std::string & baseName, int count, const Cuts &… cuts)

Protected Functions inherited from Gambit::ColliderBit::Analysis

Name
voidadd_result(const SignalRegionData & sr)
Add the given result to the internal results list.
voidadd_cutflows(const Cutflows & cf)
Add cutflows to the internal results list.
voidset_covariance(const Eigen::MatrixXd & srcov)
Set the covariance matrix, expressing SR correlations.
voidset_covariance(const std::vector< std::vector< double > > & srcov)
A convenience function for setting the SR covariance from a nested vector/initialiser list.
voidset_bkgjson(const std::string & bkgpath)
A convenience function for setting the path to the ATLAS FullLikes BKG Json file.

Protected Attributes inherited from Gambit::ColliderBit::Analysis

Name
Cutflows_cutflows
std::map< str, EventCounter > &_counters

Public Types Documentation

enum cutflowEnum

EnumeratorValueDescription
CUTFLOWMAP=(f)

enum varEnum

EnumeratorValueDescription
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 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;

Updated on 2026-11-03 at 14:50:43 +0000