Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nptool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab has been updated. More info
here
and
there
.
Show more breadcrumbs
np
nptool
Commits
9ef1aa45
Commit
9ef1aa45
authored
10 years ago
by
adrien-matta
Browse files
Options
Downloads
Patches
Plain Diff
* Fixing issue with tigress
parent
40936966
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NPAnalysis/macros/GeometricalEfficiency.C
+1
-1
1 addition, 1 deletion
NPAnalysis/macros/GeometricalEfficiency.C
NPLib/VDetector/DetectorManager.cxx
+21
-0
21 additions, 0 deletions
NPLib/VDetector/DetectorManager.cxx
with
22 additions
and
1 deletion
NPAnalysis/macros/GeometricalEfficiency.C
+
1
−
1
View file @
9ef1aa45
...
...
@@ -98,4 +98,4 @@ void GeometricalEfficiency(const char * fname = "myResult"){
SolidACM
->
GetXaxis
()
->
SetTitle
(
"#theta_{CM} (deg)"
);
SolidACM
->
GetYaxis
()
->
SetTitle
(
"d#Omega (sr) "
);
c4
->
Update
();
}
This diff is collapsed.
Click to expand it.
NPLib/VDetector/DetectorManager.cxx
+
21
−
0
View file @
9ef1aa45
...
...
@@ -106,6 +106,7 @@ void DetectorManager::ReadConfigurationFile(string Path) {
bool
TiaraBarrel
=
false
;
bool
TiaraHyball
=
false
;
bool
Trifoil
=
false
;
bool
Tigress
=
false
;
bool
W1
=
false
;
////////////////////////////////
bool
GeneralTarget
=
false
;
...
...
@@ -637,6 +638,26 @@ void DetectorManager::ReadConfigurationFile(string Path) {
#endif
}
////////////////////////////////////////////
///////////// Search for Tigress ///////////
////////////////////////////////////////////
else
if
(
LineBuffer
.
compare
(
0
,
7
,
"Tigress"
)
==
0
&&
Tigress
==
false
)
{
#ifdef INC_TIGRESS
Tigress
=
true
;
cout
<<
"//////// Tigress ////////"
<<
endl
<<
endl
;
// Instantiate the new array as a VDetector Object
VDetector
*
myDetector
=
new
TTigressPhysics
();
// Read Position of Telescope
ConfigFile
.
close
();
myDetector
->
ReadConfiguration
(
Path
);
ConfigFile
.
open
(
Path
.
c_str
());
// Add array to the VDetector Vector
AddDetector
(
"Tigress"
,
myDetector
);
#endif
}
////////////////////////////////////////////
////////// Search for W1 (Micron) /////////
////////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment