File tree 2 files changed +29
-3
lines changed
DataFormats/ParticleFlowReco
2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 13
13
14
14
#include < iostream>
15
15
#include < vector>
16
-
16
+ #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
17
+ #include < atomic>
18
+ #endif
17
19
18
20
19
21
class PFClusterAlgo ;
@@ -141,7 +143,22 @@ namespace reco {
141
143
142
144
// / cluster position: rho, eta, phi (transient)
143
145
REPPoint posrep_;
144
-
146
+ #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
147
+ // / \todo move to PFClusterTools
148
+ static std::atomic<int > depthCorMode_;
149
+
150
+ // / \todo move to PFClusterTools
151
+ static std::atomic<double > depthCorA_;
152
+
153
+ // / \todo move to PFClusterTools
154
+ static std::atomic<double > depthCorB_ ;
155
+
156
+ // / \todo move to PFClusterTools
157
+ static std::atomic<double > depthCorAp_;
158
+
159
+ // / \todo move to PFClusterTools
160
+ static std::atomic<double > depthCorBp_;
161
+ #else
145
162
146
163
// / \todo move to PFClusterTools
147
164
static int depthCorMode_;
@@ -157,6 +174,7 @@ namespace reco {
157
174
158
175
// / \todo move to PFClusterTools
159
176
static double depthCorBp_;
177
+ #endif
160
178
161
179
static const math::XYZPoint dummyVtx_;
162
180
Original file line number Diff line number Diff line change 4
4
using namespace std ;
5
5
using namespace reco ;
6
6
7
-
7
+ #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
8
+ std::atomic<int > PFCluster::depthCorMode_{0 };
9
+ std::atomic<double > PFCluster::depthCorA_{0.89 };
10
+ std::atomic<double > PFCluster::depthCorB_{7.3 };
11
+ std::atomic<double > PFCluster::depthCorAp_{0.89 };
12
+ std::atomic<double > PFCluster::depthCorBp_{4.0 };
13
+ #else
8
14
int PFCluster::depthCorMode_ = 0 ;
9
15
double PFCluster::depthCorA_ = 0.89 ;
10
16
double PFCluster::depthCorB_ = 7.3 ;
11
17
double PFCluster::depthCorAp_ = 0.89 ;
12
18
double PFCluster::depthCorBp_ = 4.0 ;
19
+ #endif
20
+
13
21
14
22
const math::XYZPoint PFCluster::dummyVtx_ (0 ,0 ,0 );
15
23
You can’t perform that action at this time.
0 commit comments