ATLAS Offline Software
Loading...
Searching...
No Matches
HI::IHIEventSelectionToolRun3 Class Referenceabstract

#include <IHIEventSelectionToolRun3.h>

Inheritance diagram for HI::IHIEventSelectionToolRun3:
Collaboration diagram for HI::IHIEventSelectionToolRun3:

Public Member Functions

virtual ~IHIEventSelectionToolRun3 ()=default
virtual bool noDetectorError (const xAOD::EventInfo *eventInfo) const =0
 Checks basic event flags.
virtual bool puZDCvsFCal (HI::IonDataType when, const xAOD::HIEventShapeContainer *es, const xAOD::ZdcModuleContainer *zdcModules, HI::PileupVariation variation) const =0
 true if this is pileup event It computes necessary quantities and invokes method defined next to perform actual selection
virtual bool puZDCvsFCal (IonDataType dataType, float fcalEt, float zdcE, PileupVariation variation=PileupVariation::Nominal) const =0
 true if this is pileup event
virtual bool puNtrkvsFCal (IonDataType dataType, float fcalEt, int ntrk, PileupVariation variation=PileupVariation::Nominal) const =0
 true if this is pileup event
virtual bool puZDCPSvsFCal (IonDataType dataType, float fcalEt, float presamplerA, float presamplerC, PileupVariation variation=PileupVariation::Nominal) const =0
 true if this is pileup event Code sample to obtain presampler energies Float_t PreSamplerAmp_A = 0; Float_t PreSamplerAmp_C = 0; xAOD::ZdcModuleContainer * zdcModules = 0; CHECK( evtStore()->retrieve(zdcModules, "ZdcModules") ); for (const auto ZdcModule : *zdcModules) { if (ZdcModule->zdcType()!=0) continue; if (ZdcModule->zdcSide()>0) PreSamplerAmp_C+=accPreSamplerAmpC(*ZdcModule); if (ZdcModule->zdcSide()<0) PreSamplerAmp_A+=accPreSamplerAmpA(*ZdcModule); }
virtual bool puOOVertexCuts (IonDataType dataType, const xAOD::VertexContainer *vertices) const =0
 true if this is pileup event
virtual IonDataType toDataType (const xAOD::EventInfo *eventInfo) const =0
 translates info in EV into HI data type
virtual void print () const =0
 Print the state of the tool.

Detailed Description

Definition at line 64 of file IHIEventSelectionToolRun3.h.

Constructor & Destructor Documentation

◆ ~IHIEventSelectionToolRun3()

virtual HI::IHIEventSelectionToolRun3::~IHIEventSelectionToolRun3 ( )
virtualdefault

Member Function Documentation

◆ noDetectorError()

virtual bool HI::IHIEventSelectionToolRun3::noDetectorError ( const xAOD::EventInfo * eventInfo) const
pure virtual

Checks basic event flags.

Parameters
eventInfo
Returns
true if no error

Implemented in HI::HIEventSelectionToolRun3.

◆ print()

◆ puNtrkvsFCal()

virtual bool HI::IHIEventSelectionToolRun3::puNtrkvsFCal ( IonDataType dataType,
float fcalEt,
int ntrk,
PileupVariation variation = PileupVariation::Nominal ) const
pure virtual

true if this is pileup event

Implemented in HI::HIEventSelectionToolRun3.

◆ puOOVertexCuts()

virtual bool HI::IHIEventSelectionToolRun3::puOOVertexCuts ( IonDataType dataType,
const xAOD::VertexContainer * vertices ) const
pure virtual

true if this is pileup event

Implemented in HI::HIEventSelectionToolRun3.

◆ puZDCPSvsFCal()

virtual bool HI::IHIEventSelectionToolRun3::puZDCPSvsFCal ( IonDataType dataType,
float fcalEt,
float presamplerA,
float presamplerC,
PileupVariation variation = PileupVariation::Nominal ) const
pure virtual

true if this is pileup event Code sample to obtain presampler energies Float_t PreSamplerAmp_A = 0; Float_t PreSamplerAmp_C = 0; xAOD::ZdcModuleContainer * zdcModules = 0; CHECK( evtStore()->retrieve(zdcModules, "ZdcModules") ); for (const auto ZdcModule : *zdcModules) { if (ZdcModule->zdcType()!=0) continue; if (ZdcModule->zdcSide()>0) PreSamplerAmp_C+=accPreSamplerAmpC(*ZdcModule); if (ZdcModule->zdcSide()<0) PreSamplerAmp_A+=accPreSamplerAmpA(*ZdcModule); }

Implemented in HI::HIEventSelectionToolRun3.

◆ puZDCvsFCal() [1/2]

virtual bool HI::IHIEventSelectionToolRun3::puZDCvsFCal ( HI::IonDataType when,
const xAOD::HIEventShapeContainer * es,
const xAOD::ZdcModuleContainer * zdcModules,
HI::PileupVariation variation ) const
pure virtual

true if this is pileup event It computes necessary quantities and invokes method defined next to perform actual selection

Implemented in HI::HIEventSelectionToolRun3.

◆ puZDCvsFCal() [2/2]

virtual bool HI::IHIEventSelectionToolRun3::puZDCvsFCal ( IonDataType dataType,
float fcalEt,
float zdcE,
PileupVariation variation = PileupVariation::Nominal ) const
pure virtual

true if this is pileup event

Implemented in HI::HIEventSelectionToolRun3.

◆ toDataType()

virtual IonDataType HI::IHIEventSelectionToolRun3::toDataType ( const xAOD::EventInfo * eventInfo) const
pure virtual

translates info in EV into HI data type

Implemented in HI::HIEventSelectionToolRun3.


The documentation for this class was generated from the following file: