ATLAS Offline Software
LArCalorimeter
LArG4
LArG4H6SD
src
LArG4H62004CalibSD.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef __LArG4H62004CalibSD_H__
6
#define __LArG4H62004CalibSD_H__
7
8
#include "
LArG4Code/LArG4CalibSD.h
"
9
#include "
LArG4Code/LArG4Identifier.h
"
10
11
#include <set>
12
#include <vector>
13
14
// Forward declarations.
15
class
G4Step;
16
class
G4HCofThisEvent;
17
class
G4TouchableHistory;
18
19
class
LArG4H62004CalibSD
:
public
LArG4CalibSD
20
{
21
public
:
22
LArG4H62004CalibSD
(G4String
name
,
ILArCalibCalculatorSvc
*
calc
,
bool
doPID=
false
);
23
virtual
~LArG4H62004CalibSD
() {}
24
25
// The required functions for all sensitive detectors:
26
G4bool
ProcessHits
(G4Step*
step
, G4TouchableHistory* ROhist);
27
28
// The calibration sensitive detector can receive a message that
29
// is outside Geant4's normal hit processing: for a particular
30
// G4Step, get the identifier and deposite a specified amount of
31
// energy.
32
virtual
G4bool
SpecialHit
(G4Step*
step
,
const
std::vector<G4double>&
energy
);
33
34
private
:
35
LArG4H62004CalibSD
(
const
LArG4H62004CalibSD
&);
36
LArG4H62004CalibSD
&
operator=
(
const
LArG4H62004CalibSD
&);
37
};
38
39
#endif // __LArG4H62004CalibSD_H__
LArG4H62004CalibSD::operator=
LArG4H62004CalibSD & operator=(const LArG4H62004CalibSD &)
LArG4H62004CalibSD::LArG4H62004CalibSD
LArG4H62004CalibSD(G4String name, ILArCalibCalculatorSvc *calc, bool doPID=false)
LArG4CalibSD.h
LArG4H62004CalibSD
Definition:
LArG4H62004CalibSD.h:20
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition:
ParticleGun_FastCalo_ChargeFlip_Config.py:78
LArG4CalibSD
A specialized SD class for saving LAr calibration hits.
Definition:
LArG4CalibSD.h:38
LArG4H62004CalibSD::ProcessHits
G4bool ProcessHits(G4Step *step, G4TouchableHistory *ROhist)
LArG4Identifier.h
LArG4H62004CalibSD::~LArG4H62004CalibSD
virtual ~LArG4H62004CalibSD()
Definition:
LArG4H62004CalibSD.h:23
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
ILArCalibCalculatorSvc
Definition:
ILArCalibCalculatorSvc.h:23
LArG4H62004CalibSD::LArG4H62004CalibSD
LArG4H62004CalibSD(const LArG4H62004CalibSD &)
LArG4H62004CalibSD::SpecialHit
virtual G4bool SpecialHit(G4Step *step, const std::vector< G4double > &energy)
LArCellBinning.step
step
Definition:
LArCellBinning.py:158
beamspotnt.calc
calc
Definition:
bin/beamspotnt.py:1252
Generated on Fri Jul 5 2024 21:20:25 for ATLAS Offline Software by
1.8.18