From d9884e0540b7ffa2ab5ba004eb247f085eea53ca Mon Sep 17 00:00:00 2001
From: Etienne Bechtel <ebechtel@lxbk0195.gsi.de>
Date: Fri, 11 Sep 2020 10:40:16 +0200
Subject: [PATCH] apply clang-format

---
 reco/detectors/trd/CbmTrdModuleRecR.cxx | 22 +++++++++++-----------
 reco/detectors/trd/CbmTrdModuleRecR.h   | 16 +++++++---------
 2 files changed, 18 insertions(+), 20 deletions(-)

diff --git a/reco/detectors/trd/CbmTrdModuleRecR.cxx b/reco/detectors/trd/CbmTrdModuleRecR.cxx
index ebe1924088..2bb533bfa4 100644
--- a/reco/detectors/trd/CbmTrdModuleRecR.cxx
+++ b/reco/detectors/trd/CbmTrdModuleRecR.cxx
@@ -562,17 +562,17 @@ CbmTrdHit* CbmTrdModuleRecR::MakeHit(Int_t clusterId,
     hit_pos[iDim] = hit_posV[iDim];
   }
 
-   if (EB) {
-     xVar = kxVar_Value[0][errorclass];
-     yVar = kyVar_Value[0][errorclass];
-   } else {
-     if (EBP)
-       time -=
-         46;  //due to the event time of 0 in the EB mode and the ULong in the the digi time
-         //TODO: move to parameter file
-     xVar = kxVar_Value[1][errorclass];
-     yVar = kyVar_Value[1][errorclass];
-   }
+  if (EB) {
+    xVar = kxVar_Value[0][errorclass];
+    yVar = kyVar_Value[0][errorclass];
+  } else {
+    if (EBP)
+      time -=
+        46;  //due to the event time of 0 in the EB mode and the ULong in the the digi time
+    //TODO: move to parameter file
+    xVar = kxVar_Value[1][errorclass];
+    yVar = kyVar_Value[1][errorclass];
+  }
 
   TVector3 cluster_pad_dposV(xVar, yVar, 0);
 
diff --git a/reco/detectors/trd/CbmTrdModuleRecR.h b/reco/detectors/trd/CbmTrdModuleRecR.h
index c227989c1c..78c73239fd 100644
--- a/reco/detectors/trd/CbmTrdModuleRecR.h
+++ b/reco/detectors/trd/CbmTrdModuleRecR.h
@@ -62,15 +62,13 @@ private:
 
   // different error classes for the position resolution based on the simulation results
   // the error classes are defined for the different module types
-  // TODO: move to parameter file 
-  static constexpr Double_t kxVar_Value[2][5] = { 
-               {0.0258725, 0.0267693, 0.0344325, 0.0260322, 0.040115}, 
-               {0.0426313, 0.0426206, 0.0636962, 0.038981, 0.0723851} 
-                             };
-  static constexpr Double_t kyVar_Value[2][5] = { 
-               {0.024549, 0.025957, 0.0250713, 0.0302682, 0.0291146},
-               {0.0401438, 0.0407502, 0.0397242, 0.0519485, 0.0504586}
-                              };
+  // TODO: move to parameter file
+  static constexpr Double_t kxVar_Value[2][5] = {
+    {0.0258725, 0.0267693, 0.0344325, 0.0260322, 0.040115},
+    {0.0426313, 0.0426206, 0.0636962, 0.038981, 0.0723851}};
+  static constexpr Double_t kyVar_Value[2][5] = {
+    {0.024549, 0.025957, 0.0250713, 0.0302682, 0.0291146},
+    {0.0401438, 0.0407502, 0.0397242, 0.0519485, 0.0504586}};
 
   std::deque<std::tuple<Int_t, Bool_t, const CbmTrdDigi*>>
     fDigiMap;  //map to sort all digis from the Array into a deque; different module are separated; the tuple contains the digi indice, a bool to flag processed digis and the digi itself
-- 
GitLab