File indexing completed on 2024-04-06 12:32:09
0001 #ifndef BASICHEPMCHEAVYIONVALIDATION_H
0002 #define BASICHEPMCHEAVYIONVALIDATION_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include "FWCore/Framework/interface/Event.h"
0013 #include "FWCore/Framework/interface/EventSetup.h"
0014 #include "FWCore/Framework/interface/Run.h"
0015
0016 #include "DataFormats/Common/interface/Handle.h"
0017 #include "FWCore/Framework/interface/ESHandle.h"
0018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0019 #include "FWCore/Utilities/interface/InputTag.h"
0020
0021
0022 #include "DQMServices/Core/interface/DQMStore.h"
0023 #include "FWCore/ServiceRegistry/interface/Service.h"
0024 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0025
0026 #include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
0027
0028 #include "SimGeneral/HepPDTRecord/interface/ParticleDataTable.h"
0029
0030 #include "Validation/EventGenerator/interface/WeightManager.h"
0031
0032 class BasicHepMCHeavyIonValidation : public DQMEDAnalyzer {
0033 public:
0034 explicit BasicHepMCHeavyIonValidation(const edm::ParameterSet&);
0035 ~BasicHepMCHeavyIonValidation() override;
0036
0037 void bookHistograms(DQMStore::IBooker& i, edm::Run const&, edm::EventSetup const&) override;
0038 void analyze(edm::Event const&, edm::EventSetup const&) override;
0039
0040 private:
0041 WeightManager wmanager_;
0042 edm::InputTag hepmcCollection_;
0043 bool QWdebug_;
0044
0045
0046
0047
0048 MonitorElement* nEvt;
0049
0050
0051 MonitorElement* Ncoll_hard;
0052 MonitorElement* Npart_proj;
0053 MonitorElement* Npart_targ;
0054 MonitorElement* Ncoll;
0055 MonitorElement* N_Nwounded_collisions;
0056 MonitorElement* Nwounded_N_collisions;
0057 MonitorElement* Nwounded_Nwounded_collisions;
0058 MonitorElement* spectator_neutrons;
0059 MonitorElement* spectator_protons;
0060 MonitorElement* impact_parameter;
0061 MonitorElement* event_plane_angle;
0062 MonitorElement* eccentricity;
0063
0064
0065 MonitorElement* sigma_inel_NN;
0066
0067
0068 edm::EDGetTokenT<edm::HepMCProduct> hepmcCollectionToken_;
0069 };
0070
0071 #endif