1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef CommonTools_ParticleFlow_PFClusterWidthAlgo_H
#define CommonTools_ParticleFlow_PFClusterWidthAlgo_H
#include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
#include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
class PFClusterWidthAlgo {
public:
//constructor
PFClusterWidthAlgo(const std::vector<const reco::PFCluster*>& pfclust);
//destructor
~PFClusterWidthAlgo();
inline double pflowPhiWidth() const { return phiWidth_; }
inline double pflowEtaWidth() const { return etaWidth_; }
inline double pflowSigmaEtaEta() const { return sigmaEtaEta_; }
private:
double phiWidth_;
double etaWidth_;
double sigmaEtaEta_;
};
#endif
|