ATLAS Offline Software
Loading...
Searching...
No Matches
LUCID_SensitiveDetectorTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6// Class header
8
9// Package includes
11
14
15//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
16
17LUCID_SensitiveDetectorTool::LUCID_SensitiveDetectorTool(const std::string& type, const std::string& name, const IInterface* parent)
18 : SensitiveDetectorBase(type,name,parent)
19{
20}
21
22//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
23
25{
28 return StatusCode::SUCCESS;
29}
30
32{
34 return StatusCode::SUCCESS;
35}
36
37//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
38
39G4VSensitiveDetector* LUCID_SensitiveDetectorTool::makeSD() const
40{
41 ATH_MSG_DEBUG( "Initializing SD" );
42 // Create a fresh SD
44}
#define ATH_MSG_DEBUG(x)
#define CHECK(...)
Evaluate an expression and check for errors.
AtlasHitsVector< LUCID_SimHit > LUCID_SimHitCollection
Small wrapper around hit collection map to facilitate accessing the hit collection.
StatusCode Record(std::string const &sgKey, std::string const &hitCollectionName, EventContext const &ctx)
Record the hit collection hitCollectionName to the StoreGate sgKey.
std::pair< StorageIterator, bool > Emplace(std::string const &hitCollectionName, CollectionArgs &&... args)
Insert a container in the map with in-place construction.
LUCID_SensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
G4VSensitiveDetector * makeSD() const override final
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
Gaudi::Property< std::vector< std::string > > m_outputCollectionNames
Names of all output collections written out by this SD.
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.