Skip to content
Snippets Groups Projects
Commit 3561f38a authored by Unknown's avatar Unknown
Browse files

No commit message

No commit message
parent 42aff6ed
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GeneralTarget GeneralTarget
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Target Target
THICKNESS= 1 THICKNESS= 1
RADIUS= 45 RADIUS= 45
MATERIAL= CD2 MATERIAL= CD2
......
...@@ -10,6 +10,6 @@ Beam ...@@ -10,6 +10,6 @@ Beam
BeamEnergySpread= 0 BeamEnergySpread= 0
SigmaX= 6.232 SigmaX= 6.232
SigmaY= 9.069 SigmaY= 9.069
SigmaThetaX= 0.01208 SigmaThetaX= 0.6921330164
SigmaPhiY= 0.01681 SigmaPhiY= 0.963142053
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
TTreeName
SimulatedTree
RootFileName
../../Outputs/Simulation/mySimul_0.root
../../Outputs/Simulation/mySimul_1.root
../../Outputs/Simulation/mySimul_0.root
...@@ -42,7 +42,7 @@ int main(int argc,char** argv) ...@@ -42,7 +42,7 @@ int main(int argc,char** argv)
RootOutput::getInstance()->GetTree()->Branch("ThetaCM",&ThetaCM,"ThetaCM/D") ; RootOutput::getInstance()->GetTree()->Branch("ThetaCM",&ThetaCM,"ThetaCM/D") ;
RootOutput::getInstance()->GetTree()->Branch("ResolThetaCM",&ResolThetaCM,"ResolThetaCM/D") ; RootOutput::getInstance()->GetTree()->Branch("ResolThetaCM",&ResolThetaCM,"ResolThetaCM/D") ;
// Get the formed Chained Tree and Treat it // Get the formed Chained Tree and Treat it
TChain* Chain = RootInput:: getInstance() -> GetChain() ; //TChain* Chain = RootInput:: getInstance() -> GetChain() ;
// Open the ThinSi Branch // Open the ThinSi Branch
Chain->SetBranchStatus("ThinSiEnergy",true) ; Chain->SetBranchStatus("ThinSiEnergy",true) ;
...@@ -68,7 +68,7 @@ int main(int argc,char** argv) ...@@ -68,7 +68,7 @@ int main(int argc,char** argv)
myDetector -> BuildPhysicalEvent() ; myDetector -> BuildPhysicalEvent() ;
E = M2 -> GetEnergyDeposit(); E = M2 -> GetEnergyDeposit();
XTarget = RandomEngine.Gaus(Init->GetICPositionX(0),1); XTarget = RandomEngine.Gaus(Init->GetICPositionX(0),1);
YTarget = RandomEngine.Gaus(Init->GetICPositionY(0),1); YTarget = RandomEngine.Gaus(Init->GetICPositionY(0),1);
...@@ -119,29 +119,6 @@ int main(int argc,char** argv) ...@@ -119,29 +119,6 @@ int main(int argc,char** argv)
X = HitDirection . X(); X = HitDirection . X();
Y = HitDirection . Y(); Y = HitDirection . Y();
} }
// else if(ThinSi>0)
// {
//
//// ThinSi= He3StripAl.EvaluateInitialEnergy( ThinSi , // Energy of the detected particle
//// 2*0.4*micrometer , // Target Thickness at 0 degree
//// 0 );
////
// ThinSi= He3TargetWind.EvaluateInitialEnergy( ThinSi , // Energy of the detected particle
// 15*micrometer , // Target Thickness at 0 degree
// ThetaN );
////
//// ThinSi= He3TargetGaz.EvaluateInitialEnergy( ThinSi , // Energy of the detected particle
//// 3*mm , // Target Thickness at 0 degree
//// ThetaN );
//
// E= ThinSi;
//
// Ex = myReaction -> ReconstructRelativistic( E , Theta ) ;
// X = HitDirection . X();
// Y = HitDirection . Y();
//
// }
else if(E>-1000 ) else if(E>-1000 )
{ {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# choose a graphic system # choose a graphic system
#/vis/open OGLIX #/vis/open OGLIX
#/vis/open OGLSX #/vis/open OGLSX
/vis/open VRML2FILE #/vis/open VRML2FILE
/vis/scene/create /vis/scene/create
/vis/drawVolume /vis/drawVolume
/vis/viewer/set/viewpointThetaPhi 0 0 deg /vis/viewer/set/viewpointThetaPhi 0 0 deg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment