![]() |
ATLAS Offline Software
|
#include <ZDC_PileUpTool.h>
Public Member Functions | |
| ZDC_PileUpTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual StatusCode | initialize () override final |
| void | initializePbPb2015 () |
| void | initializeLHCf2022 () |
| void | initializePbPb2023 () |
| virtual StatusCode | finalize () override final |
| virtual StatusCode | prepareEvent (const EventContext &ctx, const unsigned int nInputEvents) override final |
| called before the subevts loop. Not (necessarily) able to access SubEvents | |
| virtual StatusCode | processBunchXing (int bunchXing, SubEventIterator bSubEvents, SubEventIterator eSubEvents) override final |
| called for each active bunch-crossing to process current SubEvents bunchXing is in ns | |
| virtual StatusCode | mergeEvent (const EventContext &ctx) override final |
| return false if not interested in certain xing times (in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing | |
| virtual StatusCode | processAllSubEvents (const EventContext &ctx) override final |
Private Member Functions | |
| void | fillContainer (TimedHitCollection< ZDC_SimFiberHit > &, CLHEP::HepRandomEngine *, xAOD::ZdcModuleContainer *) |
| void | fillContainer (const ZDC_SimFiberHit_Collection *, CLHEP::HepRandomEngine *, xAOD::ZdcModuleContainer *) |
| TimedHitCollection< ZDC_SimFiberHit > | doZDClightGuideCuts (const ZDC_SimFiberHit_Collection *hitCollection) |
| void | createAndStoreWaveform (const ZDC_SimFiberHit &hit, CLHEP::HepRandomEngine *, xAOD::ZdcModuleContainer *) |
| void | addEmptyWaveforms (xAOD::ZdcModuleContainer *zdcModuleContainer, CLHEP::HepRandomEngine *rndEngine) |
| std::vector< short unsigned int > | generateWaveform (std::shared_ptr< ZDCWaveformSampler > wfSampler, float amplitude, float t0) |
| void | SetDumps (bool, bool) |
Private Attributes | |
| ZDC_SimFiberHit_Collection * | m_mergedFiberHitList {} |
| const ZdcID * | m_ZdcID {} |
| std::unique_ptr< xAOD::ZdcModuleContainer > | m_ZdcModuleContainer |
| std::unique_ptr< xAOD::ZdcModuleAuxContainer > | m_ZdcModuleAuxContainer |
| ServiceHandle< PileUpMergeSvc > | m_mergeSvc {this, "mergeSvc", "PileUpMergeSvc", ""} |
| ServiceHandle< IAthRNGSvc > | m_randomSvc {this, "RndmSvc", "AthRNGSvc", ""} |
| Gaudi::Property< std::string > | m_randomStreamName {this, "RandomStreamName", "ZDCRndEng", ""} |
| SG::ReadHandleKey< ZDC_SimFiberHit_Collection > | m_SimFiberHitCollectionKey {this, "ZDC_SimFiberHit_CollectionName", "ZDC_SimFiberHit_Collection"} |
| SG::WriteHandleKey< xAOD::ZdcModuleContainer > | m_ZdcModuleContainerName {this, "ZdcModuleContainerName", "ZdcModules"} |
| SG::WriteHandleKey< xAOD::ZdcModuleContainer > | m_ZdcSumsContainerName {this, "ZdcSumsContainerName", "ZdcSums"} |
| Gaudi::Property< std::string > | m_HitCollectionName |
| Gaudi::Property< std::string > | m_outputContainerName |
| Gaudi::Property< std::string > | m_configuration {this, "configuration" , "PbPb2023", "Named configuration to be used. Overwrites other properties if used" } |
| Gaudi::Property< int > | m_Pedestal {this, "Pedestal" , 100 , "DC offset of the pulse in ADC" } |
| Gaudi::Property< int > | m_numTimeBins {this, "MaxTimeBin" , 7 , "The number of time-slices after digitization(Typically 5 or 7)" } |
| Gaudi::Property< double > | m_freqMHz {this, "freqMHz" , 40 , "Digitizer frequence in MHz" } |
| Gaudi::Property< double > | m_zdct0 {this, "zdct0" , 40 , "Start time of the pulse in the digitization window" } |
| Gaudi::Property< double > | m_rpdt0 {this, "rpdt0" , 40 , "Start time of the pulse in the digitization window" } |
| Gaudi::Property< double > | m_zdcRiseTime {this, "zdcRiseTime" , 4 , "Rise time of the ZDC pulses" } |
| Gaudi::Property< double > | m_zdcFallTime {this, "zdcFallTime" , 0.5 , "Fall time of the ZDC pulses" } |
| Gaudi::Property< double > | m_rpdRiseTime {this, "rpdRiseTime" , 4 , "Rise time of the RPD pulses" } |
| Gaudi::Property< double > | m_rpdFallTime {this, "rpdFallTime" , 0.5 , "Fall time of the RPD pulses" } |
| Gaudi::Property< double > | m_qsfRiseTime {this, "qsfRiseTime" , 4 , "Rise time of the RPD pulses" } |
| Gaudi::Property< double > | m_qsfFallTime {this, "qsfFallTime" , 4 , "Rise time of the RPD pulses" } |
| Gaudi::Property< double > | m_qsfFilter {this, "qsfFilter" , 4 , "Rise time of the RPD pulses" } |
| Gaudi::Property< float > | m_zdcAdcPerPhoton {this, "zdcAdcPerPhoton" , 0.000498 , "ADC counts per detected photon in the ZDCs" } |
| Gaudi::Property< bool > | m_LTQuadStepFilt {this, "LTQuadStepFilt" , false , "Use LT Quad Step Filter waveform for ZDC channels" } |
| Gaudi::Property< bool > | m_delayChannels {this, "delayChannels" , false , "Include delayed channels in the output" } |
| Gaudi::Property< bool > | m_doRPD {this, "doRPD" , false , "Include RPD channels in the output" } |
| Gaudi::Property< bool > | m_doBRAN {this, "doBRAN" , false , "Include BRAN channels in the output" } |
| Gaudi::Property< std::vector< float > > | m_rpdAdcPerPhoton {this, "rpdAdcPerPhoton", {5.25 , 1.7}, "ADC counts per detected photon in the RPDs"} |
structors and AlgTool implementation | |
| virtual bool | toProcess (int bunchXing) const override |
| the method this base class helps implementing | |
| virtual bool | filterPassed () const override |
| dummy implementation of passing filter | |
| virtual void | resetFilter () override |
| dummy implementation of filter reset | |
| Gaudi::Property< int > | m_firstXing |
| Gaudi::Property< int > | m_lastXing |
| Gaudi::Property< int > | m_vetoPileUpTruthLinks |
| bool | m_filterPassed {true} |
Definition at line 34 of file ZDC_PileUpTool.h.
| ZDC_PileUpTool::ZDC_PileUpTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 24 of file ZDC_PileUpTool.cxx.
|
private |
Definition at line 275 of file ZDC_PileUpTool.cxx.
|
private |
Definition at line 366 of file ZDC_PileUpTool.cxx.
|
private |
Definition at line 316 of file ZDC_PileUpTool.cxx.
|
private |
Definition at line 265 of file ZDC_PileUpTool.cxx.
|
private |
Definition at line 255 of file ZDC_PileUpTool.cxx.
|
inlineoverridevirtualinherited |
|
inlinefinaloverridevirtual |
Definition at line 46 of file ZDC_PileUpTool.h.
|
private |
Definition at line 436 of file ZDC_PileUpTool.cxx.
|
finaloverridevirtual |
Reimplemented from PileUpToolBase.
Definition at line 31 of file ZDC_PileUpTool.cxx.
| void ZDC_PileUpTool::initializeLHCf2022 | ( | ) |
Definition at line 82 of file ZDC_PileUpTool.cxx.
| void ZDC_PileUpTool::initializePbPb2015 | ( | ) |
Definition at line 67 of file ZDC_PileUpTool.cxx.
| void ZDC_PileUpTool::initializePbPb2023 | ( | ) |
Definition at line 98 of file ZDC_PileUpTool.cxx.
|
finaloverridevirtual |
return false if not interested in certain xing times (in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing
called at the end of the subevts loop. Not (necessarily) able to access SubEvents
Definition at line 242 of file ZDC_PileUpTool.cxx.
|
finaloverridevirtual |
called before the subevts loop. Not (necessarily) able to access SubEvents
Definition at line 192 of file ZDC_PileUpTool.cxx.
|
finaloverridevirtual |
Reimplemented from PileUpToolBase.
Definition at line 117 of file ZDC_PileUpTool.cxx.
|
finaloverridevirtual |
called for each active bunch-crossing to process current SubEvents bunchXing is in ns
Reimplemented from PileUpToolBase.
Definition at line 211 of file ZDC_PileUpTool.cxx.
|
inlineoverridevirtualinherited |
dummy implementation of filter reset
Reimplemented in MergeTruthJetsTool.
Definition at line 51 of file PileUpToolBase.h.
|
private |
|
inlineoverridevirtualinherited |
the method this base class helps implementing
Reimplemented in MergeHijingParsTool, and MergeTrackRecordCollTool.
Definition at line 32 of file PileUpToolBase.h.
|
private |
Definition at line 93 of file ZDC_PileUpTool.h.
|
private |
Definition at line 108 of file ZDC_PileUpTool.h.
|
private |
Definition at line 110 of file ZDC_PileUpTool.h.
|
private |
Definition at line 109 of file ZDC_PileUpTool.h.
|
protectedinherited |
Definition at line 60 of file PileUpToolBase.h.
|
protectedinherited |
Definition at line 54 of file PileUpToolBase.h.
|
private |
Definition at line 96 of file ZDC_PileUpTool.h.
|
private |
Definition at line 88 of file ZDC_PileUpTool.h.
|
protectedinherited |
Definition at line 56 of file PileUpToolBase.h.
|
private |
Definition at line 107 of file ZDC_PileUpTool.h.
|
private |
Definition at line 75 of file ZDC_PileUpTool.h.
|
private |
Definition at line 80 of file ZDC_PileUpTool.h.
|
private |
Definition at line 95 of file ZDC_PileUpTool.h.
|
private |
Definition at line 90 of file ZDC_PileUpTool.h.
|
private |
Definition at line 94 of file ZDC_PileUpTool.h.
|
private |
Definition at line 104 of file ZDC_PileUpTool.h.
|
private |
Definition at line 105 of file ZDC_PileUpTool.h.
|
private |
Definition at line 103 of file ZDC_PileUpTool.h.
|
private |
Definition at line 82 of file ZDC_PileUpTool.h.
|
private |
Definition at line 81 of file ZDC_PileUpTool.h.
|
private |
Definition at line 111 of file ZDC_PileUpTool.h.
|
private |
Definition at line 102 of file ZDC_PileUpTool.h.
|
private |
Definition at line 101 of file ZDC_PileUpTool.h.
|
private |
Definition at line 98 of file ZDC_PileUpTool.h.
|
private |
Definition at line 84 of file ZDC_PileUpTool.h.
|
protectedinherited |
Definition at line 58 of file PileUpToolBase.h.
|
private |
Definition at line 106 of file ZDC_PileUpTool.h.
|
private |
Definition at line 100 of file ZDC_PileUpTool.h.
|
private |
Definition at line 76 of file ZDC_PileUpTool.h.
|
private |
Definition at line 78 of file ZDC_PileUpTool.h.
|
private |
Definition at line 77 of file ZDC_PileUpTool.h.
|
private |
Definition at line 85 of file ZDC_PileUpTool.h.
|
private |
Definition at line 99 of file ZDC_PileUpTool.h.
|
private |
Definition at line 86 of file ZDC_PileUpTool.h.
|
private |
Definition at line 97 of file ZDC_PileUpTool.h.