ATLAS Offline Software
TrigCountSpacePoints.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGMINBIAS_TRIGCOUNTSPACEPOINTS_H
6 #define TRIGMINBIAS_TRIGCOUNTSPACEPOINTS_H
7 
8 #include <string>
9 
13 #include "InDetIdentifier/SCT_ID.h"
17 
19  public:
20  TrigCountSpacePoints(const std::string &name, ISvcLocator *pSvcLocator);
21 
22  virtual StatusCode initialize() override;
23  virtual StatusCode execute(const EventContext &context) const override;
24 
25  private:
26  Gaudi::Property<bool> m_doOnlyBLayer{this, "doOnlyBLayer", false, " "};
27  Gaudi::Property<int> m_pixModuleThreshold{this, "pixModuleThreshold", 100, "Dont take modules with SP Count higher than this threshold in Pixel Det."};
28  Gaudi::Property<int> m_sctModuleHigherThreshold{this, "sctModuleHigherThreshold", 2000000, "Dont take modules with SP Count higher than this threshold in SCT"};
29  Gaudi::Property<int> m_sctModuleLowerThreshold{this, "sctModuleLowerThreshold", 0, "Dont take modules with SP Count lowerer than this threshold in SCT"};
30  // The need for these flags have to be reviewed
31 
32  /*Gaudi::Property<bool> m_sct_barrel_a_side{this, "sct_barrel_a_side",true, "SCT Barrel side A"};
33  Gaudi::Property<bool> m_sct_barrel_c_side{this, "sct_barrel_c_side",true, "SCT Barrel side C"};
34  Gaudi::Property<bool> m_sct_endcap_a_side{this, "sct_endcap_a_side",true, "SCT Endacp side A"};
35  Gaudi::Property<bool> m_sct_endcap_c_side{this, "sct_endcap_c_side",true, "SCT Endcap side C"};
36  Gaudi::Property<bool> m_pixel_barrel{this, "pixel_barrel",true, "Pixel Barrel"};
37  Gaudi::Property<bool> m_pixel_b_layer{this, "pixel_b_layer",true, "Pixel B Layer"};
38  Gaudi::Property<bool> m_pixel_disk{this, "pixel_disk",true, "Pixel Disk"};*/
39 
40  Gaudi::Property<int> m_pixelClusToTCut{this, "pixelClusToTCut", 20, "ToT Cut for Pixel Clusters"};
41 
42  SG::ReadHandleKey<SpacePointContainer> m_pixelSpKey{this, "PixelSpKey", "PixelTrigSpacePoints", " "};
43  SG::ReadHandleKey<SpacePointContainer> m_sctSpKey{this, "SCTSpKey", "SCT_TrigSpacePoints", " "};
44  SG::ReadHandleKey<PixelID> m_pixelHelperKey{this, "pixelHelperKey", "DetectorStore+PixelID", " "};
45  SG::ReadHandleKey<SCT_ID> m_sctHelperKey{this, "sctHelperKey", "DetectorStore+SCT_ID", " "};
46  SG::WriteHandleKey<xAOD::TrigCompositeContainer> m_spacePointsKey{this, "SpacePointsKey", "Undefined", ""};
47  SG::WriteHandleKey<xAOD::TrigCompositeAuxContainer> m_spacePointsAuxKey{this, "SpacePointsAuxKey", "Undefined", ""};
48 
49  ToolHandle<GenericMonitoringTool> m_monTool{this, "MonTool", "", "Monitoring tool"};
50 };
51 
52 #endif // TRIGMINBIAS_TRIGCOUNTSPACEPOINTS_H
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
SCT_ID.h
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
TrigCountSpacePoints::m_pixelHelperKey
SG::ReadHandleKey< PixelID > m_pixelHelperKey
Definition: TrigCountSpacePoints.h:44
TrigCountSpacePoints::m_spacePointsKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_spacePointsKey
Definition: TrigCountSpacePoints.h:46
TrigCountSpacePoints::m_pixelSpKey
SG::ReadHandleKey< SpacePointContainer > m_pixelSpKey
Definition: TrigCountSpacePoints.h:42
TrigCountSpacePoints::m_doOnlyBLayer
Gaudi::Property< bool > m_doOnlyBLayer
Definition: TrigCountSpacePoints.h:26
TrigCountSpacePoints::m_pixelClusToTCut
Gaudi::Property< int > m_pixelClusToTCut
Definition: TrigCountSpacePoints.h:40
SG::ReadHandleKey< SpacePointContainer >
TrigCountSpacePoints::m_sctModuleHigherThreshold
Gaudi::Property< int > m_sctModuleHigherThreshold
Definition: TrigCountSpacePoints.h:28
TrigCountSpacePoints::m_sctSpKey
SG::ReadHandleKey< SpacePointContainer > m_sctSpKey
Definition: TrigCountSpacePoints.h:43
SpacePointContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TrigCountSpacePoints::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigCountSpacePoints.h:49
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigCountSpacePoints::initialize
virtual StatusCode initialize() override
Definition: TrigCountSpacePoints.cxx:11
TrigCountSpacePoints::m_sctHelperKey
SG::ReadHandleKey< SCT_ID > m_sctHelperKey
Definition: TrigCountSpacePoints.h:45
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
TrigCompositeAuxContainer.h
TrigCompositeContainer.h
AthReentrantAlgorithm.h
TrigCountSpacePoints::m_pixModuleThreshold
Gaudi::Property< int > m_pixModuleThreshold
Definition: TrigCountSpacePoints.h:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TrigCountSpacePoints
Definition: TrigCountSpacePoints.h:18
TrigCountSpacePoints::TrigCountSpacePoints
TrigCountSpacePoints(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigCountSpacePoints.cxx:9
TrigCountSpacePoints::m_spacePointsAuxKey
SG::WriteHandleKey< xAOD::TrigCompositeAuxContainer > m_spacePointsAuxKey
Definition: TrigCountSpacePoints.h:47
TrigCountSpacePoints::m_sctModuleLowerThreshold
Gaudi::Property< int > m_sctModuleLowerThreshold
Definition: TrigCountSpacePoints.h:29
TrigCountSpacePoints::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: TrigCountSpacePoints.cxx:24