#include <HGCalTB16SD01.h>
|
virtual double | getEnergyDeposit (G4Step *) |
|
| HGCalTB16SD01 (G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) |
|
virtual uint32_t | setDetUnitId (G4Step *step) |
|
virtual | ~HGCalTB16SD01 () |
|
| CaloSD (G4String aSDname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *, float timeSlice=1., bool ignoreTkID=false) |
|
virtual void | clear () |
|
virtual void | DrawAll () |
|
virtual void | EndOfEvent (G4HCofThisEvent *eventHC) |
|
void | fillHits (edm::PCaloHitContainer &, std::string n) |
|
virtual void | Initialize (G4HCofThisEvent *HCE) |
|
virtual void | PrintAll () |
|
virtual bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) |
|
virtual bool | ProcessHits (G4GFlashSpot *aSpot, G4TouchableHistory *) |
|
virtual | ~CaloSD () |
|
| SensitiveCaloDetector (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) |
|
virtual void | AssignSD (const std::string &vname) |
|
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) |
|
Local3DPoint | FinalStepPosition (G4Step *s, coordinates) |
|
virtual std::vector< std::string > | getNames () |
|
Local3DPoint | InitialStepPosition (G4Step *s, coordinates) |
|
std::string | nameOfSD () |
|
void | NaNTrap (G4Step *step) |
|
void | Register () |
|
| SensitiveDetector (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p) |
|
virtual | ~SensitiveDetector () |
|
| Observer () |
|
void | slotForUpdate (const BeginOfRun *iT) |
|
virtual | ~Observer () |
|
| Observer () |
|
void | slotForUpdate (const BeginOfEvent *iT) |
|
virtual | ~Observer () |
|
| Observer () |
|
void | slotForUpdate (const BeginOfTrack *iT) |
|
virtual | ~Observer () |
|
| Observer () |
|
void | slotForUpdate (const EndOfTrack *iT) |
|
virtual | ~Observer () |
|
| Observer () |
|
void | slotForUpdate (const EndOfEvent *iT) |
|
virtual | ~Observer () |
|
|
static uint32_t | packIndex (int det, int lay, int x, int y) |
|
static void | unpackIndex (const uint32_t &idx, int &det, int &lay, int &x, int &y) |
|
Definition at line 19 of file HGCalTB16SD01.h.
Definition at line 24 of file HGCalTB16SD01.cc.
References birk1_, birk2_, birk3_, g, edm::ParameterSet::getParameter(), matName_, matScin_, MeV, AlCaHLTBitMon_QueryRunRegistry::string, and useBirk_.
39 edm::LogInfo(
"HGCSim") <<
"HGCalTB16SD01:: Use of Birks law is set to "
40 << useBirk_ <<
" for " << matName_
41 <<
" with three constants kB = " << birk1_
42 <<
", C1 = " << birk2_ <<
", C2 = " <<
birk3_;
T getParameter(std::string const &) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
CaloSD(G4String aSDname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *, float timeSlice=1., bool ignoreTkID=false)
HGCalTB16SD01::~HGCalTB16SD01 |
( |
| ) |
|
|
virtual |
double HGCalTB16SD01::getEnergyDeposit |
( |
G4Step * |
aStep | ) |
|
|
virtual |
Reimplemented from CaloSD.
Definition at line 47 of file HGCalTB16SD01.cc.
References birk1_, birk2_, birk3_, gather_cfg::cout, CaloSD::getAttenuation(), initialize(), initialize_, matScin_, point, useBirk_, and histoStyle::weight.
49 G4StepPoint*
point = aStep->GetPreStepPoint();
51 double destep = aStep->GetTotalEnergyDeposit();
58 << point->GetTouchable()->GetVolume()->GetName() <<
" with "
59 << point->GetMaterial()->GetName() <<
" weight " << weight
void initialize(G4StepPoint *point)
double getAttenuation(G4Step *aStep, double birk1, double birk2, double birk3)
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
void HGCalTB16SD01::initialize |
( |
G4StepPoint * |
point | ) |
|
|
private |
uint32_t HGCalTB16SD01::packIndex |
( |
int |
det, |
|
|
int |
lay, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
|
static |
uint32_t HGCalTB16SD01::setDetUnitId |
( |
G4Step * |
step | ) |
|
|
virtual |
void HGCalTB16SD01::unpackIndex |
( |
const uint32_t & |
idx, |
|
|
int & |
det, |
|
|
int & |
lay, |
|
|
int & |
x, |
|
|
int & |
y |
|
) |
| |
|
static |
Definition at line 98 of file HGCalTB16SD01.cc.
References x, and y.
103 y = (idx>>10)&511;
if (((idx>>19)&1) == 1)
y = -
y;
104 x = (idx)&511;
if (((idx>>9)&1) == 1)
x = -
x;
double HGCalTB16SD01::birk1_ |
|
private |
double HGCalTB16SD01::birk2_ |
|
private |
double HGCalTB16SD01::birk3_ |
|
private |
bool HGCalTB16SD01::initialize_ |
|
private |
std::string HGCalTB16SD01::matName_ |
|
private |
G4Material* HGCalTB16SD01::matScin_ |
|
private |
bool HGCalTB16SD01::useBirk_ |
|
private |