Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
offline_csv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Show more breadcrumbs
jlab
hallc
exp
CSV
offline_csv
Commits
893a466d
Commit
893a466d
authored
5 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
modified: bin/hc_coin_replay
modified: scripts/replay_production_coin.cxx
parent
a9cf130b
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#1947
passed
5 years ago
Stage: data_replays
Stage: data_tests
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/hc_coin_replay
+11
-11
11 additions, 11 deletions
bin/hc_coin_replay
scripts/replay_production_coin.cxx
+6
-6
6 additions, 6 deletions
scripts/replay_production_coin.cxx
with
17 additions
and
17 deletions
bin/hc_coin_replay
+
11
−
11
View file @
893a466d
...
@@ -89,24 +89,24 @@ fi
...
@@ -89,24 +89,24 @@ fi
# exit
# exit
#fi
#fi
source
/group/c-csv/local/setup.sh
#
source /group/c-csv/local/setup.sh
# For some reason the module files need to put in a specific order.
# For some reason the module files need to put in a specific order.
# This is probably because we are using the old TCL version.
# This is probably because we are using the old TCL version.
module unload csv/dev
#
module unload csv/dev
module load csv/dev
#
module load csv/dev
module load tmux/latest
#
module load tmux/latest
module load python/latest
#
module load python/latest
module load python/2.7.15
#
module load python/2.7.15
module load python3/latest
#
module load python3/latest
module load vim/latest
#
module load vim/latest
module load git/latest
#
module load git/latest
module load ruby/2.5.3
#
module load ruby/2.5.3
hcana
-b
-q
"scripts/replay_production_coin.cxx(
${
run_number
}
,
${
n_events
}
)"
hcana
-b
-q
"scripts/replay_production_coin.cxx(
${
run_number
}
,
${
n_events
}
)"
./bin/do_good_coin
-I
-r
${
run_number
}
#
./bin/do_good_coin -I -r ${run_number}
#root -b -q "scripts/good_jpsi_counter.cxx(${run_number})"
#root -b -q "scripts/good_jpsi_counter.cxx(${run_number})"
#sleep 1
#sleep 1
...
...
This diff is collapsed.
Click to expand it.
scripts/replay_production_coin.cxx
+
6
−
6
View file @
893a466d
...
@@ -8,12 +8,12 @@ R__LOAD_LIBRARY(libfmt.so)
...
@@ -8,12 +8,12 @@ R__LOAD_LIBRARY(libfmt.so)
R__LOAD_LIBRARY
(
libHallC
.
so
)
R__LOAD_LIBRARY
(
libHallC
.
so
)
#include
"hcana/HallC_Data.h"
#include
"hcana/HallC_Data.h"
//
//
R__LOAD_LIBRARY
(
libScandalizer
.
so
)
//
R__LOAD_LIBRARY(libScandalizer.so)
//#include "monitor/DetectorDisplay.h"
//#include "monitor/DetectorDisplay.h"
//#include "monitor/DisplayPlots.h"
//#include "monitor/DisplayPlots.h"
//#include "monitor/MonitoringDisplay.h"
//#include "monitor/MonitoringDisplay.h"
#include
"scandalizer/PostProcessors.h"
//
#include "scandalizer/PostProcessors.h"
#include
"scandalizer/ScriptHelpers.h"
//
#include "scandalizer/ScriptHelpers.h"
//
//
//#include "THaPostProcess.h"
//#include "THaPostProcess.h"
//#include "monitor/ExperimentMonitor.h"
//#include "monitor/ExperimentMonitor.h"
...
@@ -21,10 +21,10 @@ R__LOAD_LIBRARY(libScandalizer.so)
...
@@ -21,10 +21,10 @@ R__LOAD_LIBRARY(libScandalizer.so)
void
replay_production_coin
(
Int_t
RunNumber
=
7224
,
Int_t
MaxEvent
=
50000
)
{
void
replay_production_coin
(
Int_t
RunNumber
=
7224
,
Int_t
MaxEvent
=
50000
)
{
hallc
::
helper
::
script_requires_hcana
();
//
hallc::helper::script_requires_hcana();
spdlog
::
set_level
(
spdlog
::
level
::
trace
);
//
spdlog::set_level(spdlog::level::trace);
spdlog
::
flush_every
(
std
::
chrono
::
seconds
(
5
));
//
spdlog::flush_every(std::chrono::seconds(5));
// Get RunNumber and MaxEvent if not provided.
// Get RunNumber and MaxEvent if not provided.
if
(
RunNumber
==
0
)
{
if
(
RunNumber
==
0
)
{
...
...
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