Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:20

0001 #ifndef DataFormats_HeavyIon_h
0002 #define DataFormats_HeavyIon_h
0003 
0004 #include "DataFormats/HeavyIonEvent/interface/Centrality.h"
0005 #include "DataFormats/HeavyIonEvent/interface/EvtPlane.h"
0006 
0007 namespace pat {
0008 
0009   class HeavyIon {
0010   public:
0011     HeavyIon();
0012     HeavyIon(const reco::CentralityCollection& c, const reco::EvtPlaneCollection& e);
0013     HeavyIon(const reco::CentralityCollection& c,
0014              const reco::EvtPlaneCollection& e,
0015              double b,
0016              int npart,
0017              int ncoll,
0018              int nhard,
0019              double phi);
0020     virtual ~HeavyIon() { ; }
0021 
0022     const reco::CentralityCollection& getCentralityCollection() const { return cents_; }
0023 
0024     bool isMC() const { return isMC_; }
0025     double generatedB() const { return b_; }
0026     int generatedNpart() const { return npart_; }
0027     int generatedNcoll() const { return ncoll_; }
0028     int generatedNhard() const { return nhard_; }
0029     double generatedEvtPlane() const { return phi_; }
0030 
0031   private:
0032     reco::CentralityCollection cents_;
0033     reco::EvtPlaneCollection planes_;
0034     bool isMC_;
0035     double b_;
0036     int npart_;
0037     int ncoll_;
0038     int nhard_;
0039     double phi_;
0040   };
0041 
0042 }  // namespace pat
0043 
0044 #endif