SND@LHC Software
Loading...
Searching...
No Matches
Hpt Class Reference

#include <HPT.h>

Inheritance diagram for Hpt:
Collaboration diagram for Hpt:

Public Member Functions

 Hpt (const char *name, const Double_t DX, const Double_t DY, const Double_t DZ, Bool_t Active, const char *Title="HighPrecisionTrackers")
 
 Hpt ()
 
virtual ~Hpt ()
 
void ConstructGeometry ()
 
void SetSciFiParam (Double_t scifimat_width, Double_t scifimat_hor, Double_t scifimat_vert, Double_t scifimat_z, Double_t support_z, Double_t honeycomb_z)
 
void SetHPTrackerParam (Double_t HPTX, Double_t HPTY, Double_t HPTZ)
 
void SetNumberSciFi (Int_t n_hor_planes_, Int_t n_vert_planes_)
 
void SetZsize (const Double_t Mudetsize)
 
void SetConcreteBaseDim (Double_t X, Double_t Y, Double_t Z)
 
void SetDesign (Int_t Design)
 
void SetDistanceHPTs (Double_t dd)
 
void SetHPTNumber (Int_t nHPT)
 
void SetSurroundingDetHeight (Double_t height)
 
void GetMagnetGeometry (Double_t EmuzC, Double_t EmuY)
 
void GetNumberofTargets (Int_t ntarget)
 
virtual void Initialize ()
 
virtual Bool_t ProcessHits (FairVolume *v=0)
 
virtual void Register ()
 
virtual TClonesArray * GetCollection (Int_t iColl) const
 
virtual void Reset ()
 
HptPointAddHit (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss, Int_t pdgCode)
 
virtual void CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
 
virtual void SetSpecialPhysicsCuts ()
 
virtual void EndOfEvent ()
 
virtual void FinishPrimary ()
 
virtual void FinishRun ()
 
virtual void BeginPrimary ()
 
virtual void PostTrack ()
 
virtual void PreTrack ()
 
virtual void BeginEvent ()
 
void DecodeVolumeID (Int_t detID, int &nHPT, int &nplane, Bool_t &ishor)
 

Protected Member Functions

 Hpt (const Hpt &)
 
Hptoperator= (const Hpt &)
 

Protected Attributes

Double_t DimX
 
Double_t DimY
 
Double_t DimZ
 
Double_t zSizeMudet
 
Double_t fConcreteX
 
Double_t fConcreteY
 
Double_t fConcreteZ
 
Double_t fSRHeight
 
Double_t fDesign
 
Double_t fDistance
 
Int_t fnHPT
 
Double_t HPTrackerX
 
Double_t HPTrackerY
 
Double_t HPTrackerZ
 
Double_t scifimat_width
 
Double_t scifimat_hor
 
Double_t scifimat_vert
 
Double_t scifimat_z
 
Double_t support_z
 
Double_t honeycomb_z
 
Int_t n_hor_planes
 
Int_t n_vert_planes
 
Double_t fmagnety
 
Double_t fmagnetcenter
 
Int_t fntarget
 

Private Member Functions

Int_t InitMedium (const char *name)
 

Private Attributes

Int_t fTrackID
 
Int_t fPdgCode
 track index
 
Int_t fVolumeID
 pdg code
 
TLorentzVector fPos
 volume id
 
TLorentzVector fMom
 position at entrance
 
Double32_t fTime
 momentum at entrance
 
Double32_t fLength
 time
 
Double32_t fELoss
 length
 
TClonesArray * fHptPointCollection
 energy loss
 

Detailed Description

Definition at line 18 of file HPT.h.

Constructor & Destructor Documentation

◆ Hpt() [1/3]

Hpt::Hpt ( const char *  name,
const Double_t  DX,
const Double_t  DY,
const Double_t  DZ,
Bool_t  Active,
const char *  Title = "HighPrecisionTrackers" 
)

Definition at line 68 of file HPT.cxx.

69 : FairDetector(name, Active, ktauHpt),
70 fTrackID(-1),
71 fPdgCode(),
72 fVolumeID(-1),
73 fPos(),
74 fMom(),
75 fTime(-1.),
76 fLength(-1.),
77 fELoss(-1),
78 fHptPointCollection(new TClonesArray("HptPoint"))
79{
80 DimX = DX;
81 DimY = DY;
82 DimZ = DZ;
83}
@ ktauHpt
TLorentzVector fPos
volume id
Definition HPT.h:92
Int_t fVolumeID
pdg code
Definition HPT.h:91
Double32_t fLength
time
Definition HPT.h:95
Double_t DimY
Definition HPT.h:108
Int_t fPdgCode
track index
Definition HPT.h:90
Int_t fTrackID
Definition HPT.h:89
Double_t DimX
Definition HPT.h:107
Double32_t fELoss
length
Definition HPT.h:96
TLorentzVector fMom
position at entrance
Definition HPT.h:93
Double_t DimZ
Definition HPT.h:109
Double32_t fTime
momentum at entrance
Definition HPT.h:94
TClonesArray * fHptPointCollection
energy loss
Definition HPT.h:99

◆ Hpt() [2/3]

Hpt::Hpt ( )

Definition at line 54 of file HPT.cxx.

55 : FairDetector("HighPrecisionTrackers",kTRUE, ktauHpt),
56 fTrackID(-1),
57 fPdgCode(),
58 fVolumeID(-1),
59 fPos(),
60 fMom(),
61 fTime(-1.),
62 fLength(-1.),
63 fELoss(-1),
64 fHptPointCollection(new TClonesArray("HptPoint"))
65{
66}

◆ ~Hpt()

Hpt::~Hpt ( )
virtual

Definition at line 85 of file HPT.cxx.

86{
88 fHptPointCollection->Delete();
90 }
91}

◆ Hpt() [3/3]

Hpt::Hpt ( const Hpt )
protected

Member Function Documentation

◆ AddHit()

HptPoint * Hpt::AddHit ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  time,
Double_t  length,
Double_t  eLoss,
Int_t  pdgCode 
)

This method is an example of how to add your own point of type muonPoint to the clones array

Definition at line 409 of file HPT.cxx.

414{
415 TClonesArray& clref = *fHptPointCollection;
416 Int_t size = clref.GetEntriesFast();
417
418 return new(clref[size]) HptPoint(trackID, detID, pos, mom,time, length, eLoss, pdgCode);
419}

◆ BeginEvent()

virtual void Hpt::BeginEvent ( )
inlinevirtual

Definition at line 80 of file HPT.h.

80{;}

◆ BeginPrimary()

virtual void Hpt::BeginPrimary ( )
inlinevirtual

Definition at line 77 of file HPT.h.

77{;}

◆ ConstructGeometry()

void Hpt::ConstructGeometry ( )

Definition at line 188 of file HPT.cxx.

189{
190 InitMedium("HPTgas");
191 TGeoMedium *HPTmat =gGeoManager->GetMedium("HPTgas");
192
193 InitMedium("Concrete");
194 TGeoMedium *Conc =gGeoManager->GetMedium("Concrete");
195
196 // cout << "zSizeMudet = " << zSizeMudet << endl;
197 if (fDesign < 3){
198 TGeoVolume *volMudetBox = gGeoManager->GetVolume("volNuTauMudet");
199 TGeoBBox *HPT = new TGeoBBox("HPT", DimX/2, DimY/2, DimZ/2);
200 TGeoVolume *volHPT = new TGeoVolume("volHPT",HPT,HPTmat);
201 volHPT->SetLineColor(kBlue-5);
202 AddSensitiveVolume(volHPT);
203
204 TGeoBBox *Cbase = new TGeoBBox("Cbase", fConcreteX/2, fConcreteY/2, fConcreteZ/2);
205 TGeoVolume *volCbase = new TGeoVolume("volCbase",Cbase,Conc);
206 volCbase->SetLineColor(kOrange-7);
207
208 //1 closer to Goliath
209 volMudetBox->AddNode(volHPT,1,new TGeoTranslation(0,0,-zSizeMudet/2 + DimZ/2));
210 volMudetBox->AddNode(volCbase,1,new TGeoTranslation(0,-DimY/2-fConcreteY/2,-zSizeMudet/2 + DimZ/2));
211
212 //2 closer to Arm1
213 //NB: 55 cm is the distance between the borders of the last 2 drift tubes
214 volMudetBox->AddNode(volHPT,2,new TGeoTranslation(0,0,-zSizeMudet/2 + 3*DimZ/2 +55*cm));
215 volMudetBox->AddNode(volCbase,2,new TGeoTranslation(0,-DimY/2-fConcreteY/2,-zSizeMudet/2 + 3*DimZ/2 +55*cm));
216
217 //Central Drift tubes // 3 closer to Arm1, 4 closer to Arm2
218 volMudetBox->AddNode(volHPT,3,new TGeoTranslation(0,0,-72*cm/2 - DimZ/2));
219
220 //NB: 72cm is the distance between the borders of the central drift tubes
221 volMudetBox->AddNode(volHPT,4,new TGeoTranslation(0,0,72*cm/2 + DimZ/2));
222
223
224 //After spectro Drift Tubes 5 closer to Arm, 6 closer to decay vessel
225 volMudetBox->AddNode(volHPT,5,new TGeoTranslation(0,0,zSizeMudet/2 - 3*DimZ/2 - 55*cm));
226 volMudetBox->AddNode(volCbase,5,new TGeoTranslation(0,-DimY/2-fConcreteY/2,zSizeMudet/2 - 3*DimZ/2 - 55*cm));
227
228 volMudetBox->AddNode(volHPT,6,new TGeoTranslation(0,0,zSizeMudet/2 - DimZ/2));
229 volMudetBox->AddNode(volCbase,6,new TGeoTranslation(0,-DimY/2-fConcreteY/2,zSizeMudet/2 - DimZ/2));
230
231 }
232 if (fDesign == 3){
233 //Trackers that in design 3 follow the target --------------------------------------------------------------------------------------
234 TGeoVolume *volMagRegion=gGeoManager->GetVolume("volMagRegion");
235 TGeoVolume *volTarget =gGeoManager->GetVolume("volTarget");
236 TGeoVolume *tTauNuDet = gGeoManager->GetVolume("tTauNuDet");
237
238 Double_t DZMagnetizedRegion = ((TGeoBBox*) volMagRegion->GetShape())->GetDZ() *2;
239 Double_t DYMagnetizedRegion = ((TGeoBBox*) volMagRegion->GetShape())->GetDY() *2;
240 Double_t DXMagnetizedRegion = ((TGeoBBox*) volMagRegion->GetShape())->GetDX() *2;
241
242 Double_t DZTarget = ((TGeoBBox*) volTarget->GetShape())->GetDZ() *2;
243
244 //HPT is DownStreamTracker
245 TGeoBBox *DT = new TGeoBBox("DT", DimX/2, DimY/2, DimZ/2);
246 TGeoVolume *volDT = new TGeoVolume("volDT",DT,HPTmat);
247 volDT->SetLineColor(kBlue-5);
248
249 // Creating of SciFi modules in HPT
250 InitMedium("CarbonComposite");
251 TGeoMedium *CarbonComposite = gGeoManager->GetMedium("CarbonComposite");
252
253 InitMedium("SciFiMat");
254 TGeoMedium *SciFiMat = gGeoManager->GetMedium("SciFiMat");
255
256 InitMedium("Airex");
257 TGeoMedium *Airex = gGeoManager->GetMedium("Airex");
258
259 //Support Carbon Composite
260 TGeoBBox* HPT_support_box = new TGeoBBox("HPT_support_box", HPTrackerX / 2, HPTrackerY / 2, support_z / 2);
261 TGeoVolume* HPT_support_volume = new TGeoVolume("HPT_support", HPT_support_box, CarbonComposite);
262 HPT_support_volume->SetLineColor(kGray - 2);
263 HPT_support_volume->SetVisibility(1);
264
265 //Honeycomb Airex (or Nomex)
266 TGeoBBox* HPT_honeycomb_box = new TGeoBBox("HPT_honeycomb_box", HPTrackerX / 2, HPTrackerY / 2, honeycomb_z / 2);
267 TGeoVolume* HPT_honeycomb_volume = new TGeoVolume("HPT_honeycomb", HPT_honeycomb_box, Airex);
268 HPT_honeycomb_volume->SetLineColor(kYellow);
269 HPT_honeycomb_volume->SetVisibility(1);
270
271 //SciFi planes
272 TGeoBBox* HPT_scifi_plane_hor_box = new TGeoBBox("HPT_scifi_plane_hor_box", HPTrackerX / 2, HPTrackerY / 2, scifimat_z / 2);
273 TGeoVolume* HPT_scifi_plane_hor_volume = new TGeoVolume("HPT_scifi_plane_hor", HPT_scifi_plane_hor_box, SciFiMat);
274 HPT_scifi_plane_hor_volume->SetVisibility(1);
275
276 TGeoBBox* HPT_scifi_plane_vert_box = new TGeoBBox("HPT_scifi_plane_vert_box", HPTrackerX / 2, HPTrackerY / 2, scifimat_z / 2);
277 TGeoVolume* HPT_scifi_plane_vert_volume = new TGeoVolume("HPT_scifi_plane_vert", HPT_scifi_plane_vert_box, SciFiMat);
278 HPT_scifi_plane_vert_volume->SetVisibility(1);
279
280 //SciFi mats
281 TGeoBBox* HPT_scifimat_hor_box = new TGeoBBox("HPT_scifimat_hor_box", scifimat_hor / 2, scifimat_width / 2, scifimat_z / 2);
282 TGeoVolume* HPT_scifimat_hor_volume = new TGeoVolume("HPT_scifimat_hor", HPT_scifimat_hor_box, SciFiMat);
283 HPT_scifimat_hor_volume->SetLineColor(kCyan);
284
285 TGeoBBox* HPT_scifimat_vert_box = new TGeoBBox("HPT_scifimat_vert_box", scifimat_width / 2, scifimat_vert / 2, scifimat_z / 2);
286 TGeoVolume* HPT_scifimat_vert_volume = new TGeoVolume("HPT_scifimat_vert", HPT_scifimat_vert_box, SciFiMat);
287 HPT_scifimat_vert_volume->SetLineColor(kGreen);
288
289 AddSensitiveVolume(HPT_scifimat_hor_volume);
290 AddSensitiveVolume(HPT_scifimat_vert_volume);
291
292 // Creating physical volumes and multiply
293 for (int i = 0; i < n_hor_planes; i++){
294 HPT_scifi_plane_hor_volume->AddNode(HPT_scifimat_hor_volume, i+1, new TGeoTranslation(0, (-(n_hor_planes-1)/2.0 + i)*scifimat_width, 0));
295 }
296 for (int i = 0; i < n_vert_planes; i++){
297 HPT_scifi_plane_vert_volume->AddNode(HPT_scifimat_vert_volume, 100+i+1 , new TGeoTranslation((-(n_vert_planes-1)/2.0 + i)*scifimat_width, 0, 0));
298 }
299
300 volDT->AddNode(HPT_support_volume, 0, new TGeoTranslation(0, 0, - DimZ / 2 + support_z / 2));
301 volDT->AddNode(HPT_scifi_plane_hor_volume, 0, new TGeoTranslation(0, 0, - DimZ / 2 + support_z + scifimat_z / 2));
302 volDT->AddNode(HPT_scifi_plane_vert_volume, 0, new TGeoTranslation(0, 0, - DimZ / 2 + support_z + scifimat_z + scifimat_z / 2));
303 volDT->AddNode(HPT_honeycomb_volume, 0, new TGeoTranslation(0, 0, - DimZ / 2 + support_z + 2 * scifimat_z + honeycomb_z / 2));
304 volDT->AddNode(HPT_support_volume, 1, new TGeoTranslation(0, 0, - DimZ / 2 + support_z + 2 * scifimat_z + honeycomb_z + support_z / 2));
306
307 Double_t first_DT_position = -DZMagnetizedRegion/2 + DZTarget + DimZ/2;
308 for(int i=0;i<fnHPT;i++){
309 for (int j = 0; j < fntarget; j++){
310 volMagRegion->AddNode(volDT,(i+1)*1000+j*fnHPT,new TGeoTranslation(0,0, first_DT_position + i*(fDistance+DimZ) + j*(DZTarget+ fnHPT * DimZ + (fnHPT-1)*fDistance)));
311 }
312 }
313 }
314}
Double_t cm
Double_t scifimat_width
Definition HPT.h:124
Double_t HPTrackerY
Definition HPT.h:121
Int_t InitMedium(const char *name)
Definition HPT.cxx:144
Double_t fDistance
Definition HPT.h:117
Double_t fConcreteX
Definition HPT.h:111
Double_t fDesign
Definition HPT.h:116
Int_t fntarget
Definition HPT.h:136
Double_t scifimat_z
Definition HPT.h:127
Double_t fConcreteZ
Definition HPT.h:113
Int_t n_vert_planes
Definition HPT.h:131
Double_t support_z
Definition HPT.h:128
Double_t scifimat_hor
Definition HPT.h:125
Double_t HPTrackerX
Definition HPT.h:120
Int_t fnHPT
Definition HPT.h:118
Double_t zSizeMudet
Definition HPT.h:110
Double_t honeycomb_z
Definition HPT.h:129
Double_t scifimat_vert
Definition HPT.h:126
Double_t fConcreteY
Definition HPT.h:112
Int_t n_hor_planes
Definition HPT.h:130
int i
Definition ShipAna.py:86

◆ CopyClones()

virtual void Hpt::CopyClones ( TClonesArray *  cl1,
TClonesArray *  cl2,
Int_t  offset 
)
inlinevirtual

The following methods can be implemented if you need to make any optional action in your detector during the transport.

Definition at line 71 of file HPT.h.

72 {;}

◆ DecodeVolumeID()

void Hpt::DecodeVolumeID ( Int_t  detID,
int &  nHPT,
int &  nplane,
Bool_t &  ishor 
)

Definition at line 384 of file HPT.cxx.

385{
386 nHPT = detID/1000;
387 int idir = (detID - nHPT*1000)/100;
388
389 if (idir == 1) ishor = kFALSE;
390 else if (idir == 0) ishor = kTRUE;
391
392 nplane = (detID - nHPT*1000 - idir*100);
393
394
395}

◆ EndOfEvent()

void Hpt::EndOfEvent ( )
virtual

Definition at line 363 of file HPT.cxx.

364{
365 fHptPointCollection->Clear();
366}

◆ FinishPrimary()

virtual void Hpt::FinishPrimary ( )
inlinevirtual

Definition at line 75 of file HPT.h.

75{;}

◆ FinishRun()

virtual void Hpt::FinishRun ( )
inlinevirtual

Definition at line 76 of file HPT.h.

76{;}

◆ GetCollection()

TClonesArray * Hpt::GetCollection ( Int_t  iColl) const
virtual

Gets the produced collections

Definition at line 397 of file HPT.cxx.

398{
399 if (iColl == 0) { return fHptPointCollection; }
400 else { return NULL; }
401}

◆ GetMagnetGeometry()

void Hpt::GetMagnetGeometry ( Double_t  EmuzC,
Double_t  EmuY 
)

Definition at line 132 of file HPT.cxx.

133{
134 fmagnetcenter = EmuzC;
135 fmagnety = EmuY;
136}
Double_t fmagnety
Definition HPT.h:133
Double_t fmagnetcenter
Definition HPT.h:134

◆ GetNumberofTargets()

void Hpt::GetNumberofTargets ( Int_t  ntarget)

Definition at line 138 of file HPT.cxx.

139{
140 fntarget = ntarget;
141}

◆ Initialize()

void Hpt::Initialize ( )
virtual

Initialization of the detector is done here

Definition at line 93 of file HPT.cxx.

94{
95 FairDetector::Initialize();
96}

◆ InitMedium()

Int_t Hpt::InitMedium ( const char *  name)
private

Definition at line 144 of file HPT.cxx.

145{
146 static FairGeoLoader *geoLoad=FairGeoLoader::Instance();
147 static FairGeoInterface *geoFace=geoLoad->getGeoInterface();
148 static FairGeoMedia *media=geoFace->getMedia();
149 static FairGeoBuilder *geoBuild=geoLoad->getGeoBuilder();
150
151 FairGeoMedium *ShipMedium=media->getMedium(name);
152
153 if (!ShipMedium)
154 {
155 Fatal("InitMedium","Material %s not defined in media file.", name);
156 return -1111;
157 }
158 TGeoMedium* medium=gGeoManager->GetMedium(name);
159 if (medium!=NULL)
160 return ShipMedium->getMediumIndex();
161 return geoBuild->createMedium(ShipMedium);
162}

◆ operator=()

Hpt & Hpt::operator= ( const Hpt )
protected

◆ PostTrack()

virtual void Hpt::PostTrack ( )
inlinevirtual

Definition at line 78 of file HPT.h.

78{;}

◆ PreTrack()

virtual void Hpt::PreTrack ( )
inlinevirtual

Definition at line 79 of file HPT.h.

79{;}

◆ ProcessHits()

Bool_t Hpt::ProcessHits ( FairVolume *  v = 0)
virtual

this method is called for each step during simulation (see FairMCApplication::Stepping())

This method is called from the MC stepping

Definition at line 316 of file HPT.cxx.

317{
319 //Set parameters at entrance of volume. Reset ELoss.
320 if ( gMC->IsTrackEntering() ) {
321 fELoss = 0.;
322 fTime = gMC->TrackTime() * 1.0e09;
323 fLength = gMC->TrackLength();
324 gMC->TrackPosition(fPos);
325 gMC->TrackMomentum(fMom);
326 }
327 // Sum energy loss for all steps in the active volume
328 fELoss += gMC->Edep();
329
330 // Create muonPoint at exit of active volume
331 if ( gMC->IsTrackExiting() ||
332 gMC->IsTrackStop() ||
333 gMC->IsTrackDisappeared() ){
334 if (fELoss == 0. ) { return kFALSE; }
335 TParticle* p=gMC->GetStack()->GetCurrentTrack();
336 Int_t pdgCode = p->GetPdgCode();
337 fTrackID = gMC->GetStack()->GetCurrentTrackNumber();
338
339 gMC->CurrentVolID(fVolumeID);
340 Int_t detID = fVolumeID;
341 Int_t TTstationID;
342 gMC->CurrentVolOffID(2, TTstationID);
343 fVolumeID = TTstationID + detID;
344
345 TLorentzVector Pos;
346 gMC->TrackPosition(Pos);
347 Double_t xmean = (fPos.X()+Pos.X())/2. ;
348 Double_t ymean = (fPos.Y()+Pos.Y())/2. ;
349 Double_t zmean = (fPos.Z()+Pos.Z())/2. ;
350
351 AddHit(fTrackID, fVolumeID, TVector3(xmean, ymean, zmean),
352 TVector3(fMom.Px(), fMom.Py(), fMom.Pz()),
353 fTime, fLength,fELoss, pdgCode);
354
355 // Increment number of muon det points in TParticle
356 ShipStack* stack = (ShipStack*) gMC->GetStack();
357 stack->AddPoint(ktauRpc);
358 }
359
360 return kTRUE;
361}
@ ktauRpc
HptPoint * AddHit(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss, Int_t pdgCode)
Definition HPT.cxx:409

◆ Register()

void Hpt::Register ( )
virtual

Registers the produced collections in FAIRRootManager.

This will create a branch in the output tree called HptPoint, setting the last parameter to kFALSE means: this collection will not be written to the file, it will exist only during the simulation.

Definition at line 369 of file HPT.cxx.

370{
371
378 FairRootManager::Instance()->Register("HptPoint", "Hpt",
379 fHptPointCollection, kTRUE);
380}

◆ Reset()

void Hpt::Reset ( )
virtual

has to be called after each event to reset the containers

Definition at line 403 of file HPT.cxx.

404{
405 fHptPointCollection->Clear();
406}

◆ SetConcreteBaseDim()

void Hpt::SetConcreteBaseDim ( Double_t  X,
Double_t  Y,
Double_t  Z 
)

Definition at line 105 of file HPT.cxx.

◆ SetDesign()

void Hpt::SetDesign ( Int_t  Design)

Definition at line 122 of file HPT.cxx.

123{
124 fDesign = Design;
125}

◆ SetDistanceHPTs()

void Hpt::SetDistanceHPTs ( Double_t  dd)

Definition at line 112 of file HPT.cxx.

113{
114 fDistance = dd;
115}

◆ SetHPTNumber()

void Hpt::SetHPTNumber ( Int_t  nHPT)

Definition at line 117 of file HPT.cxx.

118{
119 fnHPT = nHPT;
120}

◆ SetHPTrackerParam()

void Hpt::SetHPTrackerParam ( Double_t  HPTX,
Double_t  HPTY,
Double_t  HPTZ 
)

Definition at line 181 of file HPT.cxx.

182{
183 HPTrackerX = HPTX;
184 HPTrackerY = HPTY;
185 HPTrackerZ = HPTZ;
186}
Double_t HPTrackerZ
Definition HPT.h:122

◆ SetNumberSciFi()

void Hpt::SetNumberSciFi ( Int_t  n_hor_planes_,
Int_t  n_vert_planes_ 
)

Definition at line 175 of file HPT.cxx.

176{
177 n_hor_planes = n_hor_planes_;
178 n_vert_planes = n_vert_planes_;
179}

◆ SetSciFiParam()

void Hpt::SetSciFiParam ( Double_t  scifimat_width,
Double_t  scifimat_hor,
Double_t  scifimat_vert,
Double_t  scifimat_z,
Double_t  support_z,
Double_t  honeycomb_z 
)

Definition at line 164 of file HPT.cxx.

166{
167 scifimat_width = scifimat_width_;
168 scifimat_hor = scifimat_hor_;
169 scifimat_vert = scifimat_vert_;
170 scifimat_z = scifimat_z_;
171 support_z = support_z_;
172 honeycomb_z = honeycomb_z_;
173}

◆ SetSpecialPhysicsCuts()

virtual void Hpt::SetSpecialPhysicsCuts ( )
inlinevirtual

Definition at line 73 of file HPT.h.

73{;}

◆ SetSurroundingDetHeight()

void Hpt::SetSurroundingDetHeight ( Double_t  height)

Definition at line 127 of file HPT.cxx.

128{
129 fSRHeight = height;
130}
Double_t fSRHeight
Definition HPT.h:115

◆ SetZsize()

void Hpt::SetZsize ( const Double_t  Mudetsize)

Definition at line 99 of file HPT.cxx.

100{
101 zSizeMudet = Mudetsize;
102}

Member Data Documentation

◆ DimX

Double_t Hpt::DimX
protected

Definition at line 107 of file HPT.h.

◆ DimY

Double_t Hpt::DimY
protected

Definition at line 108 of file HPT.h.

◆ DimZ

Double_t Hpt::DimZ
protected

Definition at line 109 of file HPT.h.

◆ fConcreteX

Double_t Hpt::fConcreteX
protected

Definition at line 111 of file HPT.h.

◆ fConcreteY

Double_t Hpt::fConcreteY
protected

Definition at line 112 of file HPT.h.

◆ fConcreteZ

Double_t Hpt::fConcreteZ
protected

Definition at line 113 of file HPT.h.

◆ fDesign

Double_t Hpt::fDesign
protected

Definition at line 116 of file HPT.h.

◆ fDistance

Double_t Hpt::fDistance
protected

Definition at line 117 of file HPT.h.

◆ fELoss

Double32_t Hpt::fELoss
private

length

Definition at line 96 of file HPT.h.

◆ fHptPointCollection

TClonesArray* Hpt::fHptPointCollection
private

energy loss

container for data points

Definition at line 99 of file HPT.h.

◆ fLength

Double32_t Hpt::fLength
private

time

Definition at line 95 of file HPT.h.

◆ fmagnetcenter

Double_t Hpt::fmagnetcenter
protected

Definition at line 134 of file HPT.h.

◆ fmagnety

Double_t Hpt::fmagnety
protected

Definition at line 133 of file HPT.h.

◆ fMom

TLorentzVector Hpt::fMom
private

position at entrance

Definition at line 93 of file HPT.h.

◆ fnHPT

Int_t Hpt::fnHPT
protected

Definition at line 118 of file HPT.h.

◆ fntarget

Int_t Hpt::fntarget
protected

Definition at line 136 of file HPT.h.

◆ fPdgCode

Int_t Hpt::fPdgCode
private

track index

Definition at line 90 of file HPT.h.

◆ fPos

TLorentzVector Hpt::fPos
private

volume id

Definition at line 92 of file HPT.h.

◆ fSRHeight

Double_t Hpt::fSRHeight
protected

Definition at line 115 of file HPT.h.

◆ fTime

Double32_t Hpt::fTime
private

momentum at entrance

Definition at line 94 of file HPT.h.

◆ fTrackID

Int_t Hpt::fTrackID
private

Track information to be stored until the track leaves the active volume.

Definition at line 89 of file HPT.h.

◆ fVolumeID

Int_t Hpt::fVolumeID
private

pdg code

Definition at line 91 of file HPT.h.

◆ honeycomb_z

Double_t Hpt::honeycomb_z
protected

Definition at line 129 of file HPT.h.

◆ HPTrackerX

Double_t Hpt::HPTrackerX
protected

Definition at line 120 of file HPT.h.

◆ HPTrackerY

Double_t Hpt::HPTrackerY
protected

Definition at line 121 of file HPT.h.

◆ HPTrackerZ

Double_t Hpt::HPTrackerZ
protected

Definition at line 122 of file HPT.h.

◆ n_hor_planes

Int_t Hpt::n_hor_planes
protected

Definition at line 130 of file HPT.h.

◆ n_vert_planes

Int_t Hpt::n_vert_planes
protected

Definition at line 131 of file HPT.h.

◆ scifimat_hor

Double_t Hpt::scifimat_hor
protected

Definition at line 125 of file HPT.h.

◆ scifimat_vert

Double_t Hpt::scifimat_vert
protected

Definition at line 126 of file HPT.h.

◆ scifimat_width

Double_t Hpt::scifimat_width
protected

Definition at line 124 of file HPT.h.

◆ scifimat_z

Double_t Hpt::scifimat_z
protected

Definition at line 127 of file HPT.h.

◆ support_z

Double_t Hpt::support_z
protected

Definition at line 128 of file HPT.h.

◆ zSizeMudet

Double_t Hpt::zSizeMudet
protected

Definition at line 110 of file HPT.h.


The documentation for this class was generated from the following files: