CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/DataFormats/HeavyIonEvent/interface/HeavyIon.h

Go to the documentation of this file.
00001 #ifndef DataFormats_HeavyIon_h 
00002 #define DataFormats_HeavyIon_h
00003 
00004 #include "DataFormats/HeavyIonEvent/interface/Centrality.h"
00005 #include "DataFormats/HeavyIonEvent/interface/EvtPlane.h"
00006 
00007 namespace pat {
00008 
00009    class HeavyIon {
00010    public:
00011       HeavyIon();
00012       HeavyIon(const reco::CentralityCollection & c, const reco::EvtPlaneCollection & e);
00013       HeavyIon(const reco::CentralityCollection & c, const reco::EvtPlaneCollection & e, double b, int npart, int ncoll, int nhard, double phi);
00014       virtual ~HeavyIon(){;}
00015 
00016       const reco::CentralityCollection& getCentralityCollection() const {return cents_;}
00017 
00018       bool isMC() const {return isMC_;}
00019       double generatedB() const {return b_;}
00020       int generatedNpart() const {return npart_;}
00021       int generatedNcoll() const {return ncoll_;}
00022       int generatedNhard() const {return nhard_;}
00023       double generatedEvtPlane() const {return phi_;}
00024 
00025    private:
00026       reco::CentralityCollection cents_;
00027       reco::EvtPlaneCollection planes_;
00028       bool isMC_;
00029       double b_;
00030       int npart_;
00031       int ncoll_;
00032       int nhard_;
00033       double phi_;
00034    };
00035 
00036 }
00037 
00038 #endif