Skip to content
Snippets Groups Projects
Commit f1e4e1cc authored by Brad Sawatzky's avatar Brad Sawatzky
Browse files

Add 'raw/../raw.copiedtotape' to coda file search path list

- This closes a few-minute long race window where a file will be on tape
  (and moved out of raw/ to raw.copiedtotape/), but is not yet in
  cache/.  This can be hit by online-replay folks who fire off replay a
  immediately after ending a run.
parent fe29ff3c
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 0 deletions
......@@ -20,6 +20,7 @@ void replay_production_coin (Int_t RunNumber = 0, Int_t MaxEvent = 0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
//const char* RunFileNamePattern = "raw/coin_all_%05d.dat";
......
......@@ -20,6 +20,7 @@ void replay_production_hms(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/hms_replay_production_%d_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_production_hms_kpp(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/hms_replay_production_%d_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_hms_raster_simple(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/hms_raster_simple_%d_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_hms_scalers(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/hms_replay_scalers_%d_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/hms_replay_%d_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_hcal_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/hcal_replay_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_hcer_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/hcer_replay_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_hdc_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/hdc_replay_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_hhodo_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/hhodo_replay_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_htrig_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/htrig_replay_%d.root";
......
......@@ -19,6 +19,7 @@ void replay_workshop_example(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/shms_replay_%d_%d.root";
......
......@@ -22,6 +22,7 @@ void replay_gem_shms (Int_t RunNumber = 0, Int_t MaxEvent = 0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/shms_replay_gem_%d_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_production_shms (Int_t RunNumber = 0, Int_t MaxEvent = 0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/shms_replay_production_%d_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_shms_raster_simple (Int_t RunNumber = 0, Int_t MaxEvent = 0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/shms_replay_raster_simple_%d_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_shms_scalers (Int_t RunNumber = 0, Int_t MaxEvent = 0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/shms_replay_scalers_%d_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_shms (Int_t RunNumber = 0, Int_t MaxEvent = 0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/shms_replay_%d_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_paero_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/paero_replay_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_pcal_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/pcal_replay_%d.root";
......
......@@ -20,6 +20,7 @@ void replay_pdc_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
vector<TString> pathList;
pathList.push_back(".");
pathList.push_back("./raw");
pathList.push_back("./raw/../raw.copiedtotape");
pathList.push_back("./cache");
const char* ROOTFileNamePattern = "ROOTfiles/pdc_replay_%d.root";
......
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