![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef TrigEgammaMonitorTagAndProbeAlgorithm_H
5 #define TrigEgammaMonitorTagAndProbeAlgorithm_H
30 bool executeTandP(
const EventContext& ctx, std::vector<std::shared_ptr<const xAOD::Electron>> & )
const;
33 void matchObjects(
const std::string& trigItem, std::vector<std::shared_ptr<const xAOD::Electron>>&,
34 std::vector<std::pair<const xAOD::Egamma*, const TrigCompositeUtils::Decision*>> &)
const;
54 double simple_lxy(
int ,
double,
double,
double ,
double ,
double ,
double ,
double,
double )
const;
63 Gaudi::Property<std::vector<std::string>>
m_trigInputList{
this,
"TriggerList", {}};
65 Gaudi::Property<std::vector<std::string>>
m_tagTrigList{
this,
"TagTriggerList", {}};
77 Gaudi::Property<float>
m_tagMinEt{
this,
"OfflineTagMinEt", 25};
83 Gaudi::Property<bool>
m_rmCrack{
this,
"RemoveCrack",
true};
89 Gaudi::Property<bool>
m_doJpsiee{
this,
"DoJpsiee",
false};
91 Gaudi::Property<std::string>
m_anatype{
this,
"Analysis",
"Zee"};
Gaudi::Property< std::string > m_anatype
analysis name
Gaudi::Property< std::vector< std::string > > m_trigInputList
Properties.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Gaudi::Property< bool > m_doJpsiee
do jpsiee tag and probe
bool isGoodProbeElectron(const ToolHandle< GenericMonitoringTool > &monGroup, const xAOD::Electron *el, const xAOD::JetContainer *) const
Probe selection.
Gaudi::Property< float > m_ZeeMassMin
Zee lower mass cut.
TrigEgammaMonitorTagAndProbeAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< float > m_ZeeMassMax
Zee upper mass cut.
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
Jet container for probe selection.
double simple_lxy(int, double, double, double, double, double, double, double, double) const
Calculate the displacement of the Jpsi vertex w.r.t.
void dressPid(const xAOD::Electron *eg) const
Rerun offline selection.
Gaudi::Property< std::string > m_offTagTightness
Define the PID for tag electron.
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
virtual ~TrigEgammaMonitorTagAndProbeAlgorithm() override
SG::ReadHandleKey< xAOD::ElectronContainer > m_offElectronKey
Event Wise offline ElectronContainer Access and end iterator.
Gaudi::Property< float > m_tagMinEt
Minimum tag Et.
void matchObjects(const std::string &trigItem, std::vector< std::shared_ptr< const xAOD::Electron >> &, std::vector< std::pair< const xAOD::Egamma *, const TrigCompositeUtils::Decision * >> &) const
Match probes called by derived classes.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_applyMinimalTrigger
Enable the requirement of triggers.
bool executeTandP(const EventContext &ctx, std::vector< std::shared_ptr< const xAOD::Electron >> &) const
Tag and Probe method called by derived classes.
virtual StatusCode initialize() override
initialize
bool minimalTriggerRequirement() const
at least one chain should pass.
float getPseudoLifetime(const xAOD::Electron *, const xAOD::Electron *) const
Return pseudo-lifetime of Jpsi.
Gaudi::Property< bool > m_rmCrack
Remove crack region for Probe default True.
SG::ReadDecorHandleKey< xAOD::ElectronContainer > m_electronIsolationKeyPtCone20
Ensure offline electron isolation decoration is retrieved after being created.
std::vector< std::string > m_trigList
List of triggers from menu after filter.
Gaudi::Property< std::string > m_offProbeTightness
define the Pid of Probe from the user
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
bool isTagElectron(const ToolHandle< GenericMonitoringTool > &monGroup, const xAOD::Electron *el) const
Tag Electron selection.
Gaudi::Property< bool > m_applyJetNearProbeSelection
Apply nearby jet selection.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Gaudi::Property< std::vector< std::string > > m_tagTrigList
Tag trigger list.
Gaudi::Property< bool > m_oppositeCharge
Select opposite or same-sign pairs – for background studies.
Gaudi::Property< std::string > m_offProbeIsolation
Probe isolation.
Gaudi::Property< float > m_probeMinEt
Minimum probe Et.