physics

Contents of reconstruction/physics

class ElectronMaker : public Gaugi::Algorithm
#include <ElectronMaker.h>

Reconstructs Electron objects from CaloClusters.

Algorithm to reconstruct electron candidates.

Creates electron candidates by iterating over calorimeter clusters. It also performs PID (particle identification) evaluation using “IsEM” style rectangular cuts (Loose, Medium, Tight, etc).

Properties:

  • InputClusterKey: Key for input CaloClusters.

  • OutputElectronKey: Key for output Electrons.

  • *Cuts: Various vectors defining the cut values for PID variables.

Creates electron objects from CaloClusters. It may apply selection criteria (ID cuts) such as Loose, Medium, Tight to flag the candidates.

Public Functions

ElectronMaker(std::string)

Constructor

virtual ~ElectronMaker()

=====================================================================

virtual StatusCode initialize() override

=====================================================================

virtual StatusCode bookHistograms(SG::EventContext &ctx) const override

=====================================================================

Book all histograms into the current storegate

virtual StatusCode pre_execute(SG::EventContext &ctx) const override

=====================================================================

virtual StatusCode execute(SG::EventContext &ctx, const G4Step *step) const override

=====================================================================

virtual StatusCode execute(SG::EventContext &ctx, int) const override

=====================================================================

Execute in ComponentAccumulator

virtual StatusCode post_execute(SG::EventContext &ctx) const override

=====================================================================

Executes the electron creation.

Iterates over the CaloCluster container. For each cluster, creates a new xAOD::Electron, links it to the cluster, and calculates the PID decisions (Loose, Medium, Tight) calling the compute() method.

virtual StatusCode fillHistograms(SG::EventContext &ctx) const override

=====================================================================

virtual StatusCode finalize() override

=====================================================================

bool compute(const xAOD::CaloCluster *cluster, std::string workingPoint) const

Check if a cluster passes the electron ID cuts.

=====================================================================

Evaluates the PID decision.

Applies rectangular cuts on shower shape variables based on the requested operating point (tight, medium, loose). Differentiates between central and forward electrons as they use different discriminating variables.

Parameters:
  • cluster – The candidate cluster.

  • workingPoint – The operating point (Tight, Medium, Loose).

  • cluster – The input cluster.

  • pidname – The name of the working point (“tight”, “medium”, etc.).

Returns:

true if accepted.

Returns:

True if the cluster satisfies the cuts, false otherwise.

Private Members

int m_outputLevel
std::string m_clusterKey
std::string m_electronKey
std::vector<float> m_tightCuts
std::vector<float> m_mediumCuts
std::vector<float> m_looseCuts
std::vector<float> m_vlooseCuts
std::vector<float> m_secondLambdaCuts
std::vector<float> m_lateralMomCuts
std::vector<float> m_longMomCuts
std::vector<float> m_fracMaxCuts
std::vector<float> m_secondRCuts
std::vector<float> m_lambdaCenterCuts

Warning

doxygenfile: Found multiple matches for file “LinkDef.h