|
ATLAS Offline Software
|
#include <PixelAthMVAMonAlg.h>
|
enum | Environment_t {
Environment_t::user = 0,
Environment_t::online,
Environment_t::tier0,
Environment_t::tier0Raw,
Environment_t::tier0ESD,
Environment_t::AOD,
Environment_t::altprod
} |
| Specifies the processing environment. More...
|
|
enum | DataType_t {
DataType_t::userDefined = 0,
DataType_t::monteCarlo,
DataType_t::collisions,
DataType_t::cosmics,
DataType_t::heavyIonCollisions
} |
| Specifies what type of input data is being monitored. More...
|
|
|
| PixelAthMVAMonAlg (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~PixelAthMVAMonAlg () |
|
virtual StatusCode | initialize () override |
| initialize More...
|
|
virtual StatusCode | fillHistograms (const EventContext &ctx) const override |
| adds event to the monitoring histograms More...
|
|
std::string | findComponentString (int bec, int ld) const |
|
void | fill1DProfLumiLayers (const std::string &prof1Dname, int lb, float *weights, int nlayers=PixLayers::COUNT) const |
| filling 1DProf per-lumi per-layer histograms ["ECA","ECC","BLayer","Layer1","Layer2","IBL","IBL2D","IBL3D"] More...
|
|
void | fill2DProfLumiLayers (const std::string &prof2Dname, int lb, float(*weights)[PixLayers::COUNT], const int *nCategories) const |
| filling 2DProf per-lumi per-layer histograms ["ECA","ECC","BLayer","Layer1","Layer2","IBL2D","IBL3D"] More...
|
|
int | getPixLayersID (int ec, int ld) const |
| helper function to get layers ID More...
|
|
bool | isIBL2D (int hashID) const |
| helper function to check if module is IBL planar based on pixel hash ID More...
|
|
bool | isIBL3D (int hashID) const |
| helper function to check if module is IBL 3D based on pixel hash ID More...
|
|
int | getNumberOfFEs (int pixlayer, int etaMod) const |
| helper function to get number of FEs per module More...
|
|
void | getPhiEtaMod (Identifier &id, int &phiMod, int &etaMod, bool ©FE) const |
| helper function to get eta phi coordinates of per-layer arrays More...
|
|
bool | isHitOnTrack (Identifier id, std::vector< Identifier > const &RDOIDs) const |
| checks if hit is on track More...
|
|
bool | isClusterOnTrack (Identifier id, std::vector< std::pair< Identifier, double > > const &ClusterIDs) const |
| checks if cluster is on track More...
|
|
bool | isClusterOnTrack (Identifier id, std::vector< std::pair< Identifier, double > > const &ClusterIDs, double &cosalpha) const |
| checks if cluster is on track and returns its cosalpha More...
|
|
void | fill2DProfLayerAccum (const VecAccumulator2DMap &accumulator) const |
| take VecAccumulator2DMap and fill the corresponding group More...
|
|
void | fill1DModProfAccum (const VecAccumulator2DMap &accumulator, int lumiblock) const |
| take VecAccumulator2DMap and fill 3D arrays [layer, pm, em] with its values and lumiblock More...
|
|
void | fillFromArrays (const std::string &namePP0, AccumulatorArrays &pixarrays, const std::string &name2DMap="") const |
| filling 1DProfile per-pp0(ROD) histograms for ["ECA","ECC","BLayer","Layer1","Layer2","IBLA","IBLC"] More...
|
|
virtual StatusCode | execute (const EventContext &ctx) const override |
| Applies filters and trigger requirements. More...
|
|
void | fill (const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const |
| Fills a vector of variables to a group by reference. More...
|
|
void | fill (const ToolHandle< GenericMonitoringTool > &groupHandle, const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &variables) const |
| Fills a vector of variables to a group by reference. More...
|
|
template<typename... T> |
void | fill (const ToolHandle< GenericMonitoringTool > &groupHandle, T &&... variables) const |
| Fills a variadic list of variables to a group by reference. More...
|
|
void | fill (const std::string &groupName, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const |
| Fills a vector of variables to a group by name. More...
|
|
void | fill (const std::string &groupName, const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &variables) const |
| Fills a vector of variables to a group by name. More...
|
|
template<typename... T> |
void | fill (const std::string &groupName, T &&... variables) const |
| Fills a variadic list of variables to a group by name. More...
|
|
Environment_t | environment () const |
| Accessor functions for the environment. More...
|
|
Environment_t | envStringToEnum (const std::string &str) const |
| Convert the environment string from the python configuration to an enum object. More...
|
|
DataType_t | dataType () const |
| Accessor functions for the data type. More...
|
|
DataType_t | dataTypeStringToEnum (const std::string &str) const |
| Convert the data type string from the python configuration to an enum object. More...
|
|
const ToolHandle< GenericMonitoringTool > & | getGroup (const std::string &name) const |
| Get a specific monitoring tool from the tool handle array. More...
|
|
const ToolHandle< Trig::TrigDecisionTool > & | getTrigDecisionTool () const |
| Get the trigger decision tool member. More...
|
|
bool | trigChainsArePassed (const std::vector< std::string > &vTrigNames) const |
| Check whether triggers are passed. More...
|
|
SG::ReadHandle< xAOD::EventInfo > | GetEventInfo (const EventContext &) const |
| Return a ReadHandle for an EventInfo object (get run/event numbers, etc.) More...
|
|
virtual float | lbAverageInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the average mu, i.e. More...
|
|
virtual float | lbInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate instantaneous number of interactions, i.e. More...
|
|
virtual float | lbAverageLuminosity (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1). More...
|
|
virtual float | lbLuminosityPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the instantaneous luminosity per bunch crossing. More...
|
|
virtual double | lbDuration (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the duration of the luminosity block (in seconds) More...
|
|
virtual float | lbAverageLivefraction (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the average luminosity livefraction. More...
|
|
virtual float | livefractionPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the live fraction per bunch crossing ID. More...
|
|
virtual double | lbLumiWeight (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the average integrated luminosity multiplied by the live fraction. More...
|
|
virtual StatusCode | parseList (const std::string &line, std::vector< std::string > &result) const |
| Parse a string into a vector. More...
|
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. More...
|
|
virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
|
|
virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
virtual bool | filterPassed (const EventContext &ctx) const |
|
virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
string | runtext = '' |
|
int | NumLayersDisk = 3 |
|
int | NumStavesIBL = 14 |
|
int | NumStavesL0 = 22 |
|
int | NumStavesL1 = 38 |
|
int | NumStavesL2 = 52 |
|
int | NumModulesBarrel = 13 |
|
int | NumModulesDisk = 48 |
|
int | NumPP0sEC = 24 |
|
string | btxt = ";eta index of module" |
|
string | sbtxt = ";shifted eta index of module" |
|
string | ditxt = ";disk number" |
|
list | layers = ["ECA","ECC","BLayer","Layer1","Layer2","IBL2D","IBL3D"] |
|
list | baselayers = ["ECA","ECC","BLayer","Layer1","Layer2","IBL"] |
|
list | xbinsl = [ 3, 3, 13, 13, 13, 32] |
|
list | xminsl = [ -0.5, -0.5,-6.5,-6.5,-6.5,-16.5] |
|
list | ybinsl = [ 48, 48, 22, 38, 52, 14] |
|
list | etatxt = [ditxt,ditxt,btxt,btxt,btxt,sbtxt] |
|
string | phitext = ";phi index of module" |
|
list | xbinsfel = [ 24, 24, 104, 104, 104, 32] |
|
list | xminsfel = [ -0.5, -0.5, -52, -52, -52,-16.5] |
|
list | ybinsfel = [ 96, 96, 44, 76, 104, 14] |
|
list | totcuts = [ 15, 15, 15, 15, 15, 4, 4] |
|
list | xbinsem = [ 3, 3, 13, 13, 13, 20] |
|
list | xminsem = [ 0.5, 0.5,-6.5,-6.5,-6.5, -10] |
|
list | xbinstotz = [ 3, 3, 13, 13, 13, 20] |
|
list | xminstotz = [ -0.5, -0.5,-0.5,-0.5,-0.5, -0.5] |
|
list | ztotbinsy = [ 20, 20, 20, 20, 20, 20, 20] |
|
list | ztotminsy = [ 19.5, 19.5, 7.5,19.5,19.5, -0.5, -0.5] |
|
list | errbbinsy = [ 17, 17, 17, 17, 17, 27, 27] |
|
list | errbminsy = [ 0, 0, 0, 0, 0, 0, 0] |
|
list | errbbsizy = [ 1, 1, 1, 1, 1, 1, 1] |
|
list | errtbinsy = [ 7, 7, 7, 7, 7, 7, 7] |
|
list | pp0layers = ["ECA","ECC","BLayer","Layer1","Layer2","IBLA","IBLC"] |
|
list | pp0xbins = [ 24, 24, 22, 38, 52, 14, 14] |
|
list | fei3layers = ["ECA","ECC","BLayer","Layer1","Layer2"] |
|
list | fei4layers = ["IBL2D","IBL3D"] |
|
string | lumitext = ";lumi block" |
|
int | lumibinsx = 3000 |
|
int | bcidbinsx = 3600 |
|
list | LayersDisk = ["Disk 1", "Disk 2", "Disk 3"] |
|
list | ModulesBarrel |
|
list | ModulesIBL |
|
list | LabelX = [LayersDisk, LayersDisk, ModulesBarrel, ModulesBarrel, ModulesBarrel, ModulesIBL] |
|
list | LayersDiskFE |
|
list | ModulesBarrelFE |
|
list | LabelFEX = [LayersDiskFE, LayersDiskFE, ModulesBarrelFE, ModulesBarrelFE, ModulesBarrelFE, ModulesIBL] |
|
list | ModulesECA |
|
list | ModulesECC |
|
list | StavesL00 |
|
list | StavesL0 |
|
list | StavesL1 |
|
list | StavesL2 |
|
list | StavesIBL |
|
list | LabelY = [ModulesECA, ModulesECC, StavesL0, StavesL1, StavesL2, StavesIBL] |
|
list | ModulesFEECA = [] |
|
list | ModulesFEECC = [] |
|
list | StavesFEL0 = [] |
|
list | StavesFEL1 = [] |
|
list | StavesFEL2 = [] |
|
list | LabelFEY = [ModulesFEECA, ModulesFEECC, StavesFEL0, StavesFEL1, StavesFEL2, StavesIBL] |
|
list | PP0sEC |
|
list | PP0LabelX = [PP0sEC, PP0sEC, StavesL0, StavesL1, StavesL2, StavesIBL, StavesIBL] |
|
list | ModulesHead = ["D", "D", "L0", "L1", "L2", "LI"] |
|
list | ErrStateLabelsFEI3 |
|
list | ErrStateLabelsFEI4 |
|
list | ErrCatRODModLabels |
|
list | ErrCatRODModLabelsNorm |
|
list | ErrCatLabels |
|
list | ErrCatLabelsNorm |
|
list | ReadingDataErrLabels |
|
dictionary | layergroups = {} |
|
|
SG::ReadHandle< InDet::SiDetectorElementStatus > | getPixelDetElStatus (const SG::ReadHandleKey< InDet::SiDetectorElementStatus > &key, const EventContext &ctx) const |
|
bool | isActive (const InDet::SiDetectorElementStatus *element_status, const IdentifierHash &module_hash) const |
|
bool | isGood (const InDet::SiDetectorElementStatus *element_status, const IdentifierHash &module_hash) const |
|
std::tuple< bool, bool > | isChipGood (const IdentifierHash &module_hash, unsigned int chip_i) const |
|
std::tuple< bool, bool > | isChipGood (const InDet::SiDetectorElementStatus &element_active, const InDet::SiDetectorElementStatus &element_status, const IdentifierHash &module_hash, unsigned int chip_i) const |
|
std::tuple< bool, bool > | isChipGood (const InDet::SiDetectorElementStatus *element_active, const InDet::SiDetectorElementStatus *element_status, const IdentifierHash &module_hash, unsigned int chip_i) const |
|
bool | isChipActive (const IdentifierHash &module_hash, unsigned int chip_i) const |
|
bool | isChipActive (const InDet::SiDetectorElementStatus *element_active, const IdentifierHash &module_hash, unsigned int chip_i) const |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
|
ToolHandle< IInDetConditionsTool > | m_pixelCondSummaryTool |
|
ServiceHandle< InDetDD::IPixelReadoutManager > | m_pixelReadout |
|
const PixelID * | m_pixelid {} |
|
std::vector< int > | m_modData [PixLayers::NBASELAYERS] |
|
SG::ReadHandleKey< InDet::SiDetectorElementStatus > | m_pixelDetElStatus {this, "PixelDetElStatus", "", "Key of SiDetectorElementStatus for Pixel"} |
| Optional read handle to get status data to test whether a pixel detector element is good. More...
|
|
SG::ReadHandleKey< InDet::SiDetectorElementStatus > | m_pixelDetElStatusActiveOnly {this, "PixelDetElStatusActiveOnly", "", "Key of SiDetectorElementStatus for Pixel which reflects only whether modules or chips are active rather than delivering good data"} |
| Optional read handle to get status data to test whether a pixel detector element is active. More...
|
|
ToolHandleArray< GenericMonitoringTool > | m_tools {this,"GMTools",{}} |
| Array of Generic Monitoring Tools. More...
|
|
PublicToolHandle< Trig::TrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
| Tool to tell whether a specific trigger is passed. More...
|
|
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
| Array of Data Quality filter tools. More...
|
|
SG::ReadCondHandleKey< LuminosityCondData > | m_lumiDataKey {this,"LuminosityCondDataKey","LuminosityCondData","SG Key of LuminosityCondData object"} |
|
SG::ReadCondHandleKey< LBDurationCondData > | m_lbDurationDataKey {this,"LBDurationCondDataKey","LBDurationCondData","SG Key of LBDurationCondData object"} |
|
SG::ReadCondHandleKey< TrigLiveFractionCondData > | m_trigLiveFractionDataKey {this,"TrigLiveFractionCondDataKey","TrigLiveFractionCondData", "SG Key of TrigLiveFractionCondData object"} |
|
AthMonitorAlgorithm::Environment_t | m_environment |
| Instance of the Environment_t enum. More...
|
|
AthMonitorAlgorithm::DataType_t | m_dataType |
| Instance of the DataType_t enum. More...
|
|
Gaudi::Property< std::string > | m_environmentStr {this,"Environment","user"} |
| Environment string pulled from the job option and converted to enum. More...
|
|
Gaudi::Property< std::string > | m_dataTypeStr {this,"DataType","userDefined"} |
| DataType string pulled from the job option and converted to enum. More...
|
|
Gaudi::Property< std::string > | m_triggerChainString {this,"TriggerChain",""} |
| Trigger chain string pulled from the job option and parsed into a vector. More...
|
|
std::vector< std::string > | m_vTrigChainNames |
| Vector of trigger chain names parsed from trigger chain string. More...
|
|
Gaudi::Property< std::string > | m_fileKey {this,"FileKey",""} |
| Internal Athena name for file. More...
|
|
Gaudi::Property< bool > | m_useLumi {this,"EnableLumi",false} |
| Allows use of various luminosity functions. More...
|
|
Gaudi::Property< float > | m_defaultLBDuration {this,"DefaultLBDuration",60.} |
| Default duration of one lumi block. More...
|
|
Gaudi::Property< int > | m_detailLevel {this,"DetailLevel",0} |
| Sets the level of detail used in the monitoring. More...
|
|
SG::ReadHandleKey< xAOD::EventInfo > | m_EventInfoKey {this,"EventInfoKey","EventInfo"} |
| Key for retrieving EventInfo from StoreGate. More...
|
|
|
ToolHandle< Trk::ITrackHoleSearchTool > | m_holeSearchTool |
|
ToolHandle< InDet::IInDetTrackSelectionTool > | m_trackSelTool |
|
ToolHandle< Trk::IExtrapolator > | m_trkextrapolator |
|
const AtlasDetectorID * | m_atlasid {} |
|
SG::ReadHandleKey< PixelRDO_Container > | m_pixelRDOName {this, "RDOName", "PixelRDOs", "rdo data key"} |
|
SG::ReadHandleKey< InDet::PixelClusterContainer > | m_clustersKey {this, "ClusterName", "PixelClusters", "pixel cluster data key" } |
|
SG::ReadHandleKey< xAOD::TrackParticleContainer > | m_trackParticlesKey {this, "TrackParticleContainerName", "InDetTrackParticles", "track particle data key"} |
|
std::string | m_calibFolder |
|
std::map< std::string, std::unique_ptr< MVAUtils::BDT > > | m_classBDT |
|
bool | m_dumpTree |
|
std::string | m_name |
|
std::unordered_map< std::string, size_t > | m_toolLookupMap |
|
const ToolHandle< GenericMonitoringTool > | m_dummy |
|
Gaudi::Property< bool > | m_enforceExpressTriggers |
|
DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
|
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 36 of file PixelAthMVAMonAlg.h.
◆ MonVarVec_t
◆ StoreGateSvc_t
◆ DataType_t
Specifies what type of input data is being monitored.
An enumeration of the different types of data the monitoring application may be running over. This can be used to select which histograms to produce, e.g. to prevent the production of colliding-beam histograms when running on cosmic-ray data. Strings of the same names may be given as jobOptions.
Enumerator |
---|
userDefined | |
monteCarlo | |
collisions | |
cosmics | |
heavyIonCollisions | |
Definition at line 191 of file AthMonitorAlgorithm.h.
◆ Environment_t
Specifies the processing environment.
The running environment may be used to select which histograms are produced, and where they are located in the output. For example, the output paths of the histograms are different for the "user", "online" and the various offline flags. Strings of the same names may be given as jobOptions.
Enumerator |
---|
user | |
online | |
tier0 | |
tier0Raw | |
tier0ESD | |
AOD | |
altprod | |
Definition at line 172 of file AthMonitorAlgorithm.h.
◆ PixelAthMVAMonAlg()
PixelAthMVAMonAlg::PixelAthMVAMonAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~PixelAthMVAMonAlg()
PixelAthMVAMonAlg::~PixelAthMVAMonAlg |
( |
| ) |
|
|
virtual |
◆ cardinality()
unsigned int AthReentrantAlgorithm::cardinality |
( |
| ) |
const |
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 55 of file AthReentrantAlgorithm.cxx.
◆ dataType()
DataType_t AthMonitorAlgorithm::dataType |
( |
| ) |
const |
|
inlineinherited |
Accessor functions for the data type.
- Returns
- the current value of the class's DataType_t instance.
Definition at line 221 of file AthMonitorAlgorithm.h.
◆ dataTypeStringToEnum()
Convert the data type string from the python configuration to an enum object.
- Returns
- a value in the DataType_t enumeration which matches the input string.
Definition at line 140 of file AthMonitorAlgorithm.cxx.
142 std::string lowerCaseStr =
str;
146 if( lowerCaseStr ==
"userdefined" ) {
148 }
else if( lowerCaseStr ==
"montecarlo" ) {
150 }
else if( lowerCaseStr ==
"collisions" ) {
152 }
else if( lowerCaseStr ==
"cosmics" ) {
154 }
else if( lowerCaseStr ==
"heavyioncollisions" ) {
157 ATH_MSG_WARNING(
"AthMonitorAlgorithm::dataTypeStringToEnum(): Unknown data type "
158 <<
str<<
", returning userDefined.");
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ environment()
Accessor functions for the environment.
- Returns
- the current value of the class's Environment_t instance.
Definition at line 205 of file AthMonitorAlgorithm.h.
◆ envStringToEnum()
Convert the environment string from the python configuration to an enum object.
- Returns
- a value in the Environment_t enumeration which matches the input string.
Definition at line 112 of file AthMonitorAlgorithm.cxx.
114 std::string lowerCaseStr =
str;
118 if( lowerCaseStr ==
"user" ) {
120 }
else if( lowerCaseStr ==
"online" ) {
122 }
else if( lowerCaseStr ==
"tier0" ) {
124 }
else if( lowerCaseStr ==
"tier0raw" ) {
126 }
else if( lowerCaseStr ==
"tier0esd" ) {
128 }
else if( lowerCaseStr ==
"aod" ) {
130 }
else if( lowerCaseStr ==
"altprod" ) {
133 ATH_MSG_WARNING(
"AthMonitorAlgorithm::envStringToEnum(): Unknown environment "
134 <<
str<<
", returning user.");
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode AthMonitorAlgorithm::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtualinherited |
Applies filters and trigger requirements.
Then, calls fillHistograms().
- Parameters
-
ctx | event context for reentrant Athena call |
- Returns
- StatusCode
Definition at line 73 of file AthMonitorAlgorithm.cxx.
78 if (!filterItr->accept()) {
80 return StatusCode::SUCCESS;
87 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 79 of file AthReentrantAlgorithm.cxx.
86 return Algorithm::extraOutputDeps();
◆ fill1DModProfAccum()
take VecAccumulator2DMap and fill 3D arrays [layer, pm, em] with its values and lumiblock
Definition at line 135 of file PixelAthMonitoringBase.cxx.
140 for (
const auto& itr : accumulator.m_pm) {
141 int layer = itr.first;
142 auto pm_v = accumulator.m_pm.at(
layer);
143 auto em_v = accumulator.m_em.at(
layer);
144 auto val_v = accumulator.m_val.at(
layer);
145 auto pi = pm_v.begin();
146 auto ei = em_v.begin();
147 auto vi = val_v.begin();
148 while (
pi!=pm_v.end() and ei!=em_v.end() and vi!=val_v.end() )
151 auto em = em_offsets[
layer] + *ei++;
◆ fill1DProfLumiLayers()
void PixelAthMonitoringBase::fill1DProfLumiLayers |
( |
const std::string & |
prof1Dname, |
|
|
int |
lb, |
|
|
float * |
weights, |
|
|
int |
nlayers = PixLayers::COUNT |
|
) |
| const |
|
inherited |
filling 1DProf per-lumi per-layer histograms ["ECA","ECC","BLayer","Layer1","Layer2","IBL","IBL2D","IBL3D"]
Definition at line 163 of file PixelAthMonitoringBase.cxx.
175 for (
int i = i_start;
i < i_end;
i++) {
◆ fill2DProfLayerAccum()
take VecAccumulator2DMap and fill the corresponding group
Definition at line 119 of file PixelAthMonitoringBase.cxx.
121 for (
const auto& itr : accumulator.m_pm) {
123 int layer = itr.first;
◆ fill2DProfLumiLayers()
void PixelAthMonitoringBase::fill2DProfLumiLayers |
( |
const std::string & |
prof2Dname, |
|
|
int |
lb, |
|
|
float(*) |
weights[PixLayers::COUNT], |
|
|
const int * |
nCategories |
|
) |
| const |
|
inherited |
filling 2DProf per-lumi per-layer histograms ["ECA","ECC","BLayer","Layer1","Layer2","IBL2D","IBL3D"]
Definition at line 186 of file PixelAthMonitoringBase.cxx.
◆ fillFromArrays()
void PixelAthMonitoringBase::fillFromArrays |
( |
const std::string & |
namePP0, |
|
|
AccumulatorArrays & |
pixarrays, |
|
|
const std::string & |
name2DMap = "" |
|
) |
| const |
|
inherited |
filling 1DProfile per-pp0(ROD) histograms for ["ECA","ECC","BLayer","Layer1","Layer2","IBLA","IBLC"]
Definition at line 209 of file PixelAthMonitoringBase.cxx.
213 const float weightPix = 1.0 / 46080.0;
214 const float weightIBL = 1.0 / 26880.0;
216 bool fillPP0only(name2DMap ==
"");
217 std::string pospp0varx = namePP0 +
"_pospp0x";
218 std::string valvarp = namePP0 +
"_val";
219 std::string posvarx = name2DMap +
"_em";
220 std::string posvary = name2DMap +
"_pm";
221 std::string valvarm = name2DMap +
"_val";
237 if (pixarrays.DA[
a][
b] > -1) {
238 fill(
"ECA", pospp0x, valp);
239 if (!fillPP0only)
fill(
"ECA", posx, posy, valm);
241 valp = pixarrays.DC[
a][
b];
242 valm = pixarrays.DC[
a][
b] * weightPix;
243 if (pixarrays.DC[
a][
b] > -1) {
244 fill(
"ECC", pospp0x, valp);
245 if (!fillPP0only)
fill(
"ECC", posx, posy, valm);
261 if (pixarrays.B0[
a][
b] > -1) {
262 fill(
"BLayer", pospp0x, valp);
263 if (!fillPP0only)
fill(
"BLayer", posx, posy, valm);
271 if (pixarrays.B1[
a][
b] > -1) {
272 fill(
"Layer1", pospp0x, valp);
273 if (!fillPP0only)
fill(
"Layer1", posx, posy, valm);
281 if (pixarrays.B2[
a][
b] > -1) {
282 fill(
"Layer2", pospp0x, valp);
283 if (!fillPP0only)
fill(
"Layer2", posx, posy, valm);
289 for (
unsigned int a = 0;
a < nbina; ++
a) {
292 for (
unsigned int b = 0;
b < nbinb; ++
b) {
299 if (pixarrays.IBL[
a][
b] > -1) {
300 if (
b > (0.5 * nbinb - 1)) {
301 fill(
"IBLA", pospp0x, valp);
303 fill(
"IBLC", pospp0x, valp);
305 if (!fillPP0only)
fill(
"IBL", posx, posy, valm);
◆ fillHistograms()
StatusCode PixelAthMVAMonAlg::fillHistograms |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
adds event to the monitoring histograms
User will overwrite this function. Histogram booking is no longer done in C++. This function is called in execute once the filters are all passed.
- Parameters
-
ctx | forwarded from execute |
- Returns
- StatusCode
Implements AthMonitorAlgorithm.
Definition at line 69 of file PixelAthMVAMonAlg.cxx.
71 ATH_MSG_DEBUG(
"Pixel MVAMon: Filling MVA Monitoring Histograms");
84 std::vector<float>
status(MAXHASH*2);
88 for (; idIt != idItEnd; ++idIt) {
93 if (pixlayer == 99)
continue;
100 for (
int iFE=0; iFE<nFE; iFE++) {
102 if (pixID.is_valid()) {
108 if (is_good)
status[modHash+MAXHASH*iFE] = 0;
109 else status[modHash+MAXHASH*iFE] = 1;
111 else status[modHash+MAXHASH*iFE] = 2;
123 if (is_good)
status[modHash] = 0;
134 if ( !(trackParticles.isValid()) ) {
136 return StatusCode::RECOVERABLE;
138 ATH_MSG_DEBUG(
"Pixel MVAMon: TrackParticle container "<< trackParticles.name() <<
" is found.");
141 bool eventHasPixHits(
false);
142 std::vector<std::pair<Identifier, double> > ClusterIDs;
144 std::vector<float>
holes(MAXHASH*2);
145 std::vector<float> outliers(MAXHASH*2);
146 std::vector<float> measurements(MAXHASH*2);
147 std::vector<float> trkalpha(MAXHASH*2);
148 std::vector<float> trkchi2byndf(MAXHASH*2);
149 std::vector<float> trknpixdead(MAXHASH*2);
150 std::vector<float> trknblayerhits(MAXHASH*2);
154 for (
auto trackPart: *trackParticles) {
159 ATH_MSG_DEBUG(
"Pixel MVAMon: Track either invalid or it does not contain pixel hits, continuing...");
164 bool hasIBLTSOS(
false);
167 if (!passJOTrkCut)
continue;
168 float trkfitndf =
track->fitQuality()->numberDoF();
169 float trkfitchi2byndf =
track->fitQuality()->chiSquared();
170 if (trkfitndf != 0) trkfitchi2byndf /= trkfitndf;
173 float nblayerhits(0);
180 std::unique_ptr<const Trk::Track> trackWithHolesUnique =
nullptr;
182 if ( nPixHoles > 0 ) {
184 trackWithHoles = trackWithHolesUnique.get();
186 const Trk::TrackStates *trackStates = trackWithHoles->trackStateOnSurfaces();
187 for (
auto trackStateOnSurface: *trackStates) {
197 if (mesBase && !RIOOnTrack)
continue;
209 ATH_MSG_DEBUG(
"Pixel MVAMon: can't obtain track parameters for TSOS.");
218 if (pixlayer == 99)
continue;
228 bool goodPixelMeasurement(
false);
235 if ( mesBase && pixClus) {
237 if ( !(locPosID.is_valid()) ) {
238 ATH_MSG_WARNING(
"Pixel MVAMon: got invalid track local position on surface for an outlier.");
242 outliers[indexModule+MAXHASH*iFE] += 1;
247 outliers[indexModule] += 1;
255 if ( !(locPosID.is_valid()) ) {
256 ATH_MSG_WARNING(
"Pixel MVAMon: got invalid track local position on surface for a hole.");
260 holes[indexModule+MAXHASH*iFE] += 1;
264 holes[indexModule] += 1;
271 if (not mesBase)
continue;
274 if (!sde || !pixClus)
continue;
276 if (!rawPixClus)
continue;
279 goodPixelMeasurement =
true;
281 if ( !(locPosID.is_valid()) ) {
286 measurements[indexModule+MAXHASH*iFE] += 1;
293 double trackpnormcomp = trackp.dot(normal);
294 double trackp_mag = trackp.mag();
295 double alpha = 0.5 *
M_PI;
296 if (trackp_mag != 0) alpha = std::acos(std::abs(trackpnormcomp / trackp_mag));
298 trkalpha[indexModule+MAXHASH*iFE] += alpha;
300 if (goodPixelMeasurement) ClusterIDs.emplace_back(locPosID, alpha);
302 trkchi2byndf[indexModule+MAXHASH*iFE] += trkfitchi2byndf;
303 trknpixdead[indexModule+MAXHASH*iFE] += npixdead;
304 trknblayerhits[indexModule+MAXHASH*iFE] += nblayerhits;
306 eventHasPixHits = eventHasPixHits || (
nPixelHits > 0);
309 if (!hasIBLTSOS && expIBLhit==1 && nPixHoles==0 )
313 transSurf.setIdentity();
315 std::vector<std::unique_ptr<Trk::TrackParameters> > iblTrkParameters =
318 double alpha = 0.5 *
M_PI;
319 bool foundIBLElem(
false);
321 for (
auto&
tp: iblTrkParameters) {
323 if (!(sde !=
nullptr && sde->
identify() != 0)) {
328 ATH_MSG_DEBUG(
"Pixel MVAMon: found non-IBL element: "<< sensorPosID);
333 if ( !(chipPosID.is_valid()) ) {
335 ATH_MSG_DEBUG(
"Pixel MVAMon: got invalid track local position on surface for an expected IBL hit.");
337 }
else foundIBLElem=
true;
338 double trackpnormcomp =
tp->momentum().dot(
tp->associatedSurface().normal());
339 double trackp_mag =
tp->momentum().mag();
340 if (trackp_mag != 0) alpha = std::acos(std::abs(trackpnormcomp / trackp_mag));
343 ATH_MSG_DEBUG(
"Pixel MVAMon: couldn't find IBL pos ID: "<< sensorPosID);
348 holes[indexModule+MAXHASH*iFE] += 1;
349 trkalpha[indexModule+MAXHASH*iFE] += alpha;
350 trkchi2byndf[indexModule+MAXHASH*iFE] += trkfitchi2byndf;
351 trknpixdead[indexModule+MAXHASH*iFE] += npixdead;
352 trknblayerhits[indexModule+MAXHASH*iFE] += nblayerhits;
356 if (!eventHasPixHits) {
357 ATH_MSG_DEBUG(
"Pixel MVAMon: event doesn't contain any pixel hits on tracks, skipping evaluation.");
358 return StatusCode::SUCCESS;
362 sort(ClusterIDs.begin(), ClusterIDs.end(), [](
const std::pair<Identifier, double> &left,
const std::pair<Identifier, double> &right) {
363 return left.first < right.first;
366 std::vector<float> misshitsf(MAXHASH*2);
368 for (
int ih=0; ih<MAXHASH; ++ih) {
369 alltrackinfo =
holes[ih] + outliers[ih] + measurements[ih];
371 misshitsf[ih] = (
holes[ih]+outliers[ih])/alltrackinfo;
372 trkalpha[ih] = trkalpha[ih]/alltrackinfo;
373 trkchi2byndf[ih] = trkchi2byndf[ih]/alltrackinfo;
374 trknpixdead[ih] = trknpixdead[ih]/alltrackinfo;
375 trknblayerhits[ih] = trknblayerhits[ih]/alltrackinfo;
378 alltrackinfo =
holes[ih+MAXHASH]+outliers[ih+MAXHASH]+measurements[ih+MAXHASH];
380 misshitsf[ih+MAXHASH] = (
holes[ih+MAXHASH]+outliers[ih+MAXHASH])/alltrackinfo;
381 trkalpha[ih+MAXHASH] = trkalpha[ih+MAXHASH]/alltrackinfo;
382 trkchi2byndf[ih+MAXHASH] = trkchi2byndf[ih+MAXHASH]/alltrackinfo;
383 trknpixdead[ih+MAXHASH] = trknpixdead[ih+MAXHASH]/alltrackinfo;
384 trknblayerhits[ih+MAXHASH] = trknblayerhits[ih+MAXHASH]/alltrackinfo;
393 std::vector<float> clsall(MAXHASH*2);
394 std::vector<float> clsontrkf(MAXHASH*2);
395 std::vector<float> clsontrk(MAXHASH*2);
396 std::vector<float> clsofftrk(MAXHASH*2);
399 std::vector<float> clsontrksize(MAXHASH*2);
400 std::vector<float> clsontrkrowsize(MAXHASH*2);
401 std::vector<float> clsontrkcolsize(MAXHASH*2);
402 std::vector<float> clsofftrksize(MAXHASH*2);
403 std::vector<float> clsofftrkrowsize(MAXHASH*2);
404 std::vector<float> clsofftrkcolsize(MAXHASH*2);
406 std::vector<float> clsontrktot(MAXHASH*2);
407 std::vector<float> clsofftrktot(MAXHASH*2);
411 if ( !(pixel_clcontainer.isValid()) ) {
413 return StatusCode::RECOVERABLE;
415 ATH_MSG_DEBUG(
"Pixel MVAMon: Pixel Cluster container "<< pixel_clcontainer.name() <<
" is found.");
420 for (
auto colNext: *pixel_clcontainer) {
423 if (!ClusterCollection) {
424 ATH_MSG_DEBUG(
"Pixel MVAMon: Pixel Cluster container is empty.");
428 IdentifierHash clusIDHash = ClusterCollection->identifyHash();
429 int indexModule =
static_cast<int>( clusIDHash );
431 for (
auto p_clus: *ClusterCollection) {
433 clusID = p_clus->identify();
436 if (pixlayer == 99)
continue;
442 int idxCluster = indexModule+MAXHASH*iFE;
444 clsall[idxCluster] += 1;
447 double alpha = 0.5 *
M_PI;
449 clsontrk[idxCluster] += 1;
450 clsontrksize[idxCluster] += cluster.
rdoList().size();
451 clsontrkrowsize[idxCluster] += cluster.
width().
colRow().x();
452 clsontrkcolsize[idxCluster] += cluster.
width().
colRow().y();
453 clsontrktot[idxCluster] += cluster.
totalToT();
455 clsofftrk[idxCluster] += 1;
456 clsofftrksize[idxCluster] += cluster.
rdoList().size();
457 clsofftrkrowsize[idxCluster]+= cluster.
width().
colRow().x();
458 clsofftrkcolsize[idxCluster]+= cluster.
width().
colRow().y();
459 clsofftrktot[idxCluster] += cluster.
totalToT();
469 for (
int ih=0; ih<MAXHASH; ++ih) {
471 clsontrksize[ih] /= clsontrk[ih];
472 clsontrkrowsize[ih]/= clsontrk[ih];
473 clsontrkcolsize[ih]/= clsontrk[ih];
474 clsontrktot[ih] /= clsontrk[ih];
477 clsofftrksize[ih] /= clsofftrk[ih];
478 clsofftrkrowsize[ih]/= clsofftrk[ih];
479 clsofftrkcolsize[ih]/= clsofftrk[ih];
480 clsofftrktot[ih] /= clsofftrk[ih];
483 clsontrkf[ih] = clsontrk[ih]/clsall[ih];
487 if (clsontrk[ih+MAXHASH]) {
488 clsontrksize[ih+MAXHASH] /= clsontrk[ih+MAXHASH];
489 clsontrkrowsize[ih+MAXHASH]/= clsontrk[ih+MAXHASH];
490 clsontrkcolsize[ih+MAXHASH]/= clsontrk[ih+MAXHASH];
491 clsontrktot[ih+MAXHASH] /= clsontrk[ih+MAXHASH];
493 if (clsofftrk[ih+MAXHASH]) {
494 clsofftrksize[ih+MAXHASH] /= clsofftrk[ih+MAXHASH];
495 clsofftrkrowsize[ih+MAXHASH]/= clsofftrk[ih+MAXHASH];
496 clsofftrkcolsize[ih+MAXHASH]/= clsofftrk[ih+MAXHASH];
497 clsofftrktot[ih+MAXHASH] /= clsofftrk[ih+MAXHASH];
499 if (clsall[ih+MAXHASH]) {
500 clsontrkf[ih+MAXHASH] = clsontrk[ih+MAXHASH]/clsall[ih+MAXHASH];
508 std::vector<float> bdtweights(MAXHASH*2);
509 VecAccumulator2DMap BDT_Weights(*
this,
"BDTWeights");
511 for (
int ih=12; ih<MAXHASH-12; ++ih)
518 if ( ih>=156 && ih<=435 )
522 if (module<4 || module>15)
continue;
523 else mod_eta =
module-9.5;
525 else if (ih>=436 && ih<=721 )
530 else if (ih>=722 && ih<=1215)
535 else if (ih>=1216 && ih<=1891)
540 else if ( (ih>=12 && ih<=155) || (ih>=1892 && ih<=2035) )
550 if (pixlayer == 99)
continue;
551 std::string partitionLabel(
"Disks");
554 for (
int iFE=0; iFE<nFE; iFE++) {
558 if (!pixID.is_valid()) {
563 if (mod_eta > 0)
el_eta-=1.0;
567 int idx = ih+MAXHASH*iFE;
568 if (
status[
idx]==2 ) BDT_Weights.add(pixlayer, pixID, 0);
571 std::vector<float> bdtVars;
573 bdtVars = {
el_eta, misshitsf[
idx], clsontrkf[
idx], clsontrkrowsize[
idx],
574 clsontrkcolsize[
idx], clsofftrkrowsize[
idx], clsofftrkcolsize[
idx],
575 clsontrktot[
idx], clsofftrktot[
idx], trkalpha[
idx],
576 trkchi2byndf[
idx], trknpixdead[
idx], trknblayerhits[
idx] };
578 bdtVars = {
el_eta, misshitsf[
idx], clsontrkf[
idx], clsontrkrowsize[
idx],
579 clsontrkcolsize[
idx], clsofftrkrowsize[
idx], clsofftrkcolsize[
idx],
580 clsontrktot[
idx], clsofftrktot[
idx], trkalpha[
idx],
581 trkchi2byndf[
idx], trknpixdead[
idx] };
583 bdtweights[
idx] =
m_classBDT.at(partitionLabel)->GetClassification(bdtVars);
584 BDT_Weights.add(pixlayer, pixID, bdtweights[
idx]);
618 fill( mvaGroup, lbval, mon_status_vec, mon_h_vec, mon_o_vec, mon_m_vec,
619 mon_clsontrkf_vec, mon_clsontrk_vec, mon_clsofftrk_vec, mon_clsall_vec,
620 mon_clsontrksize_vec, mon_clsontrkrowsize_vec, mon_clsontrkcolsize_vec,
621 mon_clsofftrksize_vec, mon_clsofftrkrowsize_vec, mon_clsofftrkcolsize_vec,
622 mon_clsontrktot_vec, mon_clsofftrktot_vec, mon_trkalpha_vec, mon_trkchi2byndf_vec,
623 mon_trknpixdead_vec, mon_trknblayerhits_vec, mon_mva_vec );
626 return StatusCode::SUCCESS;
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ findComponentString()
std::string PixelAthMVAMonAlg::findComponentString |
( |
int |
bec, |
|
|
int |
ld |
|
) |
| const |
◆ GetEventInfo()
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
- Parameters
-
ctx | EventContext for the event |
- Returns
- a SG::ReadHandle<xAOD::EventInfo>
Definition at line 107 of file AthMonitorAlgorithm.cxx.
◆ getGroup()
Get a specific monitoring tool from the tool handle array.
Finds a specific GenericMonitoringTool instance from the list of monitoring tools (a ToolHandleArray). Throws a FATAL warning if the object found is empty.
- Parameters
-
name | string name of the desired tool |
- Returns
- reference to the desired monitoring tool
Definition at line 164 of file AthMonitorAlgorithm.cxx.
171 if (!isInitialized()) {
173 "It seems that the AthMonitorAlgorithm::initialize was not called "
174 "in derived class initialize method");
178 [](
const std::string&
s,
auto h) { return s +
"," + h.first; });
179 ATH_MSG_FATAL(
"The tool " <<
name <<
" could not be found in the tool array of the "
180 <<
"monitoring algorithm " <<
m_name <<
". This probably reflects a discrepancy between "
181 <<
"your python configuration and c++ filling code. Note: your available groups are {"
182 << available <<
"}.");
◆ getNumberOfFEs()
int PixelAthMonitoringBase::getNumberOfFEs |
( |
int |
pixlayer, |
|
|
int |
etaMod |
|
) |
| const |
|
inherited |
◆ getPhiEtaMod()
void PixelAthMonitoringBase::getPhiEtaMod |
( |
Identifier & |
id, |
|
|
int & |
phiMod, |
|
|
int & |
etaMod, |
|
|
bool & |
copyFE |
|
) |
| const |
|
inherited |
helper function to get eta phi coordinates of per-layer arrays
Definition at line 388 of file PixelAthMonitoringBase.cxx.
397 if (layerDisk == 0) {
◆ getPixelDetElStatus()
Definition at line 158 of file PixelAthMonitoringBase.h.
162 if (!pixelDetElStatus.
isValid()) {
163 std::stringstream
msg;
164 msg <<
"Failed to get " <<
key.key() <<
" from StoreGate in " <<
name();
165 throw std::runtime_error(
msg.str());
168 return pixelDetElStatus;
◆ getPixLayersID()
int PixelAthMonitoringBase::getPixLayersID |
( |
int |
ec, |
|
|
int |
ld |
|
) |
| const |
|
inherited |
◆ getTrigDecisionTool()
Get the trigger decision tool member.
The trigger decision tool is used to check whether a specific trigger is passed by an event.
- Returns
- m_trigDecTool
Definition at line 189 of file AthMonitorAlgorithm.cxx.
◆ initialize()
StatusCode PixelAthMVAMonAlg::initialize |
( |
| ) |
|
|
overridevirtual |
initialize
- Returns
- StatusCode
Reimplemented from PixelAthMonitoringBase.
Definition at line 35 of file PixelAthMVAMonAlg.cxx.
47 std::string partitionLabel(
"Disks");
53 std::unique_ptr<TFile> calibFile(TFile::Open(fullPathToTrainingFile.c_str(),
"READ"));
55 ATH_MSG_ERROR(
"Can not retrieve PixelMonitoring calibration file: " << fullPathToTrainingFile);
56 return StatusCode::FAILURE;
58 std::unique_ptr<TTree> trainingWeights( (TTree*)calibFile->Get(
"lgbm") );
59 m_classBDT.emplace( std::make_pair(partitionLabel, std::make_unique<MVAUtils::BDT>( trainingWeights.get())) );
65 return StatusCode::SUCCESS;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ isActive()
◆ isChipActive() [1/2]
bool PixelAthMonitoringBase::isChipActive |
( |
const IdentifierHash & |
module_hash, |
|
|
unsigned int |
chip_i |
|
) |
| const |
|
inlineprotectedinherited |
Definition at line 198 of file PixelAthMonitoringBase.h.
200 bool is_active=
false;
203 const EventContext& ctx{Gaudi::Hive::currentContext()};
◆ isChipActive() [2/2]
Definition at line 229 of file PixelAthMonitoringBase.h.
232 bool ret( element_active
233 ? element_active->
isChipGood(module_hash, chip_i)
235 #ifdef DO_VALIDATE_STATUS_ARRAY
236 const EventContext& ctx{Gaudi::Hive::currentContext()};
◆ isChipGood() [1/3]
std::tuple<bool,bool> PixelAthMonitoringBase::isChipGood |
( |
const IdentifierHash & |
module_hash, |
|
|
unsigned int |
chip_i |
|
) |
| const |
|
inlineprotectedinherited |
Definition at line 184 of file PixelAthMonitoringBase.h.
186 bool is_active=
false;
190 const EventContext& ctx{Gaudi::Hive::currentContext()};
196 return std::make_tuple(is_active,is_good);
◆ isChipGood() [2/3]
◆ isChipGood() [3/3]
Definition at line 214 of file PixelAthMonitoringBase.h.
218 std::tuple<bool,bool> ret( element_active && element_status
219 ?
isChipGood( *element_active, *element_status, module_hash, chip_i)
221 #ifdef DO_VALIDATE_STATUS_ARRAY
223 const EventContext& ctx{Gaudi::Hive::currentContext()};
◆ isClonable()
bool AthReentrantAlgorithm::isClonable |
( |
| ) |
const |
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ isClusterOnTrack() [1/2]
bool PixelAthMonitoringBase::isClusterOnTrack |
( |
Identifier |
id, |
|
|
std::vector< std::pair< Identifier, double > > const & |
ClusterIDs |
|
) |
| const |
|
inherited |
checks if cluster is on track
Definition at line 431 of file PixelAthMonitoringBase.cxx.
433 bool onTrack =
false;
435 std::pair<Identifier, double> searchVal = std::make_pair(
id, -1.0);
436 onTrack = std::binary_search(ClusterIDs.begin(), ClusterIDs.end(), searchVal,
437 [](std::pair<Identifier, double>
l, std::pair<Identifier, double>
r) ->
bool {
438 return l.first < r.first;
◆ isClusterOnTrack() [2/2]
bool PixelAthMonitoringBase::isClusterOnTrack |
( |
Identifier |
id, |
|
|
std::vector< std::pair< Identifier, double > > const & |
ClusterIDs, |
|
|
double & |
cosalpha |
|
) |
| const |
|
inherited |
checks if cluster is on track and returns its cosalpha
Definition at line 448 of file PixelAthMonitoringBase.cxx.
453 std::pair<Identifier, double> searchVal = std::make_pair(
id, -1.0);
454 auto it = std::lower_bound(ClusterIDs.begin(), ClusterIDs.end(), searchVal,
455 [](std::pair<Identifier, double>
l, std::pair<Identifier, double>
r) ->
bool {
456 return l.first < r.first;
459 if (
it != ClusterIDs.end() && !(
id < (*it).first)) {
461 cosalpha = (*it).second;
◆ isGood()
◆ isHitOnTrack()
◆ isIBL2D()
bool PixelAthMonitoringBase::isIBL2D |
( |
int |
hashID | ) |
const |
|
inherited |
helper function to check if module is IBL planar based on pixel hash ID
Definition at line 336 of file PixelAthMonitoringBase.cxx.
338 if ( hashID>=156 && hashID<=435 )
340 int module = (hashID-156) % 20;
◆ isIBL3D()
bool PixelAthMonitoringBase::isIBL3D |
( |
int |
hashID | ) |
const |
|
inherited |
helper function to check if module is IBL 3D based on pixel hash ID
Definition at line 354 of file PixelAthMonitoringBase.cxx.
356 if ( hashID>=156 && hashID<=435 )
358 int module = (hashID-156) % 20;
359 if (module<4 || module>15)
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ parseList()
StatusCode AthMonitorAlgorithm::parseList |
( |
const std::string & |
line, |
|
|
std::vector< std::string > & |
result |
|
) |
| const |
|
virtualinherited |
Parse a string into a vector.
The input string is a single long string of all of the trigger names. It parses this string and turns it into a vector, where each element is one trigger or trigger category.
- Parameters
-
line | The input string. |
result | The parsed output vector of strings. |
- Returns
- StatusCode
Definition at line 336 of file AthMonitorAlgorithm.cxx.
338 std::stringstream
ss(
line);
342 while ( std::getline(
ss,
item,
',') ) {
343 std::stringstream iss(
item);
348 return StatusCode::SUCCESS;
◆ renounce()
◆ renounceArray()
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ sysExecute()
StatusCode AthReentrantAlgorithm::sysExecute |
( |
const EventContext & |
ctx | ) |
|
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 67 of file AthReentrantAlgorithm.cxx.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ sysInitialize()
StatusCode AthReentrantAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 96 of file AthReentrantAlgorithm.cxx.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ trigChainsArePassed()
bool AthMonitorAlgorithm::trigChainsArePassed |
( |
const std::vector< std::string > & |
vTrigNames | ) |
const |
|
inherited |
Check whether triggers are passed.
For the event, use the trigger decision tool to check that at least one of the triggers listed in the supplied vector is passed.
- Parameters
-
vTrigNames | List of trigger names. |
- Returns
- If empty input, default to true. If at least one trigger is specified, returns whether at least one trigger was passed.
Definition at line 194 of file AthMonitorAlgorithm.cxx.
198 if (vTrigNames.empty())
return true;
210 bool expressPass = passedBits & TrigDefs::Express_passed;
217 return group->isPassed();
◆ updateVHKA()
◆ baselayers
list PixelAthMonitoringBase.baselayers = ["ECA","ECC","BLayer","Layer1","Layer2","IBL"] |
|
inherited |
◆ bcidbinsx
int PixelAthMonitoringBase.bcidbinsx = 3600 |
|
inherited |
◆ btxt
string PixelAthMonitoringBase.btxt = ";eta index of module" |
|
inherited |
◆ ditxt
string PixelAthMonitoringBase.ditxt = ";disk number" |
|
inherited |
◆ errbbinsy
list PixelAthMonitoringBase.errbbinsy = [ 17, 17, 17, 17, 17, 27, 27] |
|
inherited |
◆ errbbsizy
list PixelAthMonitoringBase.errbbsizy = [ 1, 1, 1, 1, 1, 1, 1] |
|
inherited |
◆ errbminsy
list PixelAthMonitoringBase.errbminsy = [ 0, 0, 0, 0, 0, 0, 0] |
|
inherited |
◆ ErrCatLabels
list PixelAthMonitoringBase.ErrCatLabels |
|
inherited |
Initial value:= [
("SyncErrors", "Sync Errors (FE/MCC & ROD)"),
("TruncErrors", "Trunc Errors (FE/MCC & ROD)"),
("OpticalErrors", "Preamble/Header Errors"),
("SEUErrors", "SEU Errors"),
("TimeoutErrors", "Timeout Errors")
]
Definition at line 250 of file PixelAthMonitoringBase.py.
◆ ErrCatLabelsNorm
list PixelAthMonitoringBase.ErrCatLabelsNorm |
|
inherited |
Initial value:= [
"SyncErrorsFracPerEvent",
"TruncationErrorsFracPerEvent",
"OpticalErrorsFracPerEvent",
"SEUErrorsFracPerEvent",
"TimeoutErrorsFracPerEvent"
]
Definition at line 258 of file PixelAthMonitoringBase.py.
◆ ErrCatRODModLabels
list PixelAthMonitoringBase.ErrCatRODModLabels |
|
inherited |
Initial value:= [
("SyncErrorsMod", "FE/MCC Sync Errors"),
("SyncErrorsROD", "ROD Sync Errors"),
("TruncErrorsMod", "FE/MCC Trunc Errors"),
("TruncErrorsROD", "ROD Trunc Errors"),
("OpticalErrorsRODMod", "Preamble/Header Errors"),
("SEUErrorsRODMod", "SEU Errors"),
("TimeoutErrorsRODMod", "Timeout Errors")
]
Definition at line 233 of file PixelAthMonitoringBase.py.
◆ ErrCatRODModLabelsNorm
list PixelAthMonitoringBase.ErrCatRODModLabelsNorm |
|
inherited |
Initial value:= [
"SyncErrorsModFracPerEvent",
"SyncErrorsRODFracPerEvent",
"TruncErrorsModFracPerEvent",
"TruncErrorsRODFracPerEvent"
]
Definition at line 243 of file PixelAthMonitoringBase.py.
◆ ErrStateLabelsFEI3
list PixelAthMonitoringBase.ErrStateLabelsFEI3 |
|
inherited |
Initial value:= [
("RODTimeout", "ROD Formatter Timeout"),
("RODSyncBCIDErrors", "ROD BCID Sync"),
("RODSyncLVL1IDErrors", "ROD LVL1ID Sync"),
("OpticalErrors", "Preamble/Header"),
("ModSyncLVL1IDErrors", "FE/MCC LVL1ID Sync"),
("ModSyncBCID2Errors", "FE/MCC BCID2 Sync"),
("ModSyncBCID1Errors", "FE/MCC BCID1 Sync"),
("ModTruncEoEOverflowErrors", "FE/MCC EoE Overflow Trunc"),
("ModTruncHitOverflowErrors", "FE/MCC Hit Overflow Trunc"),
("FEWarning", "FE Warning"),
("SEUHitParity", "SEU Hit Parity"),
("SEURegisterParity", "SEU Register Parity"),
("SEUHamming", "SEU Hamming Code"),
("ModTruncEOCErrors", "FE/MCC EoC Trunc"),
("RODTrailerBitErrors", "ROD Trailer Bit"),
("RODTruncHTLimitErrors", "ROD H/T Limit Trunc"),
("RODTruncRODOFErrors", "ROD Overflow Trunc")
]
Definition at line 184 of file PixelAthMonitoringBase.py.
◆ ErrStateLabelsFEI4
list PixelAthMonitoringBase.ErrStateLabelsFEI4 |
|
inherited |
Initial value:= [
("RODTimeoutErrors", "ROD Timeout"),
("RODBCIDErrors", "ROD BCID synchronization"),
("RODLVL1IDErrors", "ROD LVL1ID synchronization"),
("RODPreambleErrors", "ROD Preamble"),
("RODTrailerErrors", "ROD Trailer"),
("RODRowColumnErrors", "ROD row-column"),
("RODMaskedLink", "ROD Masked link"),
("RODLimitErrors", "ROD Header Trailer limit"),
("SR0BCIDCounterErrors", "SR0 BCID counter"),
("SR1HammingCode0Errors", "SR1 Hamming code in word 0"),
("SR2HammingCode1Errors", "SR2 Hamming code in word 1"),
("SR3HammingCode2Errors", "SR3 Hamming code in word 2"),
("SR4L1InCounterErrors", "SR4 L1 in counter"),
("SR5L1RequestCounterErrors", "SR5 L1 request counter"),
("SR6L1RegisterErrors", "SR6 L1 register"),
("SR7L1TriggerIDErrors", "SR7 L1 trigger ID"),
("SR8FEReadoutProcessErrors", "SR8 FE readout process"),
("SR15SkipppedTrigCountErrors", "SR15 Skipped trigger counter"),
("SR16TruncatedEventFlagErrors", "SR16 Truncated event"),
("SR24TripleRedundantErrorsCNFGMEM", "SR24 Triple redundant CNFGMEM"),
("SR25WriteRegDataErrors", "SR25 Write register data"),
("SR26AddressErrors", "SR26 Address"),
("SR27OtherCMDDecoderErrors", "SR27 CMD decoder"),
("SR28CMDDecoderBitflipErrors", "SR28 CMD decoder bit flip"),
("SR29TripleRedundantErrorsCMD", "SR29 Triple redundant CMD"),
("SR30DataBusAddressErrors", "SR30 Data bus address"),
("SR31TripleRedundantErrorsEFUSE", "SR31 Triple redundant EFUSE")
]
Definition at line 203 of file PixelAthMonitoringBase.py.
◆ errtbinsy
list PixelAthMonitoringBase.errtbinsy = [ 7, 7, 7, 7, 7, 7, 7] |
|
inherited |
◆ etatxt
◆ fei3layers
list PixelAthMonitoringBase.fei3layers = ["ECA","ECC","BLayer","Layer1","Layer2"] |
|
inherited |
◆ fei4layers
list PixelAthMonitoringBase.fei4layers = ["IBL2D","IBL3D"] |
|
inherited |
◆ LabelFEX
◆ LabelFEY
◆ LabelX
◆ LabelY
◆ layergroups
dictionary PixelAthMonitoringBase.layergroups = {} |
|
inherited |
◆ layers
list PixelAthMonitoringBase.layers = ["ECA","ECC","BLayer","Layer1","Layer2","IBL2D","IBL3D"] |
|
inherited |
◆ LayersDisk
list PixelAthMonitoringBase.LayersDisk = ["Disk 1", "Disk 2", "Disk 3"] |
|
inherited |
◆ LayersDiskFE
list PixelAthMonitoringBase.LayersDiskFE |
|
inherited |
Initial value:= ["Disk1_FE_8_7","Disk1_FE_9_6","Disk1_FE_10_5","Disk1_FE_11_4","Disk1_FE_12_3","Disk1_FE_13_2","Disk1_FE_14_1","Disk1_FE_15_0",
"Disk2_FE_7_8","Disk2_FE_6_9","Disk2_FE_5_10","Disk2_FE_4_11","Disk2_FE_3_12","Disk2_FE_2_13","Disk2_FE_1_14","Disk2_FE_0_15",
"Disk3_FE_8_7","Disk3_FE_9_6","Disk3_FE_10_5","Disk3_FE_11_4","Disk3_FE_12_3","Disk3_FE_13_2","Disk3_FE_14_1","Disk3_FE_15_0"]
Definition at line 73 of file PixelAthMonitoringBase.py.
◆ lumibinsx
int PixelAthMonitoringBase.lumibinsx = 3000 |
|
inherited |
◆ lumitext
string PixelAthMonitoringBase.lumitext = ";lumi block" |
|
inherited |
◆ m_atlasid
◆ m_calibFolder
std::string PixelAthMVAMonAlg::m_calibFolder |
|
private |
◆ m_classBDT
std::map<std::string, std::unique_ptr<MVAUtils::BDT> > PixelAthMVAMonAlg::m_classBDT |
|
private |
◆ m_clustersKey
◆ m_dataType
◆ m_dataTypeStr
Gaudi::Property<std::string> AthMonitorAlgorithm::m_dataTypeStr {this,"DataType","userDefined"} |
|
protectedinherited |
◆ m_defaultLBDuration
Gaudi::Property<float> AthMonitorAlgorithm::m_defaultLBDuration {this,"DefaultLBDuration",60.} |
|
protectedinherited |
◆ m_detailLevel
Gaudi::Property<int> AthMonitorAlgorithm::m_detailLevel {this,"DetailLevel",0} |
|
protectedinherited |
◆ m_detStore
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> AthMonitorAlgorithm::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_dummy
◆ m_dumpTree
bool PixelAthMVAMonAlg::m_dumpTree |
|
private |
◆ m_enforceExpressTriggers
Gaudi::Property<bool> AthMonitorAlgorithm::m_enforceExpressTriggers |
|
privateinherited |
Initial value:{this,
"EnforceExpressTriggers", false,
"Requires that matched triggers made the event enter the express stream"}
Definition at line 372 of file AthMonitorAlgorithm.h.
◆ m_environment
◆ m_environmentStr
Gaudi::Property<std::string> AthMonitorAlgorithm::m_environmentStr {this,"Environment","user"} |
|
protectedinherited |
Environment string pulled from the job option and converted to enum.
Definition at line 352 of file AthMonitorAlgorithm.h.
◆ m_EventInfoKey
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects |
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 153 of file AthReentrantAlgorithm.h.
◆ m_fileKey
Gaudi::Property<std::string> AthMonitorAlgorithm::m_fileKey {this,"FileKey",""} |
|
protectedinherited |
◆ m_holeSearchTool
◆ m_lbDurationDataKey
◆ m_lumiDataKey
◆ m_modData
◆ m_name
std::string AthMonitorAlgorithm::m_name |
|
privateinherited |
◆ m_pixelCondSummaryTool
Initial value:{
this, "PixelConditionsSummaryTool", "PixelConditionsSummaryTool", "Tool to retrieve Pixel Conditions summary"
}
Definition at line 135 of file PixelAthMonitoringBase.h.
◆ m_pixelDetElStatus
Optional read handle to get status data to test whether a pixel detector element is good.
If set to e.g. PixelDetectorElementStatus the event data will be used instead of the pixel conditions summary tool.
Definition at line 148 of file PixelAthMonitoringBase.h.
◆ m_pixelDetElStatusActiveOnly
SG::ReadHandleKey<InDet::SiDetectorElementStatus> PixelAthMonitoringBase::m_pixelDetElStatusActiveOnly {this, "PixelDetElStatusActiveOnly", "", "Key of SiDetectorElementStatus for Pixel which reflects only whether modules or chips are active rather than delivering good data"} |
|
protectedinherited |
Optional read handle to get status data to test whether a pixel detector element is active.
The optional event data is used to test whether a pixel detector element is active but not necessarily good. If set to e.g. PixelDetectorElementStatusActiveOnly the event data will be used instead of the pixel conditions summary tool.
Definition at line 155 of file PixelAthMonitoringBase.h.
◆ m_pixelid
◆ m_pixelRDOName
◆ m_pixelReadout
Initial value:{
this, "PixelReadoutManager", "PixelReadoutManager", "Pixel readout manager"
}
Definition at line 138 of file PixelAthMonitoringBase.h.
◆ m_toolLookupMap
std::unordered_map<std::string, size_t> AthMonitorAlgorithm::m_toolLookupMap |
|
privateinherited |
◆ m_tools
◆ m_trackParticlesKey
◆ m_trackSelTool
◆ m_trigDecTool
◆ m_triggerChainString
Gaudi::Property<std::string> AthMonitorAlgorithm::m_triggerChainString {this,"TriggerChain",""} |
|
protectedinherited |
Trigger chain string pulled from the job option and parsed into a vector.
Definition at line 355 of file AthMonitorAlgorithm.h.
◆ m_trigLiveFractionDataKey
◆ m_trkextrapolator
◆ m_useLumi
Gaudi::Property<bool> AthMonitorAlgorithm::m_useLumi {this,"EnableLumi",false} |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_vTrigChainNames
std::vector<std::string> AthMonitorAlgorithm::m_vTrigChainNames |
|
protectedinherited |
◆ ModulesBarrel
list PixelAthMonitoringBase.ModulesBarrel |
|
inherited |
Initial value:= [
"M6C", "M5C", "M4C", "M3C", "M2C", "M1C", "M0","M1A", "M2A", "M3A", "M4A",
"M5A", "M6A"]
Definition at line 61 of file PixelAthMonitoringBase.py.
◆ ModulesBarrelFE
list PixelAthMonitoringBase.ModulesBarrelFE |
|
inherited |
Initial value:= [
"M6C_FE_8_7","M6C_FE_9_6","M6C_FE_10_5","M6C_FE_11_4","M6C_FE_12_3","M6C_FE_13_2","M6C_FE_14_1","M6C_FE_15_0",
"M5C_FE_8_7","M5C_FE_9_6","M5C_FE_10_5","M5C_FE_11_4","M5C_FE_12_3","M5C_FE_13_2","M5C_FE_14_1","M5C_FE_15_0",
"M4C_FE_8_7","M4C_FE_9_6","M4C_FE_10_5","M4C_FE_11_4","M4C_FE_12_3","M4C_FE_13_2","M4C_FE_14_1","M4C_FE_15_0",
"M3C_FE_8_7","M3C_FE_9_6","M3C_FE_10_5","M3C_FE_11_4","M3C_FE_12_3","M3C_FE_13_2","M3C_FE_14_1","M3C_FE_15_0",
"M2C_FE_8_7","M2C_FE_9_6","M2C_FE_10_5","M2C_FE_11_4","M2C_FE_12_3","M2C_FE_13_2","M2C_FE_14_1","M2C_FE_15_0",
"M1C_FE_8_7","M1C_FE_9_6","M1C_FE_10_5","M1C_FE_11_4","M1C_FE_12_3","M1C_FE_13_2","M1C_FE_14_1","M1C_FE_15_0",
"M0_FE_8_7","M0_FE_9_6","M0_FE_10_5","M0_FE_11_4","M0_FE_12_3","M0_FE_13_2","M0_FE_14_1","M0_FE_15_0",
"M1A_FE_8_7","M1A_FE_9_6","M1A_FE_10_5","M1A_FE_11_4","M1A_FE_12_3","M1A_FE_13_2","M1A_FE_14_1","M1A_FE_15_0",
"M2A_FE_8_7","M2A_FE_9_6","M2A_FE_10_5","M2A_FE_11_4","M2A_FE_12_3","M2A_FE_13_2","M2A_FE_14_1","M2A_FE_15_0",
"M3A_FE_8_7","M3A_FE_9_6","M3A_FE_10_5","M3A_FE_11_4","M3A_FE_12_3","M3A_FE_13_2","M3A_FE_14_1","M3A_FE_15_0",
"M4A_FE_8_7","M4A_FE_9_6","M4A_FE_10_5","M4A_FE_11_4","M4A_FE_12_3","M4A_FE_13_2","M4A_FE_14_1","M4A_FE_15_0",
"M5A_FE_8_7","M5A_FE_9_6","M5A_FE_10_5","M5A_FE_11_4","M5A_FE_12_3","M5A_FE_13_2","M5A_FE_14_1","M5A_FE_15_0",
"M6A_FE_8_7","M6A_FE_9_6","M6A_FE_10_5","M6A_FE_11_4","M6A_FE_12_3","M6A_FE_13_2","M6A_FE_14_1","M6A_FE_15_0"]
Definition at line 77 of file PixelAthMonitoringBase.py.
◆ ModulesECA
list PixelAthMonitoringBase.ModulesECA |
|
inherited |
Initial value:= [
"B01_S2_M1", "B01_S2_M6", "B01_S2_M2", "B01_S2_M5", "B01_S2_M3",
"B01_S2_M4", "B02_S1_M1", "B02_S1_M6", "B02_S1_M2", "B02_S1_M5",
"B02_S1_M3", "B02_S1_M4", "B02_S2_M1", "B02_S2_M6", "B02_S2_M2",
"B02_S2_M5", "B02_S2_M3", "B02_S2_M4", "B03_S1_M1", "B03_S1_M6",
"B03_S1_M2", "B03_S1_M5", "B03_S1_M3", "B03_S1_M4", "B03_S2_M1",
"B03_S2_M6", "B03_S2_M2", "B03_S2_M5", "B03_S2_M3", "B03_S2_M4",
"B04_S1_M1", "B04_S1_M6", "B04_S1_M2", "B04_S1_M5", "B04_S1_M3",
"B04_S1_M4", "B04_S2_M1", "B04_S2_M6", "B04_S2_M2", "B04_S2_M5",
"B04_S2_M3", "B04_S2_M4", "B01_S1_M1", "B01_S1_M6", "B01_S1_M2",
"B01_S1_M5", "B01_S1_M3", "B01_S1_M4"]
Definition at line 94 of file PixelAthMonitoringBase.py.
◆ ModulesECC
list PixelAthMonitoringBase.ModulesECC |
|
inherited |
Initial value:= [
"B01_S2_M4", "B01_S2_M3", "B01_S2_M5", "B01_S2_M2", "B01_S2_M6",
"B01_S2_M1", "B02_S1_M4", "B02_S1_M3", "B02_S1_M5", "B02_S1_M2",
"B02_S1_M6", "B02_S1_M1", "B02_S2_M4", "B02_S2_M3", "B02_S2_M5",
"B02_S2_M2", "B02_S2_M6", "B02_S2_M1", "B03_S1_M4", "B03_S1_M3",
"B03_S1_M5", "B03_S1_M2", "B03_S1_M6", "B03_S1_M1", "B03_S2_M4",
"B03_S2_M3", "B03_S2_M5", "B03_S2_M2", "B03_S2_M6", "B03_S2_M1",
"B04_S1_M4", "B04_S1_M3", "B04_S1_M5", "B04_S1_M2", "B04_S1_M6",
"B04_S1_M1", "B04_S2_M4", "B04_S2_M3", "B04_S2_M5", "B04_S2_M2",
"B04_S2_M6", "B04_S2_M1", "B01_S1_M4", "B01_S1_M3", "B01_S1_M5",
"B01_S1_M2", "B01_S1_M6", "B01_S1_M1"]
Definition at line 105 of file PixelAthMonitoringBase.py.
◆ ModulesFEECA
list PixelAthMonitoringBase.ModulesFEECA = [] |
|
inherited |
◆ ModulesFEECC
list PixelAthMonitoringBase.ModulesFEECC = [] |
|
inherited |
◆ ModulesHead
list PixelAthMonitoringBase.ModulesHead = ["D", "D", "L0", "L1", "L2", "LI"] |
|
inherited |
◆ ModulesIBL
list PixelAthMonitoringBase.ModulesIBL |
|
inherited |
Initial value:= [
"C8_0", "C8_1", "C7_0", "C7_1", "C6_0", "C6_1", "C5_0", "C5_1", "C4_0", "C4_1", "C3_0", "C3_1", "C2_0", "C2_1",
"C1_0", "C1_1", "A1_0", "A1_1", "A2_0", "A2_1", "A3_0", "A3_1", "A4_0", "A4_1", "A5_0", "A5_1", "A6_0", "A6_1",
"A7_0", "A7_1", "A8_0", "A8_1"]
Definition at line 65 of file PixelAthMonitoringBase.py.
◆ NumLayersDisk
int PixelAthMonitoringBase.NumLayersDisk = 3 |
|
inherited |
◆ NumModulesBarrel
int PixelAthMonitoringBase.NumModulesBarrel = 13 |
|
inherited |
◆ NumModulesDisk
int PixelAthMonitoringBase.NumModulesDisk = 48 |
|
inherited |
◆ NumPP0sEC
int PixelAthMonitoringBase.NumPP0sEC = 24 |
|
inherited |
◆ NumStavesIBL
int PixelAthMonitoringBase.NumStavesIBL = 14 |
|
inherited |
◆ NumStavesL0
int PixelAthMonitoringBase.NumStavesL0 = 22 |
|
inherited |
◆ NumStavesL1
int PixelAthMonitoringBase.NumStavesL1 = 38 |
|
inherited |
◆ NumStavesL2
int PixelAthMonitoringBase.NumStavesL2 = 52 |
|
inherited |
◆ phitext
string PixelAthMonitoringBase.phitext = ";phi index of module" |
|
inherited |
◆ PP0LabelX
◆ pp0layers
list PixelAthMonitoringBase.pp0layers = ["ECA","ECC","BLayer","Layer1","Layer2","IBLA","IBLC"] |
|
inherited |
◆ PP0sEC
list PixelAthMonitoringBase.PP0sEC |
|
inherited |
Initial value:= [
"D1_B01_S2", "D1_B02_S1", "D1_B02_S2", "D1_B03_S1", "D1_B03_S2", "D1_B04_S1", "D1_B04_S2", "D1_B01_S1",
"D2_B01_S2", "D2_B02_S1", "D2_B02_S2", "D2_B03_S1", "D2_B03_S2", "D2_B04_S1", "D2_B04_S2", "D2_B01_S1",
"D3_B01_S2", "D3_B02_S1", "D3_B02_S2", "D3_B03_S1", "D3_B03_S2", "D3_B04_S1", "D3_B04_S2", "D3_B01_S1"]
Definition at line 174 of file PixelAthMonitoringBase.py.
◆ pp0xbins
list PixelAthMonitoringBase.pp0xbins = [ 24, 24, 22, 38, 52, 14, 14] |
|
inherited |
◆ ReadingDataErrLabels
list PixelAthMonitoringBase.ReadingDataErrLabels |
|
inherited |
◆ runtext
string PixelAthMonitoringBase.runtext = '' |
|
inherited |
◆ sbtxt
string PixelAthMonitoringBase.sbtxt = ";shifted eta index of module" |
|
inherited |
◆ StavesFEL0
list PixelAthMonitoringBase.StavesFEL0 = [] |
|
inherited |
◆ StavesFEL1
list PixelAthMonitoringBase.StavesFEL1 = [] |
|
inherited |
◆ StavesFEL2
list PixelAthMonitoringBase.StavesFEL2 = [] |
|
inherited |
◆ StavesIBL
list PixelAthMonitoringBase.StavesIBL |
|
inherited |
Initial value:= [
"S01(0.33)", "S02(0.78)", "S03(1.23)", "S04(1.68)", "S05(2.12)", "S06(2.57)", "S07(3.02)",
"S08(-2.81)", "S09(-2.36)", "S10(-1.91)", "S11(-1.47)", "S12(-1.02)", "S13(-0.57)","S14(-0.12)"]
Definition at line 149 of file PixelAthMonitoringBase.py.
◆ StavesL0
list PixelAthMonitoringBase.StavesL0 |
|
inherited |
Initial value:= [
"B11_S2(-0.29)", "B01_S1(0.0)", "B01_S2(0.29)", "B02_S1(0.57)", "B02_S2(0.87)", "B03_S1(1.14)", "B03_S2(1.43)",
"B04_S1(1.71)", "B04_S2(2.0)", "B05_S1(2.28)", "B05_S2(2.57)", "B06_S1(2.86)", "B06_S2(3.14)", "B07_S1(-2.86)",
"B07_S2(-2.57)", "B08_S1(2.28)", "B08_S2(-2.0)", "B09_S1(-1.71)", "B09_S2(-1.43)", "B10_S1(-1.14)",
"B10_S2(-0.86)", "B11_S1(-0.57)"]
Definition at line 125 of file PixelAthMonitoringBase.py.
◆ StavesL00
list PixelAthMonitoringBase.StavesL00 |
|
inherited |
Initial value:= [
"B11_S2", "B01_S1", "B01_S2", "B02_S1", "B02_S2", "B03_S1", "B03_S2",
"B04_S1", "B04_S2", "B05_S1", "B05_S2", "B06_S1", "B06_S2", "B07_S1",
"B07_S2", "B08_S1", "B08_S2", "B09_S1", "B09_S2", "B10_S1", "B10_S2",
"B11_S1"]
Definition at line 119 of file PixelAthMonitoringBase.py.
◆ StavesL1
list PixelAthMonitoringBase.StavesL1 |
|
inherited |
Initial value:= [
"B01_S1", "B01_S2", "B02_S1", "B02_S2", "B03_S1", "B03_S2", "B04_S1",
"B04_S2", "B05_S1", "B05_S2", "B06_S1", "B06_S2", "B07_S1", "B07_S2",
"B08_S1", "B08_S2", "B09_S1", "B09_S2", "B10_S1", "B10_S2", "B11_S1",
"B11_S2", "B12_S1", "B12_S2", "B13_S1", "B13_S2", "B14_S1", "B14_S2",
"B15_S1", "B15_S2", "B16_S1", "B16_S2", "B17_S1", "B17_S2", "B18_S1",
"B18_S2", "B19_S1", "B19_S2"]
Definition at line 131 of file PixelAthMonitoringBase.py.
◆ StavesL2
list PixelAthMonitoringBase.StavesL2 |
|
inherited |
Initial value:= [
"B01_S2", "B02_S1", "B02_S2", "B03_S1", "B03_S2", "B04_S1", "B04_S2",
"B05_S1", "B05_S2", "B06_S1", "B06_S2", "B07_S1", "B07_S2", "B08_S1",
"B08_S2", "B09_S1", "B09_S2", "B10_S1", "B10_S2", "B11_S1", "B11_S2",
"B12_S1", "B12_S2", "B13_S1", "B13_S2", "B14_S1", "B14_S2", "B15_S1",
"B15_S2", "B16_S1", "B16_S2", "B17_S1", "B17_S2", "B18_S1", "B18_S2",
"B19_S1", "B19_S2", "B20_S1", "B20_S2", "B21_S1", "B21_S2", "B22_S1",
"B22_S2", "B23_S1", "B23_S2", "B24_S1", "B24_S2", "B25_S1", "B25_S2",
"B26_S1", "B26_S2", "B01_S1"]
Definition at line 139 of file PixelAthMonitoringBase.py.
◆ totcuts
list PixelAthMonitoringBase.totcuts = [ 15, 15, 15, 15, 15, 4, 4] |
|
inherited |
◆ xbinsem
list PixelAthMonitoringBase.xbinsem = [ 3, 3, 13, 13, 13, 20] |
|
inherited |
◆ xbinsfel
list PixelAthMonitoringBase.xbinsfel = [ 24, 24, 104, 104, 104, 32] |
|
inherited |
◆ xbinsl
list PixelAthMonitoringBase.xbinsl = [ 3, 3, 13, 13, 13, 32] |
|
inherited |
◆ xbinstotz
list PixelAthMonitoringBase.xbinstotz = [ 3, 3, 13, 13, 13, 20] |
|
inherited |
◆ xminsem
list PixelAthMonitoringBase.xminsem = [ 0.5, 0.5,-6.5,-6.5,-6.5, -10] |
|
inherited |
◆ xminsfel
list PixelAthMonitoringBase.xminsfel = [ -0.5, -0.5, -52, -52, -52,-16.5] |
|
inherited |
◆ xminsl
list PixelAthMonitoringBase.xminsl = [ -0.5, -0.5,-6.5,-6.5,-6.5,-16.5] |
|
inherited |
◆ xminstotz
list PixelAthMonitoringBase.xminstotz = [ -0.5, -0.5,-0.5,-0.5,-0.5, -0.5] |
|
inherited |
◆ ybinsfel
list PixelAthMonitoringBase.ybinsfel = [ 96, 96, 44, 76, 104, 14] |
|
inherited |
◆ ybinsl
list PixelAthMonitoringBase.ybinsl = [ 48, 48, 22, 38, 52, 14] |
|
inherited |
◆ ztotbinsy
list PixelAthMonitoringBase.ztotbinsy = [ 20, 20, 20, 20, 20, 20, 20] |
|
inherited |
◆ ztotminsy
list PixelAthMonitoringBase.ztotminsy = [ 19.5, 19.5, 7.5,19.5,19.5, -0.5, -0.5] |
|
inherited |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
bool is_pixel(Identifier id) const
Identifier identifierOfPosition(const Amg::Vector2D &localPos) const
Full identifier of the cell for a given position: assumes a raw local position (no Lorentz shift)
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
ToolHandle< Trk::ITrackHoleSearchTool > m_holeSearchTool
int getPixLayersID(int ec, int ld) const
helper function to get layers ID
std::vector< Identifier >::const_iterator const_id_iterator
const TrkDetElementBase * associatedDetectorElement() const
return associated Detector Element
const_id_iterator wafer_end(void) const
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecTool
Tool to tell whether a specific trigger is passed.
const PixelID * m_pixelid
const_pointer_type cptr()
Dereference the pointer.
bool isChipGood(IdentifierHash hash, unsigned int chip) const
SG::ReadHandleKey< InDet::PixelClusterContainer > m_clustersKey
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
virtual const Surface & associatedSurface() const override=0
Access to the Surface associated to the Parameters.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
SG::ReadHandleKey< InDet::SiDetectorElementStatus > m_pixelDetElStatusActiveOnly
Optional read handle to get status data to test whether a pixel detector element is active.
const std::string pixLayersLabel[PixLayers::COUNT]
ToolHandle< IInDetConditionsTool > m_pixelCondSummaryTool
ToolHandle< Trk::IExtrapolator > m_trkextrapolator
bool accumulate(AccumulateMap &map, std::vector< module_t > const &modules, FPGATrackSimMatrixAccumulator const &acc)
Accumulates an accumulator (e.g.
Identifier associatedDetectorElementIdentifier() const
return Identifier of the associated Detector Element
std::vector< std::string > m_vTrigChainNames
Vector of trigger chain names parsed from trigger chain string.
const unsigned int kNumFEsIBL
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
virtual StatusCode initialize() override
initialize
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
Key for retrieving EventInfo from StoreGate.
const_id_iterator wafer_begin(void) const
Iterators over full set of ids. Wafer iterator is sorted.
SG::ReadHandleKey< InDet::SiDetectorElementStatus > m_pixelDetElStatus
Optional read handle to get status data to test whether a pixel detector element is good.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
std::unordered_map< std::string, size_t > m_toolLookupMap
AthMonitorAlgorithm::Environment_t m_environment
Instance of the Environment_t enum.
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ expectInnermostPixelLayerHit
Do we expect a 0th-layer barrel hit for this track?
ServiceHandle< InDetDD::IPixelReadoutManager > m_pixelReadout
const unsigned int kNumModulesDisk
virtual Identifier identify() const =0
Identifier.
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
bool is_valid() const
Check if id is in a valid state.
float nPixelHits(const U &p)
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticlesKey
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
bool trigChainsArePassed(const std::vector< std::string > &vTrigNames) const
Check whether triggers are passed.
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
SG::ReadHandle< InDet::SiDetectorElementStatus > getPixelDetElStatus(const SG::ReadHandleKey< InDet::SiDetectorElementStatus > &key, const EventContext &ctx) const
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
virtual void setOwner(IDataHandleHolder *o)=0
const ToolHandle< GenericMonitoringTool > m_dummy
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
void fill2DProfLayerAccum(const VecAccumulator2DMap &accumulator) const
take VecAccumulator2DMap and fill the corresponding group
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
std::map< std::string, std::unique_ptr< MVAUtils::BDT > > m_classBDT
std::tuple< bool, bool > isChipGood(const IdentifierHash &module_hash, unsigned int chip_i) const
bool is_barrel(const Identifier &id) const
Test for barrel - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for g...
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
ToolHandleArray< IDQFilterTool > m_DQFilterTools
Array of Data Quality filter tools.
@ expectNextToInnermostPixelLayerHit
Do we expect a 1st-layer barrel hit for this track?
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
#define VALIDATE_STATUS_ARRAY(use_info, info_val, summary_val)
@ Hole
A hole on the track - this is defined in the following way.
Generic monitoring tool for athena components.
bool isIBL2D(int hashID) const
helper function to check if module is IBL planar based on pixel hash ID
::StatusCode StatusCode
StatusCode definition for legacy code.
void tolower(std::string &s)
virtual StatusCode fillHistograms(const EventContext &ctx) const =0
adds event to the monitoring histograms
Eigen::Affine3d Transform3D
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
bool isActive(const InDet::SiDetectorElementStatus *element_status, const IdentifierHash &module_hash) const
int eta_index(const Identifier &id) const
const unsigned int kNumStavesL2
virtual bool type(MeasurementBaseType::Type type) const =0
Interface method checking the type.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
AthConfigFlags cosmics(AthConfigFlags flags, str instanceName, str recoMode)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandle< xAOD::EventInfo > GetEventInfo(const EventContext &) const
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
virtual const Amg::Vector3D & normal() const override final
Get reconstruction local normal axes in global frame.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
AthMonitorAlgorithm::DataType_t m_dataType
Instance of the DataType_t enum.
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
const int pixPhiSteps[PixLayers::NBASELAYERS]
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
bool isClusterOnTrack(Identifier id, std::vector< std::pair< Identifier, double > > const &ClusterIDs) const
checks if cluster is on track
ToolHandleArray< GenericMonitoringTool > m_tools
Array of Generic Monitoring Tools.
Amg::Vector2D localPosition() const
Access method for the local coordinates, local parameter definitions differ for each surface type.
int layer_disk(const Identifier &id) const
int eta_module(const Identifier &id) const
@ numberOfNextToInnermostPixelLayerHits
these are the hits in the 1st pixel barrel layer
bool isGood(IdentifierHash hash) const
virtual const Surface & associatedSurface() const =0
Interface method to get the associated Surface.
const unsigned int kNumStavesL0
virtual StatusCode sysInitialize() override
Override sysInitialize.
const unsigned int kNumModulesBarrel
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelTool
Gaudi::Property< bool > m_enforceExpressTriggers
size_type wafer_hash_max(void) const
Eigen::Matrix< double, 3, 1 > Vector3D
const int pixEtaSteps[PixLayers::NBASELAYERS]
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
std::string m_calibFolder
SG::ReadHandleKey< PixelRDO_Container > m_pixelRDOName
bool isChipActive(const IdentifierHash &module_hash, unsigned int chip_i) const
const InDet::SiWidth & width() const
return width class reference
virtual const PixelCluster * prepRawData() const override final
returns the PrepRawData - is a SiCluster in this scope
#define ATH_MSG_WARNING(x)
const std::string pixBaseLayersLabel[PixLayers::NBASELAYERS]
Identifier identify() const
return the identifier -extends MeasurementBase
bool isGood(const InDet::SiDetectorElementStatus *element_status, const IdentifierHash &module_hash) const
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
const Amg::Vector2D & colRow() const
const unsigned int kNumStavesIBL
void fill1DModProfAccum(const VecAccumulator2DMap &accumulator, int lumiblock) const
take VecAccumulator2DMap and fill 3D arrays [layer, pm, em] with its values and lumiblock
std::vector< int > m_modData[PixLayers::NBASELAYERS]
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
int getNumberOfFEs(int pixlayer, int etaMod) const
helper function to get number of FEs per module
Declare a monitored scalar variable.
const unsigned int kNumLayersDisk
int phi_module(const Identifier &id) const
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
virtual Identifier identify() const override final
identifier of this detector element (inline)
const ToolHandle< GenericMonitoringTool > & getGroup(const std::string &name) const
Get a specific monitoring tool from the tool handle array.
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
Trk::PrepRawDataCollection< PixelCluster > PixelClusterCollection
const AtlasDetectorID * m_atlasid
const unsigned int kNumStavesL1