Commit 30ae7a91 authored by Vikas Singhal's avatar Vikas Singhal
Browse files

Updated formatting with clang.

parent 2dff2cb7
......@@ -176,7 +176,6 @@ void mcbm_build_and_reco_kronos(UInt_t uRunIdx = 28,
//----------------------------------Reconstruction-------------------------------------
// ------------------------------------------------------------------------
TString geoFileSts = paramDir + "mcbm2020_reco.geo.root";
//TString geoFileSts =
......@@ -226,9 +225,12 @@ void mcbm_build_and_reco_kronos(UInt_t uRunIdx = 28,
// ----- Local reconstruction in MUCH ---------------------------------
Int_t flag = 1;
TString parDir = TString(gSystem->Getenv("VMCWORKDIR")) + TString("/parameters");
TString muchDigiFile(parDir + "/much/much_v19c_mcbm_digi_sector.root"); // MUCH digi file
CbmMuchFindHitsGem* muchFindHits = new CbmMuchFindHitsGem(muchDigiFile.Data(), flag);
TString parDir =
TString(gSystem->Getenv("VMCWORKDIR")) + TString("/parameters");
TString muchDigiFile(
parDir + "/much/much_v19c_mcbm_digi_sector.root"); // MUCH digi file
CbmMuchFindHitsGem* muchFindHits =
new CbmMuchFindHitsGem(muchDigiFile.Data(), flag);
muchFindHits->SetBeamTimeDigi(kTRUE);
fRun->AddTask(muchFindHits);
std::cout << "-I- : Added task " << muchFindHits->GetName() << std::endl;
......@@ -236,7 +238,6 @@ void mcbm_build_and_reco_kronos(UInt_t uRunIdx = 28,
//--------------------------------------------------------
// ----- Intialise and run --------------------------------------------
fRun->Init();
......
......@@ -29,8 +29,10 @@ void mcbm_event_reco(Int_t runId = 831, Int_t nTimeslices = 300) {
// ------------------------------------------------------------------------
TString parDir = TString(gSystem->Getenv("VMCWORKDIR")) + TString("/parameters");
TString muchDigiFile(parDir + "/much/much_v19c_mcbm_digi_sector.root"); // MUCH digi file
TString parDir =
TString(gSystem->Getenv("VMCWORKDIR")) + TString("/parameters");
TString muchDigiFile(
parDir + "/much/much_v19c_mcbm_digi_sector.root"); // MUCH digi file
// ----- Timer --------------------------------------------------------
TStopwatch timer;
......@@ -79,7 +81,8 @@ void mcbm_event_reco(Int_t runId = 831, Int_t nTimeslices = 300) {
// ------------------------------------------------------------------------
Int_t flag = 1;
CbmMuchFindHitsGem* muchFindHits = new CbmMuchFindHitsGem(muchDigiFile.Data(), flag);
CbmMuchFindHitsGem* muchFindHits =
new CbmMuchFindHitsGem(muchDigiFile.Data(), flag);
muchFindHits->SetBeamTimeDigi(kTRUE);
run->AddTask(muchFindHits);
std::cout << "-I- : Added task " << muchFindHits->GetName() << std::endl;
......
......@@ -65,9 +65,12 @@ void mcbm_reco(Int_t runId = 831, Int_t nTimeslices = 0) {
// ----- Local reconstruction in MUCH ---------------------------------
Int_t flag = 1;
TString parDir = TString(gSystem->Getenv("VMCWORKDIR")) + TString("/parameters");
TString muchDigiFile(parDir + "/much/much_v19c_mcbm_digi_sector.root"); // MUCH digi file
CbmMuchFindHitsGem* muchFindHits = new CbmMuchFindHitsGem(muchDigiFile.Data(), flag);
TString parDir =
TString(gSystem->Getenv("VMCWORKDIR")) + TString("/parameters");
TString muchDigiFile(
parDir + "/much/much_v19c_mcbm_digi_sector.root"); // MUCH digi file
CbmMuchFindHitsGem* muchFindHits =
new CbmMuchFindHitsGem(muchDigiFile.Data(), flag);
muchFindHits->SetBeamTimeDigi(kTRUE);
run->AddTask(muchFindHits);
std::cout << "-I- : Added task " << muchFindHits->GetName() << std::endl;
......
......@@ -71,9 +71,12 @@ void mcbm_reco_kronos(Int_t runId = 831, Int_t nTimeslices = 0) {
// ----- Local reconstruction in MUCH ---------------------------------
Int_t flag = 1;
TString parDir = TString(gSystem->Getenv("VMCWORKDIR")) + TString("/parameters");
TString muchDigiFile(parDir + "/much/much_v19c_mcbm_digi_sector.root"); // MUCH digi file
CbmMuchFindHitsGem* muchFindHits = new CbmMuchFindHitsGem(muchDigiFile.Data(), flag);
TString parDir =
TString(gSystem->Getenv("VMCWORKDIR")) + TString("/parameters");
TString muchDigiFile(
parDir + "/much/much_v19c_mcbm_digi_sector.root"); // MUCH digi file
CbmMuchFindHitsGem* muchFindHits =
new CbmMuchFindHitsGem(muchDigiFile.Data(), flag);
muchFindHits->SetBeamTimeDigi(kTRUE);
run->AddTask(muchFindHits);
std::cout << "-I- : Added task " << muchFindHits->GetName() << std::endl;
......@@ -119,8 +122,6 @@ void mcbm_reco_kronos(Int_t runId = 831, Int_t nTimeslices = 0) {
// ------------------------------------------------------------------------
// ----- Local reconstruction in TRD ----------------------------------
// ------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment