ATLAS Offline Software
Loading...
Searching...
No Matches
TrigT1RPC.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 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
14
18
24
29
31
33
35
36public:
37
38 TrigT1RPC (const std::string& name, ISvcLocator* pSvcLocator);
39 virtual StatusCode initialize() override;
40 virtual StatusCode execute(const EventContext& ctx) const override;
41
42private:
43 IntegerProperty m_fast_debug{this,"FastDebug",0}; // bits for debugging "fast" algos
44
45 IntegerProperty m_cma_debug{this,"CMAdebug",0}; // bits for debugging CMA simulation
46 IntegerProperty m_pad_debug{this,"PADdebug",0}; // bits for debugging PAD simulation
47 IntegerProperty m_sl_debug{this,"SLdebug",0}; // bits for debugging SL simulation
48
49 IntegerProperty m_cma_ro_debug{this,"CMArodebug",0}; // bits for debugging CMA readout
50 IntegerProperty m_pad_ro_debug{this,"PADrodebug",0}; // bits for debugging PAD readout
51 IntegerProperty m_rx_ro_debug{this,"RXrodebug",0}; // bits for debugging Rx readout
52 IntegerProperty m_sl_ro_debug{this,"SLrodebug",0}; // bits for debugging SL readout
53
54 IntegerProperty m_cma_rostruct_debug{this,"CMArostructdebug",0}; // bits for debugging CMA ro struct
55 IntegerProperty m_pad_rostruct_debug{this,"PADrostructdebug",0}; // bits for debugging PAD ro struct
56 IntegerProperty m_rx_rostruct_debug{this,"RXrostructdebug",0}; // bits for debugging Rx ro struct
57 IntegerProperty m_sl_rostruct_debug{this,"SLrostructdebug",0}; // bits for debugging SL ro struct
58
59 BooleanProperty m_geometric_algo{this,"Geometric",false}; // flag to activate fast simu
60 BooleanProperty m_logic_emulation{this,"Logic",false}; // flag to activate logic emulation
61 BooleanProperty m_hardware_emulation{this,"Hardware",true}; // flag to activate hardware emula.
62 BooleanProperty m_bytestream_production{this,"RPCbytestream",false}; // flag to produce RPC byte stream
63 StringProperty m_bytestream_file{this,"RPCbytestreamFile",""}; // name for the bytestream file
64
65 BooleanProperty m_data_detail{this,"DataDetail",false}; // flag to printout detailed INFO on
66 // processed data
67
68 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
69 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
70
71 BooleanProperty m_useRun3Config{this,"useRun3Config",false}; // flag for using switch between Run3 and Run2 configurations
72
73 StatusCode fill_RPCdata(const EventContext& ctx, RPCsimuData&, BIS78_triggerSimulation&, const RpcCablingCondData* readCdo, const MuonGM::MuonDetectorManager* muDetMgr) const;
74
75 private:
76 SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_muDetMgrKey {this, "DetectorManagerKey", "MuonDetectorManager", "Key of input MuonDetectorManager condition data"};
77 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
78
79 SG::ReadCondHandleKey<RpcCablingCondData> m_readKey{this, "ReadKey", "RpcCablingCondData", "Key of RpcCablingCondData"};
80
81 SG::ReadHandleKey<RpcDigitContainer> m_rpcDigitKey{this, "RPCDigitContainer", "RPC_DIGITS", "RPC Digit Input Container"};
82 SG::WriteHandleKey<LVL1MUONIF::Lvl1MuCTPIInput> m_muctpiKey{this, "MuctpiLocationRPC", "L1MuctpiStoreRPC", "Location of muctpi for Rpc"};
83 SG::WriteHandleKey<LVL1MUONIF::Lvl1MuCTPIInputPhase1> m_muctpiPhase1Key{this, "MuctpiPhase1LocationRPC", "L1MuctpiStoreRPC", "Location of muctpiPhase1 for Rpc"};
84 SG::WriteHandleKey<Muon::RpcBis78_TrigRawDataContainer> m_bis78TrigKey{this, "BIS78TrigContainerLocation", "BIS78TrigContainer", "Location of BIS78 Rpc"};
85
86 Gaudi::Property<int> m_nobxs { this, "NOBXS", 8, "Number of bunch crossings in readout"};
87 Gaudi::Property<int> m_bczero { this, "BCZERO", 3, "Nominal bunch crossing"};
88
89};
90
91#endif
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:57
BooleanProperty m_data_detail
Definition TrigT1RPC.h:65
BooleanProperty m_hardware_emulation
Definition TrigT1RPC.h:61
IntegerProperty m_rx_rostruct_debug
Definition TrigT1RPC.h:56
IntegerProperty m_fast_debug
Definition TrigT1RPC.h:43
IntegerProperty m_pad_rostruct_debug
Definition TrigT1RPC.h:55
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_muDetMgrKey
Definition TrigT1RPC.h:76
Gaudi::Property< int > m_nobxs
Definition TrigT1RPC.h:86
IntegerProperty m_firstBC_to_MUCTPI
Definition TrigT1RPC.h:68
IntegerProperty m_rx_ro_debug
Definition TrigT1RPC.h:51
SG::WriteHandleKey< Muon::RpcBis78_TrigRawDataContainer > m_bis78TrigKey
Definition TrigT1RPC.h:84
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition TrigT1RPC.h:77
SG::WriteHandleKey< LVL1MUONIF::Lvl1MuCTPIInput > m_muctpiKey
Definition TrigT1RPC.h:82
SG::ReadHandleKey< RpcDigitContainer > m_rpcDigitKey
Definition TrigT1RPC.h:81
IntegerProperty m_lastBC_to_MUCTPI
Definition TrigT1RPC.h:69
BooleanProperty m_geometric_algo
Definition TrigT1RPC.h:59
BooleanProperty m_useRun3Config
Definition TrigT1RPC.h:71
virtual StatusCode initialize() override
Definition TrigT1RPC.cxx:34
StringProperty m_bytestream_file
Definition TrigT1RPC.h:63
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:45
SG::WriteHandleKey< LVL1MUONIF::Lvl1MuCTPIInputPhase1 > m_muctpiPhase1Key
Definition TrigT1RPC.h:83
Gaudi::Property< int > m_bczero
Definition TrigT1RPC.h:87
SG::ReadCondHandleKey< RpcCablingCondData > m_readKey
Definition TrigT1RPC.h:79
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:49
IntegerProperty m_sl_ro_debug
Definition TrigT1RPC.h:52
IntegerProperty m_cma_rostruct_debug
Definition TrigT1RPC.h:54
IntegerProperty m_sl_debug
Definition TrigT1RPC.h:47
IntegerProperty m_pad_debug
Definition TrigT1RPC.h:46
BooleanProperty m_bytestream_production
Definition TrigT1RPC.h:62
IntegerProperty m_pad_ro_debug
Definition TrigT1RPC.h:50
BooleanProperty m_logic_emulation
Definition TrigT1RPC.h:60