|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "G4VSensitiveDetector.hh"
12 #include <gtest/gtest_prod.h>
55 G4bool
ProcessHits(G4Step* a_step,G4TouchableHistory*)
override;
74 G4bool
SpecialHit(G4Step* a_step,
const std::vector<G4double>& a_energies);
const AtlasDetectorID * m_id_helper
std::set< CaloCalibrationHit *, LessHit > m_calibrationHits_t
const LArEM_ID * m_larEmID
Pointers to the identifier helpers.
FRIEND_TEST(LArG4CalibSDtest, addDetectorHelper)
G4bool SpecialHit(G4Step *a_step, const std::vector< G4double > &a_energies)
For other classes that need to call into us...
Helper class for LArHEC offline identifiers.
void addDetectorHelper(const AtlasDetectorID *id_helper)
FRIEND_TEST(LArG4CalibSDtest, SimpleHit)
const CaloDM_ID * m_caloDmID
FRIEND_TEST(LArG4CalibSDtest, ProcessHits)
G4int m_numberInvalidHits
Count the number of invalid hits.
LArG4CalibSD(G4String a_name, ILArCalibCalculatorSvc *calc, bool doPID=false)
Constructor.
virtual ~LArG4CalibSD()
Destructor.
G4bool m_doPID
Are we set up to run with PID hits?
A specialized SD class for saving LAr calibration hits.
FRIEND_TEST(LArG4CalibSDtest, SpecialHit)
const LArHEC_ID * m_larHecID
Class to store calorimeter calibration hit.
G4bool SimpleHit(const LArG4Identifier &a_ident, const std::vector< double > &energies, m_calibrationHits_t &calibrationHits)
Constructs the calibration hit and saves it to the set.
FRIEND_TEST(LArG4CalibSDtest, EndOfAthenaEvent)
ILArCalibCalculatorSvc * m_calculator
Member variable - the calculator we'll use.
FRIEND_TEST(LArG4CalibSDtest, ConvertID)
void EndOfAthenaEvent(CaloCalibrationHitContainer *hitContainer, CaloCalibrationHitContainer *deadHitContainer=nullptr)
End of athena event processing.
FRIEND_TEST(LArG4CalibSDtest, setupHelpers)
G4bool ProcessHits(G4Step *a_step, G4TouchableHistory *) override
Main processing method.
Helper class for Calo Dead Material offline identifiers.
bool operator()(CaloCalibrationHit *const &p, CaloCalibrationHit *const &q) const
Identifier ConvertID(const LArG4Identifier &a_ident) const
Helper function for making "real" identifiers from LArG4Identifiers.
Helper class for LArEM offline identifiers.
m_calibrationHits_t m_calibrationHits
The actual set of calibration hits.
Helper class for LArFCAL offline identifiers.
void setupHelpers(const LArEM_ID *EM, const LArFCAL_ID *FCAL, const LArHEC_ID *HEC, const CaloDM_ID *caloDm)
Sets the ID helper pointers.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
const LArFCAL_ID * m_larFcalID
m_calibrationHits_t m_deadCalibrationHits
The actual set of dead material calibration hits.