SND@LHC Software
|
#include <strawtubes.h>
Public Member Functions | |
strawtubes (const char *Name, Bool_t Active) | |
strawtubes () | |
virtual | ~strawtubes () |
virtual void | Initialize () |
virtual Bool_t | ProcessHits (FairVolume *v=0) |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Reset () |
void | SetZpositions (Double_t z0, Double_t z1, Double_t z2, Double_t z3, Double_t z4) |
void | SetStrawLength (Double_t strawlength) |
void | SetInnerStrawDiameter (Double_t innerstrawdiameter) |
void | SetOuterStrawDiameter (Double_t outerstrawdiameter) |
void | SetStrawPitch (Double_t strawpitch, Double_t layer_offset, Double_t plane_offset) |
void | SetDeltazLayer (Double_t deltazlayer) |
void | SetDeltazPlane (Double_t deltazplane) |
void | SetStrawsPerLayer (Int_t strawsperlayer) |
void | SetStereoAngle (Int_t stereoangle) |
void | SetWireThickness (Double_t wirethickness) |
void | SetDeltazFrame (Double_t deltazframe) |
void | SetFrameLateralWidth (Double_t framelateralwidth) |
void | SetFrameMaterial (TString framematerial) |
void | SetDeltazView (Double_t deltazview) |
void | SetStrawLength12 (Double_t strawlength12) |
void | SetStrawLengthVeto (Double_t strawlengthveto) |
void | SetVacBox_x (Double_t vacbox_x) |
void | SetVacBox_y (Double_t vacbox_y) |
void | SetVetoYDim (Double_t vetoydim) |
void | SetTr12YDim (Double_t tr12ydim) |
void | SetTr34YDim (Double_t tr34ydim) |
void | StrawDecode (Int_t detID, int &statnb, int &vnb, int &pnb, int &lnb, int &snb) |
void | StrawEndPoints (Int_t detID, TVector3 &top, TVector3 &bot) |
void | StrawEndPointsOriginal (Int_t detID, TVector3 &top, TVector3 &bot) |
void | SetStrawResolution (Double_t a, Double_t b) |
Double_t | StrawVdrift () |
Double_t | StrawSigmaSpatial () |
void | ConstructGeometry () |
strawtubesPoint * | AddHit (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss, Int_t pdgCode, Double_t dist2Wire) |
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 () |
Private Member Functions | |
strawtubes (const strawtubes &) | |
strawtubes & | operator= (const strawtubes &) |
Int_t | InitMedium (const char *name) |
Private Attributes | |
Int_t | fTrackID |
Int_t | fVolumeID |
track index | |
TLorentzVector | fPos |
volume id | |
TLorentzVector | fMom |
position at entrance | |
Double_t | fTime |
momentum at entrance | |
Double_t | fLength |
time | |
Double_t | fELoss |
length | |
Double_t | fT0z |
energy loss | |
Double_t | fT1z |
z-position of veto station | |
Double_t | fT2z |
z-position of tracking station 1 | |
Double_t | fT3z |
z-position of tracking station 2 | |
Double_t | fT4z |
z-position of tracking station 3 | |
Double_t | fStraw_length |
z-position of tracking station 4 | |
Double_t | fStraw_length_12 |
Length (y) of a straw. | |
Double_t | fStraw_length_veto |
strawlength for tracking station 1 & 2 | |
Double_t | fInner_Straw_diameter |
strawlength for veto station | |
Double_t | fOuter_Straw_diameter |
Inner Straw diameter. | |
Double_t | fStraw_pitch |
Outer Straw diameter. | |
Double_t | fDeltaz_layer12 |
Distance (x) between straws in one layer. | |
Double_t | fDeltaz_plane12 |
Distance (z) between layer 1&2. | |
Double_t | fOffset_layer12 |
Distance (z) between plane 1&2. | |
Double_t | fOffset_plane12 |
Offset (x) between straws of layer2&1. | |
Int_t | fStraws_per_layer |
Offset (x) between straws of plane1&2. | |
Double_t | fView_angle |
Number of straws in one layer. | |
Double_t | fcosphi |
Stereo angle of layers in a view. | |
Double_t | fsinphi |
Double_t | fWire_thickness |
Double_t | fDeltaz_frame |
Thickness of the wire. | |
Double_t | fFrame_lateral_width |
Thickness (z) of the meterial frame. | |
TString | fFrame_material |
Width (x and y) of the material frame. | |
Double_t | fDeltaz_view |
Material of the view frame. | |
Double_t | fVacBox_x |
Distance (z) between views. | |
Double_t | fVacBox_y |
x size of station vacuumbox | |
Double_t | fvetoydim |
y size of station vacuumbox | |
Double_t | ftr12ydim |
y size of veto station | |
Double_t | ftr34ydim |
y size of tr12 stations | |
Int_t | fStraws_per_layer_veto |
y size of tr34 stations | |
Int_t | fStraws_per_layer_tr12 |
Number of straws in one veto layer. | |
Int_t | fStraws_per_layer_tr34 |
Number of straws in one tr12 layer. | |
Double_t | v_drift |
Number of straws in one tr34 layer. | |
Double_t | sigma_spatial |
drift velocity | |
TClonesArray * | fstrawtubesPointCollection |
spatial resolution | |
Definition at line 13 of file strawtubes.h.
strawtubes::strawtubes | ( | const char * | Name, |
Bool_t | Active | ||
) |
Name : Detector Name Active: kTRUE for active detectors (ProcessHits() will be called) kFALSE for inactive detectors
Definition at line 52 of file strawtubes.cxx.
strawtubes::strawtubes | ( | ) |
|
virtual |
destructor
Definition at line 65 of file strawtubes.cxx.
|
private |
strawtubesPoint * strawtubes::AddHit | ( | Int_t | trackID, |
Int_t | detID, | ||
TVector3 | pos, | ||
TVector3 | mom, | ||
Double_t | time, | ||
Double_t | length, | ||
Double_t | eLoss, | ||
Int_t | pdgCode, | ||
Double_t | dist2Wire | ||
) |
This method is an example of how to add your own point of type strawtubesPoint to the clones array
Definition at line 924 of file strawtubes.cxx.
|
inlinevirtual |
Definition at line 102 of file strawtubes.h.
|
inlinevirtual |
Definition at line 99 of file strawtubes.h.
void strawtubes::ConstructGeometry | ( | ) |
Create the detector geometry
If you are using the standard ASCII input for the geometry just copy this and use it for your detector, otherwise you can implement here you own way of constructing the geometry.
Definition at line 319 of file strawtubes.cxx.
|
inlinevirtual |
The following methods can be implemented if you need to make any optional action in your detector during the transport.
Definition at line 93 of file strawtubes.h.
|
virtual |
Definition at line 167 of file strawtubes.cxx.
|
inlinevirtual |
Definition at line 97 of file strawtubes.h.
|
inlinevirtual |
Definition at line 98 of file strawtubes.h.
|
virtual |
Gets the produced collections
Definition at line 188 of file strawtubes.cxx.
|
virtual |
Initialization of the detector is done here
Definition at line 73 of file strawtubes.cxx.
|
private |
Definition at line 81 of file strawtubes.cxx.
|
private |
|
inlinevirtual |
Definition at line 100 of file strawtubes.h.
|
inlinevirtual |
Definition at line 101 of file strawtubes.h.
|
virtual |
this method is called for each step during simulation (see FairMCApplication::Stepping())
This method is called from the MC stepping
Definition at line 102 of file strawtubes.cxx.
|
virtual |
Registers the produced collections in FAIRRootManager.
This will create a branch in the output tree called strawtubesPoint, 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 174 of file strawtubes.cxx.
|
virtual |
has to be called after each event to reset the containers
Definition at line 194 of file strawtubes.cxx.
void strawtubes::SetDeltazFrame | ( | Double_t | deltazframe | ) |
Thickness (z) of the meterial frame
Definition at line 262 of file strawtubes.cxx.
void strawtubes::SetDeltazLayer | ( | Double_t | deltazlayer | ) |
Distance (z) between layer 1&2
Definition at line 230 of file strawtubes.cxx.
void strawtubes::SetDeltazPlane | ( | Double_t | deltazplane | ) |
Distance (z) between plane 1&2
Definition at line 235 of file strawtubes.cxx.
void strawtubes::SetDeltazView | ( | Double_t | deltazview | ) |
Distance (z) between views
Definition at line 257 of file strawtubes.cxx.
void strawtubes::SetFrameLateralWidth | ( | Double_t | framelateralwidth | ) |
Width (x and y) of the material frame
Definition at line 267 of file strawtubes.cxx.
void strawtubes::SetFrameMaterial | ( | TString | framematerial | ) |
Material of the view frame
Definition at line 272 of file strawtubes.cxx.
void strawtubes::SetInnerStrawDiameter | ( | Double_t | innerstrawdiameter | ) |
Inner Straw diameter
Definition at line 212 of file strawtubes.cxx.
void strawtubes::SetOuterStrawDiameter | ( | Double_t | outerstrawdiameter | ) |
Outer Straw diameter
Definition at line 217 of file strawtubes.cxx.
|
inlinevirtual |
Definition at line 95 of file strawtubes.h.
void strawtubes::SetStereoAngle | ( | Int_t | stereoangle | ) |
Stereo angle of planes in a view
Definition at line 245 of file strawtubes.cxx.
void strawtubes::SetStrawLength | ( | Double_t | strawlength | ) |
Length (y) of a straw
Definition at line 207 of file strawtubes.cxx.
void strawtubes::SetStrawLength12 | ( | Double_t | strawlength12 | ) |
strawlength of stations 1,2
Definition at line 278 of file strawtubes.cxx.
void strawtubes::SetStrawLengthVeto | ( | Double_t | strawlengthveto | ) |
strawlength of veto station
Definition at line 283 of file strawtubes.cxx.
void strawtubes::SetStrawPitch | ( | Double_t | strawpitch, |
Double_t | layer_offset, | ||
Double_t | plane_offset | ||
) |
Distance (x) between straws in one layer
Definition at line 223 of file strawtubes.cxx.
|
inline |
Definition at line 72 of file strawtubes.h.
void strawtubes::SetStrawsPerLayer | ( | Int_t | strawsperlayer | ) |
number of straws in one layer
Definition at line 240 of file strawtubes.cxx.
void strawtubes::SetTr12YDim | ( | Double_t | tr12ydim | ) |
y size of stations 12
Definition at line 305 of file strawtubes.cxx.
void strawtubes::SetTr34YDim | ( | Double_t | tr34ydim | ) |
y size of stations 34
Definition at line 311 of file strawtubes.cxx.
void strawtubes::SetVacBox_x | ( | Double_t | vacbox_x | ) |
x size of station vacuum box
Definition at line 289 of file strawtubes.cxx.
void strawtubes::SetVacBox_y | ( | Double_t | vacbox_y | ) |
y size of station vacuum box
Definition at line 294 of file strawtubes.cxx.
void strawtubes::SetVetoYDim | ( | Double_t | vetoydim | ) |
y size of veto
Definition at line 299 of file strawtubes.cxx.
void strawtubes::SetWireThickness | ( | Double_t | wirethickness | ) |
Thickness of the wire
Definition at line 252 of file strawtubes.cxx.
void strawtubes::SetZpositions | ( | Double_t | z0, |
Double_t | z1, | ||
Double_t | z2, | ||
Double_t | z3, | ||
Double_t | z4 | ||
) |
z-position of veto station
z-position of tracking station 1
z-position of tracking station 2
z-position of tracking station 3
z-position of tracking station 4
Definition at line 198 of file strawtubes.cxx.
void strawtubes::StrawDecode | ( | Int_t | detID, |
int & | statnb, | ||
int & | vnb, | ||
int & | pnb, | ||
int & | lnb, | ||
int & | snb | ||
) |
Definition at line 776 of file strawtubes.cxx.
void strawtubes::StrawEndPoints | ( | Int_t | detID, |
TVector3 & | top, | ||
TVector3 & | bot | ||
) |
Definition at line 786 of file strawtubes.cxx.
void strawtubes::StrawEndPointsOriginal | ( | Int_t | detID, |
TVector3 & | top, | ||
TVector3 & | bot | ||
) |
Definition at line 838 of file strawtubes.cxx.
|
inline |
Definition at line 74 of file strawtubes.h.
|
inline |
Definition at line 73 of file strawtubes.h.
|
private |
Stereo angle of layers in a view.
Definition at line 133 of file strawtubes.h.
|
private |
Thickness of the wire.
Definition at line 136 of file strawtubes.h.
|
private |
Distance (x) between straws in one layer.
Definition at line 127 of file strawtubes.h.
|
private |
Distance (z) between layer 1&2.
Definition at line 128 of file strawtubes.h.
|
private |
Material of the view frame.
Definition at line 139 of file strawtubes.h.
|
private |
length
Definition at line 115 of file strawtubes.h.
|
private |
Thickness (z) of the meterial frame.
Definition at line 137 of file strawtubes.h.
|
private |
Width (x and y) of the material frame.
Definition at line 138 of file strawtubes.h.
|
private |
strawlength for veto station
Definition at line 124 of file strawtubes.h.
|
private |
time
Definition at line 114 of file strawtubes.h.
|
private |
position at entrance
Definition at line 112 of file strawtubes.h.
|
private |
Distance (z) between plane 1&2.
Definition at line 129 of file strawtubes.h.
|
private |
Offset (x) between straws of layer2&1.
Definition at line 130 of file strawtubes.h.
|
private |
Inner Straw diameter.
Definition at line 125 of file strawtubes.h.
|
private |
volume id
Definition at line 111 of file strawtubes.h.
|
private |
Definition at line 134 of file strawtubes.h.
|
private |
z-position of tracking station 4
Definition at line 121 of file strawtubes.h.
|
private |
Length (y) of a straw.
Definition at line 122 of file strawtubes.h.
|
private |
strawlength for tracking station 1 & 2
Definition at line 123 of file strawtubes.h.
|
private |
Outer Straw diameter.
Definition at line 126 of file strawtubes.h.
|
private |
Offset (x) between straws of plane1&2.
Definition at line 131 of file strawtubes.h.
|
private |
Number of straws in one veto layer.
Definition at line 146 of file strawtubes.h.
|
private |
Number of straws in one tr12 layer.
Definition at line 147 of file strawtubes.h.
|
private |
y size of tr34 stations
Definition at line 145 of file strawtubes.h.
|
private |
|
private |
energy loss
Definition at line 116 of file strawtubes.h.
|
private |
z-position of veto station
Definition at line 117 of file strawtubes.h.
|
private |
z-position of tracking station 1
Definition at line 118 of file strawtubes.h.
|
private |
z-position of tracking station 2
Definition at line 119 of file strawtubes.h.
|
private |
z-position of tracking station 3
Definition at line 120 of file strawtubes.h.
|
private |
momentum at entrance
Definition at line 113 of file strawtubes.h.
|
private |
y size of veto station
Definition at line 143 of file strawtubes.h.
|
private |
y size of tr12 stations
Definition at line 144 of file strawtubes.h.
|
private |
Track information to be stored until the track leaves the active volume.
Definition at line 109 of file strawtubes.h.
|
private |
Distance (z) between views.
Definition at line 140 of file strawtubes.h.
|
private |
x size of station vacuumbox
Definition at line 141 of file strawtubes.h.
|
private |
y size of station vacuumbox
Definition at line 142 of file strawtubes.h.
|
private |
Number of straws in one layer.
Definition at line 132 of file strawtubes.h.
|
private |
track index
Definition at line 110 of file strawtubes.h.
|
private |
Definition at line 135 of file strawtubes.h.
|
private |
drift velocity
Definition at line 149 of file strawtubes.h.
|
private |
Number of straws in one tr34 layer.
Definition at line 148 of file strawtubes.h.