![]() |
ATLAS Offline Software
|
#include <CscDigitizationTool.h>
Public Member Functions | |
| CscDigitizationTool (const std::string &type, const std::string &name, const IInterface *pIID) | |
| ~CscDigitizationTool ()=default | |
| virtual StatusCode | initialize () override final |
| virtual StatusCode | mergeEvent (const EventContext &ctx) override final |
| called at the end of 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 | prepareEvent (const EventContext &ctx, unsigned int) 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 |
| alternative interface which uses the PileUpMergeSvc to obtain all the required SubEvents. | |
Private Types | |
| typedef std::vector< CscSimData::Deposit > | deposits |
| typedef std::map< IdentifierHash, std::pair< double, double > > | csc_map |
| typedef std::map< IdentifierHash, std::vector< float > > | csc_newmap |
| using | Collections_t = std::vector<std::unique_ptr<CscDigitCollection> > |
Private Member Functions | |
| StatusCode | FillCollectionWithNewDigitEDM (csc_newmap &data_SampleMap, std::map< IdentifierHash, deposits > &myDeposits, bool phaseToSet, Collections_t &collections, CscSimDataCollection *cscSimData) |
| StatusCode | FillCollectionWithOldDigitEDM (csc_map &data_map, std::map< IdentifierHash, deposits > &myDeposits, Collections_t &collections, CscSimDataCollection *cscSimData) |
| StatusCode | CoreDigitization (Collections_t &collections, CscSimDataCollection *cscSimData, CLHEP::HepRandomEngine *rndmEngine, const EventContext &ctx) |
| StatusCode | getNextEvent (const EventContext &ctx) |
Private Attributes | |
| ToolHandle< ICscCalibTool > | m_pcalib {this, "cscCalibTool", "CscCalibTool", "CSC calibration tool"} |
| BooleanProperty | m_onlyUseContainerName {this, "OnlyUseContainerName", true, "Don't use the ReadHandleKey directly. Just extract the container name from it."} |
| SG::ReadHandleKey< CSCSimHitCollection > | m_hitsContainerKey {this, "InputObjectName", "CSC_Hits", "name of the input objects"} |
| std::string | m_inputObjectName {""} |
| SG::WriteHandleKey< CscSimDataCollection > | m_cscSimDataCollectionWriteHandleKey {this,"CSCSimDataCollectionOutputName","CSC_SDO","WriteHandleKey for Output CscSimDataCollection"} |
| SG::WriteHandleKey< CscDigitContainer > | m_cscDigitContainerKey {this,"OutputObjectName","CSC_DIGITS","CSC digit container object"} |
| std::unique_ptr< CSC_Digitizer > | m_cscDigitizer {nullptr} |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
| Gaudi::Property< double > | m_pedestal {this, "pedestal",0.0, ""} |
| Gaudi::Property< bool > | m_maskBadChannel {this, "maskBadChannels", true, ""} |
| Gaudi::Property< double > | m_amplification {this, "amplification", 0.58e5, ""} |
| TimedHitCollection< CSCSimHit > * | m_thpcCSC {nullptr} |
| std::list< CSCSimHitCollection * > | m_cscHitCollList |
| Gaudi::Property< bool > | m_includePileUpTruth {this, "IncludePileUpTruth", true, "Include pile-up truth info"} |
| Gaudi::Property< double > | m_timeWindowLowerOffset {this, "WindowLowerOffset", -25., ""} |
| Gaudi::Property< double > | m_timeWindowUpperOffset {this, "WindowUpperOffset", +25., ""} |
| Gaudi::Property< bool > | m_isPileUp {this, "isPileUp", false, ""} |
| Gaudi::Property< bool > | m_newDigitEDM {this, "NewDigitEDM", true, ""} |
| Gaudi::Property< double > | m_driftVelocity {this, "DriftVelocity", 60, ""} |
| Gaudi::Property< double > | m_electronEnergy {this, "ElectronEnergy", 66, ""} |
| Gaudi::Property< bool > | m_NInterFixed {this, "NInterFixed", false, ""} |
| ServiceHandle< PileUpMergeSvc > | m_mergeSvc {this, "PileUpMergeSvc", "PileUpMergeSvc", ""} |
| ServiceHandle< IAthRNGSvc > | m_rndmSvc {this, "RndmSvc", "AthRNGSvc", ""} |
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 39 of file CscDigitizationTool.h.
|
private |
Definition at line 75 of file CscDigitizationTool.h.
|
private |
Definition at line 42 of file CscDigitizationTool.h.
|
private |
Definition at line 43 of file CscDigitizationTool.h.
|
private |
Definition at line 41 of file CscDigitizationTool.h.
| CscDigitizationTool::CscDigitizationTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | pIID ) |
Definition at line 17 of file CscDigitizationTool.cxx.
|
default |
|
private |
Definition at line 139 of file CscDigitizationTool.cxx.
|
private |
mask this readout channel if it is a dead channel or a hot channel
Definition at line 241 of file CscDigitizationTool.cxx.
|
private |
mask this readout channel if it is a dead channel or a hot channel
Definition at line 349 of file CscDigitizationTool.cxx.
|
inlineoverridevirtualinherited |
|
private |
Definition at line 445 of file CscDigitizationTool.cxx.
|
finaloverridevirtual |
CSC calibratin tool for the Condtiions Data base access
Reimplemented from PileUpToolBase.
Definition at line 21 of file CscDigitizationTool.cxx.
|
finaloverridevirtual |
called at the end of the subevts loop. Not (necessarily) able to access subEvents
Definition at line 545 of file CscDigitizationTool.cxx.
|
finaloverridevirtual |
return false if not interested in certain xing times (in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing
Definition at line 90 of file CscDigitizationTool.cxx.
|
finaloverridevirtual |
alternative interface which uses the PileUpMergeSvc to obtain all the required SubEvents.
Reimplemented from PileUpToolBase.
Definition at line 101 of file CscDigitizationTool.cxx.
|
finaloverridevirtual |
called for each active bunch-crossing to process current subEvents. bunchXing is in ns
Reimplemented from PileUpToolBase.
Definition at line 502 of file CscDigitizationTool.cxx.
|
inlineoverridevirtualinherited |
dummy implementation of filter reset
Reimplemented in MergeTruthJetsTool.
Definition at line 51 of file PileUpToolBase.h.
|
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 103 of file CscDigitizationTool.h.
|
private |
Definition at line 95 of file CscDigitizationTool.h.
|
private |
Definition at line 97 of file CscDigitizationTool.h.
|
private |
Definition at line 107 of file CscDigitizationTool.h.
|
private |
Definition at line 94 of file CscDigitizationTool.h.
|
private |
Definition at line 115 of file CscDigitizationTool.h.
|
private |
Definition at line 116 of file CscDigitizationTool.h.
|
protectedinherited |
Definition at line 60 of file PileUpToolBase.h.
|
protectedinherited |
Definition at line 54 of file PileUpToolBase.h.
|
private |
Definition at line 92 of file CscDigitizationTool.h.
|
private |
Definition at line 99 of file CscDigitizationTool.h.
|
private |
Definition at line 109 of file CscDigitizationTool.h.
|
private |
Definition at line 93 of file CscDigitizationTool.h.
|
private |
Definition at line 113 of file CscDigitizationTool.h.
|
protectedinherited |
Definition at line 56 of file PileUpToolBase.h.
|
private |
Definition at line 102 of file CscDigitizationTool.h.
|
private |
Definition at line 119 of file CscDigitizationTool.h.
|
private |
Definition at line 114 of file CscDigitizationTool.h.
|
private |
Definition at line 117 of file CscDigitizationTool.h.
|
private |
Definition at line 91 of file CscDigitizationTool.h.
|
private |
Definition at line 89 of file CscDigitizationTool.h.
|
private |
Definition at line 101 of file CscDigitizationTool.h.
|
private |
Definition at line 121 of file CscDigitizationTool.h.
|
private |
Definition at line 106 of file CscDigitizationTool.h.
|
private |
Definition at line 111 of file CscDigitizationTool.h.
|
private |
Definition at line 112 of file CscDigitizationTool.h.
|
protectedinherited |
Definition at line 58 of file PileUpToolBase.h.