CMS 3D CMS Logo

PPSDiamondSD.cc
Go to the documentation of this file.
1 //Author: Seyed Mohsen Etesami
3 // setesami@cern.ch
4 // 2016 Nov
15 #include "G4SDManager.hh"
16 #include "G4Step.hh"
17 #include "G4Track.hh"
18 #include "G4VProcess.hh"
19 #include "G4ParticleDefinition.hh"
20 #include "G4ParticleTypes.hh"
22 #include "G4PhysicalConstants.hh"
23 #include "G4SystemOfUnits.hh"
24 #include <iostream>
25 #include <vector>
26 #include <string>
27 
29  const edm::EventSetup& es,
30  const SensitiveDetectorCatalog& clg,
31  edm::ParameterSet const& p,
32  const SimTrackManager* manager)
33  : SensitiveTkDetector(name_, es, clg, p),
34  numberingScheme_(nullptr),
35  hcID_(-1),
36  theHC_(nullptr),
37  currentHit_(nullptr),
38  theTrack_(nullptr),
39  currentPV_(nullptr),
40  unitID_(0),
41  preStepPoint_(nullptr),
42  postStepPoint_(nullptr),
43  eventno_(0) {
44  collectionName.insert(name_);
45  edm::ParameterSet m_Anal = p.getParameter<edm::ParameterSet>("PPSDiamondSD");
46  verbosity_ = m_Anal.getParameter<int>("Verbosity");
47 
48  LogDebug("PPSSimDiamond") << "*******************************************************\n"
49  << "* *\n"
50  << "* Constructing a PPSDiamondSD with name " << name_ << "\n"
51  << "* *\n"
52  << "*******************************************************"
53  << "\n";
54 
55  slave_ = std::make_unique<TrackingSlaveSD>(name_);
56 
57  if (name_ == "CTPPSTimingHits") {
58  numberingScheme_ = std::make_unique<PPSDiamondNumberingScheme>();
59  edm::LogInfo("PPSSimDiamond") << "Find CTPPSDiamondHits as name";
60  } else {
61  edm::LogWarning("PPSSimDiamond") << "PPSDiamondSD: ReadoutName not supported\n";
62  }
63 
64  edm::LogInfo("PPSSimDiamond") << "PPSDiamondSD: Instantiation completed";
65 }
66 
68 
69 void PPSDiamondSD::Initialize(G4HCofThisEvent* HCE) {
70  LogDebug("PPSSimDiamond") << "PPSDiamondSD : Initialize called for " << name_;
71 
73  G4SDManager::GetSDMpointer()->AddNewCollection(name_, collectionName[0]);
74  if (hcID_ < 0)
75  hcID_ = G4SDManager::GetSDMpointer()->GetCollectionID(collectionName[0]);
76  HCE->AddHitsCollection(hcID_, theHC_);
77 }
78 
80  LogDebug("PPSSimDiamond") << theTrack_->GetDefinition()->GetParticleName() << " PPS_Timing_SD CreateNewHit for"
81  << " PV " << currentPV_->GetName() << " PVid = " << currentPV_->GetCopyNo() << " Unit "
82  << unitID_ << "\n";
83  LogDebug("PPSSimDiamond") << " primary " << primaryID_ << " time slice " << tSliceID_ << " of energy "
84  << theTrack_->GetTotalEnergy() << " Eloss_ " << Eloss_ << " positions "
85  << "\n";
86  printf(" PreStepPoint(%10f,%10f,%10f)",
87  preStepPoint_->GetPosition().x(),
88  preStepPoint_->GetPosition().y(),
89  preStepPoint_->GetPosition().z());
90  printf(" PosStepPoint(%10f,%10f,%10f)\n",
91  postStepPoint_->GetPosition().x(),
92  postStepPoint_->GetPosition().y(),
93  postStepPoint_->GetPosition().z());
94  LogDebug("PPSSimDiamond") << " positions "
95  << "(" << postStepPoint_->GetPosition().x() << "," << postStepPoint_->GetPosition().y()
96  << "," << postStepPoint_->GetPosition().z() << ")"
97  << " For Track " << theTrack_->GetTrackID() << " which is a "
98  << theTrack_->GetDefinition()->GetParticleName() << " ParentID is "
99  << theTrack_->GetParentID() << "\n";
100 
101  if (theTrack_->GetTrackID() == 1) {
102  LogDebug("PPSSimDiamond") << " primary particle ";
103  } else {
104  LogDebug("PPSSimDiamond") << " daughter of part. " << theTrack_->GetParentID();
105  }
106 
107  LogDebug("PPSSimDiamond") << " and created by ";
108 
109  if (theTrack_->GetCreatorProcess() != nullptr)
110  LogDebug("PPSSimDiamond") << theTrack_->GetCreatorProcess()->GetProcessName();
111  else
112  LogDebug("PPSSimDiamond") << "NO process";
113 
114  LogDebug("PPSSimDiamond") << "\n";
115 }
116 
117 bool PPSDiamondSD::ProcessHits(G4Step* aStep, G4TouchableHistory*) {
118  if (aStep == nullptr) {
119  LogDebug("PPSSimDiamond") << " There is no hit to process ";
120  return true;
121  } else {
122  LogDebug("PPSSimDiamond") << "*******************************************************\n"
123  << "* *\n"
124  << "* PPS Diamond Hit initialized with name " << name_ << "\n"
125  << "* *\n"
126  << "*******************************************************"
127  << "\n";
128 
129  stepInfo(aStep);
130 
131  if (theTrack_->GetDefinition()->GetPDGEncoding() == 2212) {
132  importInfoToHit(); //in addtion to import info to hit it STORE hit as well
133  LogDebug("PPSSimDiamond") << " information imported to the hit ";
134  }
135 
136  return true;
137  }
138 }
139 
140 void PPSDiamondSD::stepInfo(const G4Step* aStep) {
141  theTrack_ = aStep->GetTrack();
142  preStepPoint_ = aStep->GetPreStepPoint();
143  postStepPoint_ = aStep->GetPostStepPoint();
144  hitPoint_ = preStepPoint_->GetPosition();
145  exitPoint_ = postStepPoint_->GetPosition();
146  currentPV_ = preStepPoint_->GetPhysicalVolume();
149  theglobaltimehit_ = preStepPoint_->GetGlobalTime() / nanosecond;
150  incidentEnergy_ = (aStep->GetPreStepPoint()->GetTotalEnergy() / eV);
151  tSlice_ = (postStepPoint_->GetGlobalTime()) / nanosecond;
152  tSliceID_ = (int)tSlice_;
153  unitID_ = setDetUnitId(aStep);
154 
155  if (verbosity_)
156  LogDebug("PPSSimDiamond") << "UNIT " << unitID_ << "\n";
157 
158  primaryID_ = theTrack_->GetTrackID();
159  Pabs_ = (aStep->GetPreStepPoint()->GetMomentum().mag()) / GeV;
160  thePx_ = (aStep->GetPreStepPoint()->GetMomentum().x()) / GeV;
161  thePy_ = (aStep->GetPreStepPoint()->GetMomentum().y()) / GeV;
162  thePz_ = (aStep->GetPreStepPoint()->GetMomentum().z()) / GeV;
163  Tof_ = aStep->GetPreStepPoint()->GetGlobalTime() / nanosecond;
164  Eloss_ = (aStep->GetPreStepPoint()->GetTotalEnergy() / eV); //pps added
165  ParticleType_ = theTrack_->GetDefinition()->GetPDGEncoding();
166 
167  //corrected phi and theta treatment
168  G4ThreeVector gmd = aStep->GetPreStepPoint()->GetMomentumDirection();
169  // convert it to local frame
170  G4ThreeVector lmd = ((G4TouchableHistory*)(aStep->GetPreStepPoint()->GetTouchable()))
171  ->GetHistory()
172  ->GetTopTransform()
173  .TransformAxis(gmd);
175  ThetaAtEntry_ = lnmd.theta();
176  PhiAtEntry_ = lnmd.phi();
177 
178  if (isPrimary(theTrack_))
179  ParentId_ = 0;
180  else
181  ParentId_ = theTrack_->GetParentID();
182 
183  Vx_ = theTrack_->GetVertexPosition().x() / mm;
184  Vy_ = theTrack_->GetVertexPosition().y() / mm;
185  Vz_ = theTrack_->GetVertexPosition().z() / mm;
186 }
187 
188 uint32_t PPSDiamondSD::setDetUnitId(const G4Step* aStep) {
189  return (numberingScheme_ == nullptr ? 0 : numberingScheme_->unitID(aStep));
190 }
191 
193  if (hit == nullptr) {
194  if (verbosity_)
195  LogDebug("PPSSimDiamond") << "PPSDiamond: hit to be stored is NULL !!"
196  << "\n";
197  return;
198  }
199 
200  theHC_->insert(hit);
201 }
202 
227 
229  LogDebug("PPSSimDiamond") << "STORED HIT IN: " << unitID_ << "\n";
230 }
231 
232 G4ThreeVector PPSDiamondSD::setToLocal(const G4ThreeVector& global) {
233  G4ThreeVector localPoint;
234  const G4VTouchable* touch = preStepPoint_->GetTouchable();
235  localPoint = touch->GetHistory()->GetTopTransform().TransformPoint(global);
236 
237  return localPoint;
238 }
239 
240 void PPSDiamondSD::EndOfEvent(G4HCofThisEvent*) {
241  // here we loop over transient hits and make them persistent
242  for (unsigned int j = 0; j < (unsigned int)theHC_->entries() && j < maxDiamondHits_; j++) {
243  PPSDiamondG4Hit* aHit = (*theHC_)[j];
244 
245  Local3DPoint entry(aHit->localEntry().x(), aHit->localEntry().y(), aHit->localEntry().z());
246  Local3DPoint exit(aHit->localExit().x(), aHit->localExit().y(), aHit->localExit().z());
247  slave_->processHits(PSimHit(entry,
248  exit,
249  aHit->p(),
250  aHit->tof(),
251  aHit->energyLoss(),
252  aHit->particleType(),
253  aHit->unitID(),
254  aHit->trackID(),
255  aHit->thetaAtEntry(),
256  aHit->phiAtEntry()));
257  }
258  summarize();
259 }
260 
262 
264 
266 
268  LogDebug("PPSSimDiamond") << "PPSDiamond: Collection " << theHC_->GetName() << "\n";
269  theHC_->PrintAllHits();
270 }
271 
273  if (slave_->name() == n)
274  c = slave_->hits();
275 }
277  if (scheme) {
278  LogDebug("PPSDiamond") << "PPSDiamondSD: updates numbering scheme for " << GetName();
279  numberingScheme_.reset(scheme);
280  }
281 }
283  LogDebug("PPSSimDiamond") << " Dispatched BeginOfEvent !"
284  << "\n";
285  clearHits();
286  eventno_ = (*i)()->GetEventID();
287 }
288 
289 void PPSDiamondSD::update(const ::EndOfEvent*) {}
290 
291 void PPSDiamondSD::clearTrack(G4Track* track) { track->SetTrackStatus(fStopAndKill); }
292 
293 void PPSDiamondSD::clearHits() { slave_->Initialize(); }
294 
295 bool PPSDiamondSD::isPrimary(const G4Track* track) {
296  TrackInformation* info = dynamic_cast<TrackInformation*>(track->GetUserInformation());
297  return info && info->isPrimary();
298 }
PPSDiamondSD::storeHit
void storeHit(PPSDiamondG4Hit *)
Definition: PPSDiamondSD.cc:192
PPSDiamondG4Hit::thetaAtEntry
double thetaAtEntry() const
Definition: PPSDiamondG4Hit.cc:127
PPSDiamondG4Hit::setTimeSlice
void setTimeSlice(double d)
Definition: PPSDiamondG4Hit.cc:113
PPSDiamondG4Hit::setTof
void setTof(double e)
Definition: PPSDiamondG4Hit.cc:122
SimTrackManager
Definition: SimTrackManager.h:35
PPSDiamondSD::incidentEnergy_
double incidentEnergy_
Definition: PPSDiamondSD.h:75
mps_fire.i
i
Definition: mps_fire.py:428
PPSDiamondSD::theTrack_
G4Track * theTrack_
Definition: PPSDiamondSD.h:80
PPSDiamondG4Hit::setVz
void setVz(double p)
Definition: PPSDiamondG4Hit.cc:152
PPSDiamondG4HitCollection
G4THitsCollection< PPSDiamondG4Hit > PPSDiamondG4HitCollection
Definition: PPSDiamondG4HitCollection.h:12
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
MessageLogger.h
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
PPSDiamondG4Hit::energyLoss
double energyLoss() const
Definition: PPSDiamondG4Hit.cc:118
PPSDiamondSD::stepInfo
void stepInfo(const G4Step *aStep)
Definition: PPSDiamondSD.cc:140
SensitiveTkDetector
Definition: SensitiveTkDetector.h:8
PPSDiamondSD::maxDiamondHits_
static constexpr unsigned int maxDiamondHits_
Definition: PPSDiamondSD.h:49
mps_splice.entry
entry
Definition: mps_splice.py:68
PPSDiamondSD::ParentId_
int ParentId_
Definition: PPSDiamondSD.h:99
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
PPSDiamondG4Hit::trackID
unsigned int trackID() const
Definition: PPSDiamondG4Hit.cc:106
PV3DBase::theta
Geom::Theta< T > theta() const
Definition: PV3DBase.h:72
PPSDiamondG4Hit::unitID
int unitID() const
Definition: PPSDiamondG4Hit.cc:109
PPSDiamondSD::hcID_
G4int hcID_
Definition: PPSDiamondSD.h:77
PPSDiamondSD::fillHits
void fillHits(edm::PSimHitContainer &, const std::string &) override
Definition: PPSDiamondSD.cc:272
PPSDiamondSD::Eloss_
double Eloss_
Definition: PPSDiamondSD.h:95
PPSDiamondSD::clearTrack
void clearTrack(G4Track *Track)
Definition: PPSDiamondSD.cc:291
PPSDiamondG4Hit::p
double p() const
Definition: PPSDiamondG4Hit.cc:116
PPSDiamondG4Hit::setEnergyLoss
void setEnergyLoss(double e)
Definition: PPSDiamondG4Hit.cc:123
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
PPSDiamondSD::clear
void clear() override
Definition: PPSDiamondSD.cc:263
PPSDiamondSD::PhiAtEntry_
double PhiAtEntry_
Definition: PPSDiamondSD.h:98
TrackingSlaveSD.h
PPSDiamondSD::thePz_
double thePz_
Definition: PPSDiamondSD.h:93
PPSDiamondSD::thePy_
double thePy_
Definition: PPSDiamondSD.h:93
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
PPSDiamondSD::Globaltimehit_
double Globaltimehit_
Definition: PPSDiamondSD.h:101
PPSDiamondSD::theLocalExitPoint_
G4ThreeVector theLocalExitPoint_
Definition: PPSDiamondSD.h:91
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
PPSDiamondSD::DrawAll
void DrawAll() override
Definition: PPSDiamondSD.cc:265
SensitiveTkDetector.h
PPSDiamondG4Hit::setVx
void setVx(double p)
Definition: PPSDiamondG4Hit.cc:146
PPSDiamondSD::theLocalEntryPoint_
G4ThreeVector theLocalEntryPoint_
Definition: PPSDiamondSD.h:90
PPSDiamondG4Hit::localEntry
const G4ThreeVector & localEntry() const
Definition: PPSDiamondG4Hit.cc:98
PPSDiamondSD::printHitInfo
void printHitInfo()
Definition: PPSDiamondSD.cc:79
PPSDiamondG4Hit::setParentId
void setParentId(int p)
Definition: PPSDiamondG4Hit.cc:143
PPSDiamondSD::ProcessHits
bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory) override
Definition: PPSDiamondSD.cc:117
PPSDiamondSD::currentHit_
PPSDiamondG4Hit * currentHit_
Definition: PPSDiamondSD.h:79
PPSDiamondSD::eventno_
int eventno_
Definition: PPSDiamondSD.h:103
PPSDiamondG4Hit::localExit
const G4ThreeVector & localExit() const
Definition: PPSDiamondG4Hit.cc:100
PPSDiamondG4Hit::tof
double tof() const
Definition: PPSDiamondG4Hit.cc:117
PPSDiamondSD::EndOfEvent
void EndOfEvent(G4HCofThisEvent *eventHC) override
Definition: PPSDiamondSD.cc:240
PPSDiamondSD::setToLocal
G4ThreeVector setToLocal(const G4ThreeVector &globalPoint)
Definition: PPSDiamondSD.cc:232
PPSDiamondSD::tSliceID_
G4int tSliceID_
Definition: PPSDiamondSD.h:83
PPSDiamondSD::exitPoint_
G4ThreeVector exitPoint_
Definition: PPSDiamondSD.h:89
PPSDiamondSD::setNumberingScheme
void setNumberingScheme(PPSVDetectorOrganization *scheme)
Definition: PPSDiamondSD.cc:276
PPSDiamondSD::Vz_
double Vz_
Definition: PPSDiamondSD.h:100
G4ProcessTypeEnumerator.h
PPSDiamondSD::numberingScheme_
std::unique_ptr< PPSVDetectorOrganization > numberingScheme_
Definition: PPSDiamondSD.h:59
PPSDiamondG4Hit::setExit
void setExit(const G4ThreeVector &xyz)
Definition: PPSDiamondG4Hit.cc:96
PPSDiamondSD::primaryID_
G4int primaryID_
Definition: PPSDiamondSD.h:83
PPSVDetectorOrganization
Definition: PPSVDetectorOrganization.h:10
SensitiveDetectorCatalog
Definition: SensitiveDetectorCatalog.h:10
Point3DBase< float, LocalTag >
bysipixelclustmulteventfilter_cfi.collectionName
collectionName
Definition: bysipixelclustmulteventfilter_cfi.py:5
PPSDiamondSD::preStepPoint_
G4StepPoint * preStepPoint_
Definition: PPSDiamondSD.h:86
PPSDiamondG4Hit::phiAtEntry
double phiAtEntry() const
Definition: PPSDiamondG4Hit.cc:128
PPSDiamondSD::theHC_
PPSDiamondG4HitCollection * theHC_
Definition: PPSDiamondSD.h:78
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PPSDiamondSD::unitID_
unsigned int unitID_
Definition: PPSDiamondSD.h:82
PPSDiamondSD::Tof_
double Tof_
Definition: PPSDiamondSD.h:94
PPSDiamondG4Hit::setEntry
void setEntry(const G4ThreeVector &xyz)
Definition: PPSDiamondG4Hit.cc:93
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
edm::ParameterSet
Definition: ParameterSet.h:47
PPSDiamondSD::Vx_
double Vx_
Definition: PPSDiamondSD.h:100
PPSDiamondSD::PrintAll
void PrintAll() override
Definition: PPSDiamondSD.cc:267
PPSDiamondG4Hit::setLocalEntry
void setLocalEntry(const G4ThreeVector &theLocalEntryPoint)
Definition: PPSDiamondG4Hit.cc:99
PPSDiamondG4Hit
Definition: PPSDiamondG4Hit.h:13
GeV
const double GeV
Definition: MathUtil.h:16
PPSDiamondSD::update
void update(const BeginOfEvent *) override
This routine will be called when the appropriate signal arrives.
Definition: PPSDiamondSD.cc:282
PPSDiamondSD::isPrimary
bool isPrimary(const G4Track *track)
Definition: PPSDiamondSD.cc:295
PPSDiamondSD::Pabs_
double Pabs_
Definition: PPSDiamondSD.h:92
PPSDiamondG4Hit::setTrackID
void setTrackID(int i)
Definition: PPSDiamondG4Hit.cc:107
PPSDiamondSD::currentPV_
G4VPhysicalVolume * currentPV_
Definition: PPSDiamondSD.h:81
SensitiveDetectorCatalog.h
SensitiveDetector::ConvertToLocal3DPoint
Local3DPoint ConvertToLocal3DPoint(const G4ThreeVector &point) const
Definition: SensitiveDetector.h:56
TrackInformation
Definition: TrackInformation.h:12
createfilelist.int
int
Definition: createfilelist.py:10
PPSDiamondSD::Vy_
double Vy_
Definition: PPSDiamondSD.h:100
PPSDiamondG4Hit::setP
void setP(double e)
Definition: PPSDiamondG4Hit.cc:121
PPSDiamondG4Hit::setThetaAtEntry
void setThetaAtEntry(double t)
Definition: PPSDiamondG4Hit.cc:130
UpdatablePSimHit.h
PPSDiamondG4Hit::setUnitID
void setUnitID(unsigned int i)
Definition: PPSDiamondG4Hit.cc:110
PPSDiamondG4Hit::setIncidentEnergy
void setIncidentEnergy(double e)
Definition: PPSDiamondG4Hit.cc:104
PPSDiamondSD::verbosity_
int verbosity_
Definition: PPSDiamondSD.h:61
BeginOfEvent
Definition: BeginOfEvent.h:6
PPSDiamondG4Hit::setPy
void setPy(double p)
Definition: PPSDiamondG4Hit.cc:155
edm::EventSetup
Definition: EventSetup.h:58
PPSDiamondSD::PPSDiamondSD
PPSDiamondSD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: PPSDiamondSD.cc:28
TrackInformation.h
PPSDiamondG4Hit::particleType
int particleType() const
Definition: PPSDiamondG4Hit.cc:119
PPSDiamondSD::ParticleType_
short ParticleType_
Definition: PPSDiamondSD.h:96
PPSDiamondG4Hit::setParticleType
void setParticleType(short i)
Definition: PPSDiamondG4Hit.cc:125
PPSDiamondSD::name_
G4String name_
Definition: PPSDiamondSD.h:76
generator_cfi.scheme
scheme
Definition: generator_cfi.py:22
PPSDiamondSD::~PPSDiamondSD
~PPSDiamondSD() override
Definition: PPSDiamondSD.cc:67
PPSDiamondG4Hit::setPz
void setPz(double p)
Definition: PPSDiamondG4Hit.cc:156
PPSDiamondSD::hitPoint_
G4ThreeVector hitPoint_
Definition: PPSDiamondSD.h:88
EventSetup.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
PPSDiamondSD::theglobaltimehit_
double theglobaltimehit_
Definition: PPSDiamondSD.h:102
PPSDiamondSD::thePx_
double thePx_
Definition: PPSDiamondSD.h:93
PPSDiamondSD::slave_
std::unique_ptr< TrackingSlaveSD > slave_
Definition: PPSDiamondSD.h:58
PPSDiamondSD::summarize
void summarize()
Definition: PPSDiamondSD.cc:261
PPSDiamondSD.h
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition: PSimHitContainer.h:11
beamvalidation.exit
def exit(msg="")
Definition: beamvalidation.py:53
PPSDiamondG4Hit::setPx
void setPx(double p)
Definition: PPSDiamondG4Hit.cc:154
PSimHit
Definition: PSimHit.h:15
PPSDiamondSD::postStepPoint_
G4StepPoint * postStepPoint_
Definition: PPSDiamondSD.h:87
PPSDiamondSD::Initialize
void Initialize(G4HCofThisEvent *HCE) override
Definition: PPSDiamondSD.cc:69
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
PPSDiamondSD::ThetaAtEntry_
double ThetaAtEntry_
Definition: PPSDiamondSD.h:97
PPSDiamondSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *step) override
Definition: PPSDiamondSD.cc:188
PPSDiamondG4Hit::setLocalExit
void setLocalExit(const G4ThreeVector &theLocalExitPoint)
Definition: PPSDiamondG4Hit.cc:101
PPSDiamondG4Hit::setPhiAtEntry
void setPhiAtEntry(double f)
Definition: PPSDiamondG4Hit.cc:131
PV3DBase::phi
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
PPSDiamondG4Hit::setVy
void setVy(double p)
Definition: PPSDiamondG4Hit.cc:149
PPSDiamondG4Hit::setGlobalTimehit
void setGlobalTimehit(double h)
Definition: PPSDiamondG4Hit.cc:163
hit
Definition: SiStripHitEffFromCalibTree.cc:88
PPSDiamondSD::tSlice_
G4double tSlice_
Definition: PPSDiamondSD.h:84
PPSDiamondSD::importInfoToHit
void importInfoToHit()
Definition: PPSDiamondSD.cc:203
PPSDiamondSD::clearHits
void clearHits() override
Definition: PPSDiamondSD.cc:293