|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #include "GaudiKernel/MsgStream.h"
6 #include "GaudiKernel/IToolSvc.h"
58 ISvcLocator* pSvcLocator)
61 m_LArOnlineIDHelper(nullptr),
62 m_calocell_id(nullptr),
97 declareProperty(
"TriggerLines",
m_TriggerLines={
"L1_J5",
"L1_J10",
"L1_J12",
"L1_J30",
"L1_TAU5",
"L1_TAU8",
"L1_J5_EMPTY",
"L1_J10_EMPTY",
"L1_J12_EMPTY",
"L1_J30_EMPTY",
"L1_TAU5_EMPTY",
"L1_TAU8_EMPTY",
"L1_J5_FIRSTEMPTY",
"L1_J10_FIRSTEMPTY",
"L1_J12_FIRSTEMPTY",
"L1_J30_FIRSTEMPTY",
"L1_TAU5_FIRSTEMPTY",
"L1_TAU8_FIRSTEMPTY"});
136 m_tree =
new TTree(
"HECNoise",
"HECNoise" );
177 std::string
treeName =
"/HEC/HECNoise" ;
183 return StatusCode::SUCCESS;
188 return StatusCode::SUCCESS;
211 if (
evtStore()->contains<CaloCellContainer>(
"AllCalo")) {
213 }
else if (
evtStore()->contains<LArRawChannelContainer>(
"LArRawChannels")){
218 const LArOnOffIdMapping*
cabling{*cablingHdl};
221 return StatusCode::FAILURE;
229 return StatusCode::FAILURE;
238 if (
evtStore()->contains<LArDigitContainer>(
"LArDigitContainer")) {
240 }
else if (
evtStore()->contains<LArDigitContainer>(
"LArDigitContainer_Thinned")) {
242 }
else if (
evtStore()->contains<LArDigitContainer>(
"FREE")) {
245 msg(MSG::WARNING) <<
"Neither LArDigitContainer nor LArDigitContainer_Thinned nor FREE present, not filling anything "<<
endmsg;
246 return StatusCode::SUCCESS;
253 for ( ; itDig!=itDig_e;++itDig) {
261 short samp0= pLArDigit->
samples()[0];
262 for(
unsigned i=0;
i<(pLArDigit->
samples()).size(); ++
i){
265 if(samp-samp0 > sigmax) {
269 if( samp-samp0 < sigmin) {
303 if(rcell->
ID() != oid) {
304 msg(MSG::WARNING) <<
"Cell iHash does not match ..."<<
endmsg;
311 for(
unsigned l=0;
l<lraw->size(); ++
l) {
331 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
const Identifier & identify(const UncalibratedMeasurement *meas)
Returns the associated identifier from the muon measurement.
Const iterator class for DataVector/DataList.
const LArOnlineID * m_LArOnlineIDHelper
EventInfo_v1 EventInfo
Definition of the latest event info version.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
uint64_t eventNumber() const
The current event's event number.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
ServiceHandle< ITHistSvc > m_thistSvc
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
const std::vector< short > & samples() const
const HWIdentifier & hardwareID() const
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
virtual double e() const override final
get energy (data member) (synonym to method energy()
const std::string & key() const
Return the StoreGate ID for the referenced object.
uint32_t timeStampNSOffset() const
Nanosecond time offset wrt. the time stamp.
float time() const
get time (data member)
std::vector< std::string > m_TriggerLines
uint32_t runNumber() const
The current event's run number.
Definition of CaloDetDescrManager.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode initialize() override
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
SG::ReadCondHandleKey< ILArPedestal > m_pedKey
virtual StatusCode finalize() override
Liquid Argon digit base class.
::StatusCode StatusCode
StatusCode definition for legacy code.
LArHECNoise(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
#define CHECK(...)
Evaluate an expression and check for errors.
uint32_t lumiBlock() const
The current event's luminosity block number.
uint16_t quality() const
get quality (data member)
float averageInteractionsPerCrossing() const
Average interactions per crossing for all BCIDs - for out-of-time pile-up.
StatusCode initialize(bool used=true)
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Container class for CaloCell.
Class describing the basic event information.
CaloGain::CaloGain gain() const
This class provides the client interface for accessing the detector description information common to...
Data object for each calorimeter readout cell.
const CaloCell_ID * m_calocell_id
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
Container class for LArDigit.
uint32_t timeStamp() const
POSIX time in seconds from 1970. January 1st.
virtual StatusCode execute() override
const HWIdentifier & channelID() const
float eta() const
cell eta
float phi() const
cell phi
bool isHECchannel(const HWIdentifier id) const override final
uint32_t bcid() const
The bunch crossing ID of the event.
Calo Subsystem specific Detector Elements + Dummy element for testing.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Container for LArRawChannel (IDC using LArRawChannelCollection)
float actualInteractionsPerCrossing() const
Average interactions per crossing for the current BCID - for in-time pile-up.