CMS 3D CMS Logo

HeavyIon.h
Go to the documentation of this file.
1 #ifndef DataFormats_HeavyIon_h
2 #define DataFormats_HeavyIon_h
3 
6 
7 namespace pat {
8 
9  class HeavyIon {
10  public:
11  HeavyIon();
13  HeavyIon(const reco::CentralityCollection & c, const reco::EvtPlaneCollection & e, double b, int npart, int ncoll, int nhard, double phi);
14  virtual ~HeavyIon(){;}
15 
17 
18  bool isMC() const {return isMC_;}
19  double generatedB() const {return b_;}
20  int generatedNpart() const {return npart_;}
21  int generatedNcoll() const {return ncoll_;}
22  int generatedNhard() const {return nhard_;}
23  double generatedEvtPlane() const {return phi_;}
24 
25  private:
28  bool isMC_;
29  double b_;
30  int npart_;
31  int ncoll_;
32  int nhard_;
33  double phi_;
34  };
35 
36 }
37 
38 #endif
reco::CentralityCollection cents_
Definition: HeavyIon.h:26
int generatedNpart() const
Definition: HeavyIon.h:20
int generatedNhard() const
Definition: HeavyIon.h:22
bool isMC_
Definition: HeavyIon.h:28
Definition: HeavyIon.h:7
double generatedEvtPlane() const
Definition: HeavyIon.h:23
virtual ~HeavyIon()
Definition: HeavyIon.h:14
double generatedB() const
Definition: HeavyIon.h:19
std::vector< EvtPlane > EvtPlaneCollection
Definition: EvtPlane.h:51
std::vector< reco::Centrality > CentralityCollection
Definition: Centrality.h:82
bool isMC() const
Definition: HeavyIon.h:18
double b_
Definition: HeavyIon.h:29
double b
Definition: hdecay.h:120
reco::EvtPlaneCollection planes_
Definition: HeavyIon.h:27
int generatedNcoll() const
Definition: HeavyIon.h:21
const reco::CentralityCollection & getCentralityCollection() const
Definition: HeavyIon.h:16
double phi_
Definition: HeavyIon.h:33