ATLAS Offline Software
Loading...
Searching...
No Matches
TrigT1RPC.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef RPCMuonTrigger_H
6#define RPCMuonTrigger_H
7
9#include "GaudiKernel/ServiceHandle.h"
10#include "GaudiKernel/INTupleSvc.h"
11#include "GaudiKernel/NTuple.h"
12
15
19
25
30
32
34
36
37public:
38
39 TrigT1RPC (const std::string& name, ISvcLocator* pSvcLocator);
40 virtual StatusCode initialize() override;
41 virtual StatusCode execute(const EventContext& ctx) const override;
42
43private:
44 IntegerProperty m_fast_debug{this,"FastDebug",0}; // bits for debugging "fast" algos
45
46 IntegerProperty m_cma_debug{this,"CMAdebug",0}; // bits for debugging CMA simulation
47 IntegerProperty m_pad_debug{this,"PADdebug",0}; // bits for debugging PAD simulation
48 IntegerProperty m_sl_debug{this,"SLdebug",0}; // bits for debugging SL simulation
49
50 IntegerProperty m_cma_ro_debug{this,"CMArodebug",0}; // bits for debugging CMA readout
51 IntegerProperty m_pad_ro_debug{this,"PADrodebug",0}; // bits for debugging PAD readout
52 IntegerProperty m_rx_ro_debug{this,"RXrodebug",0}; // bits for debugging Rx readout
53 IntegerProperty m_sl_ro_debug{this,"SLrodebug",0}; // bits for debugging SL readout
54
55 IntegerProperty m_cma_rostruct_debug{this,"CMArostructdebug",0}; // bits for debugging CMA ro struct
56 IntegerProperty m_pad_rostruct_debug{this,"PADrostructdebug",0}; // bits for debugging PAD ro struct
57 IntegerProperty m_rx_rostruct_debug{this,"RXrostructdebug",0}; // bits for debugging Rx ro struct
58 IntegerProperty m_sl_rostruct_debug{this,"SLrostructdebug",0}; // bits for debugging SL ro struct
59
60 BooleanProperty m_geometric_algo{this,"Geometric",false}; // flag to activate fast simu
61 BooleanProperty m_logic_emulation{this,"Logic",false}; // flag to activate logic emulation
62 BooleanProperty m_hardware_emulation{this,"Hardware",true}; // flag to activate hardware emula.
63 BooleanProperty m_bytestream_production{this,"RPCbytestream",false}; // flag to produce RPC byte stream
64 StringProperty m_bytestream_file{this,"RPCbytestreamFile",""}; // name for the bytestream file
65
66 BooleanProperty m_data_detail{this,"DataDetail",false}; // flag to printout detailed INFO on
67 // processed data
68
69 IntegerProperty m_firstBC_to_MUCTPI{this,"firstBC_to_MUCTPI",-1}; // First BC to be sent to muctpi, wrt to BC0, e.g. -1 meanst the BC before the trigger Bc
70 IntegerProperty m_lastBC_to_MUCTPI{this,"lastBC_to_MUCTPI",1}; // First BC to be sent to muctpi, wrt to BC0, e.g. -1 meanst the BC before the trigger Bc
71
72 BooleanProperty m_useRun3Config{this,"useRun3Config",false}; // flag for using switch between Run3 and Run2 configurations
73
74 StatusCode fill_RPCdata(const EventContext& ctx, RPCsimuData&, BIS78_triggerSimulation&, const RpcCablingCondData* readCdo, const MuonGM::MuonDetectorManager* muDetMgr) const;
75
76 private:
77 SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_muDetMgrKey {this, "DetectorManagerKey", "MuonDetectorManager", "Key of input MuonDetectorManager condition data"};
78 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
79
80 SG::ReadCondHandleKey<RpcCablingCondData> m_readKey{this, "ReadKey", "RpcCablingCondData", "Key of RpcCablingCondData"};
81
82 SG::ReadHandleKey<RpcDigitContainer> m_rpcDigitKey{this, "RPCDigitContainer", "RPC_DIGITS", "RPC Digit Input Container"};
83 SG::WriteHandleKey<LVL1MUONIF::Lvl1MuCTPIInput> m_muctpiKey{this, "MuctpiLocationRPC", "L1MuctpiStoreRPC", "Location of muctpi for Rpc"};
84 SG::WriteHandleKey<LVL1MUONIF::Lvl1MuCTPIInputPhase1> m_muctpiPhase1Key{this, "MuctpiPhase1LocationRPC", "L1MuctpiStoreRPC", "Location of muctpiPhase1 for Rpc"};
85 SG::WriteHandleKey<Muon::RpcBis78_TrigRawDataContainer> m_bis78TrigKey{this, "BIS78TrigContainerLocation", "BIS78TrigContainer", "Location of BIS78 Rpc"};
86
87 Gaudi::Property<int> m_nobxs { this, "NOBXS", 8, "Number of bunch crossings in readout"};
88 Gaudi::Property<int> m_bczero { this, "BCZERO", 3, "Nominal bunch crossing"};
89
90};
91
92#endif
defines an "iterator" over instances of a given type in StoreGateSvc
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
IntegerProperty m_sl_rostruct_debug
Definition TrigT1RPC.h:58
BooleanProperty m_data_detail
Definition TrigT1RPC.h:66
BooleanProperty m_hardware_emulation
Definition TrigT1RPC.h:62
IntegerProperty m_rx_rostruct_debug
Definition TrigT1RPC.h:57
IntegerProperty m_fast_debug
Definition TrigT1RPC.h:44
IntegerProperty m_pad_rostruct_debug
Definition TrigT1RPC.h:56
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_muDetMgrKey
Definition TrigT1RPC.h:77
Gaudi::Property< int > m_nobxs
Definition TrigT1RPC.h:87
IntegerProperty m_firstBC_to_MUCTPI
Definition TrigT1RPC.h:69
IntegerProperty m_rx_ro_debug
Definition TrigT1RPC.h:52
SG::WriteHandleKey< Muon::RpcBis78_TrigRawDataContainer > m_bis78TrigKey
Definition TrigT1RPC.h:85
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition TrigT1RPC.h:78
SG::WriteHandleKey< LVL1MUONIF::Lvl1MuCTPIInput > m_muctpiKey
Definition TrigT1RPC.h:83
SG::ReadHandleKey< RpcDigitContainer > m_rpcDigitKey
Definition TrigT1RPC.h:82
IntegerProperty m_lastBC_to_MUCTPI
Definition TrigT1RPC.h:70
BooleanProperty m_geometric_algo
Definition TrigT1RPC.h:60
BooleanProperty m_useRun3Config
Definition TrigT1RPC.h:72
virtual StatusCode initialize() override
Definition TrigT1RPC.cxx:34
StringProperty m_bytestream_file
Definition TrigT1RPC.h:64
virtual StatusCode execute(const EventContext &ctx) const override
Definition TrigT1RPC.cxx:58
TrigT1RPC(const std::string &name, ISvcLocator *pSvcLocator)
Definition TrigT1RPC.cxx:28
IntegerProperty m_cma_debug
Definition TrigT1RPC.h:46
SG::WriteHandleKey< LVL1MUONIF::Lvl1MuCTPIInputPhase1 > m_muctpiPhase1Key
Definition TrigT1RPC.h:84
Gaudi::Property< int > m_bczero
Definition TrigT1RPC.h:88
SG::ReadCondHandleKey< RpcCablingCondData > m_readKey
Definition TrigT1RPC.h:80
StatusCode fill_RPCdata(const EventContext &ctx, RPCsimuData &, BIS78_triggerSimulation &, const RpcCablingCondData *readCdo, const MuonGM::MuonDetectorManager *muDetMgr) const
IntegerProperty m_cma_ro_debug
Definition TrigT1RPC.h:50
IntegerProperty m_sl_ro_debug
Definition TrigT1RPC.h:53
IntegerProperty m_cma_rostruct_debug
Definition TrigT1RPC.h:55
IntegerProperty m_sl_debug
Definition TrigT1RPC.h:48
IntegerProperty m_pad_debug
Definition TrigT1RPC.h:47
BooleanProperty m_bytestream_production
Definition TrigT1RPC.h:63
IntegerProperty m_pad_ro_debug
Definition TrigT1RPC.h:51
BooleanProperty m_logic_emulation
Definition TrigT1RPC.h:61