|
|
Go to the documentation of this file.
9 #include "CLHEP/Units/defs.h"
10 #include "CLHEP/Units/PhysicalConstants.h"
16 : wmanager_(iPSet, consumesCollector()), hepmcCollection_(iPSet.getParameter<
edm::
InputTag>(
"hepmcCollection")) {
27 i.setCurrentFolder(
"Generator/HeavyIon");
30 nEvt =
dqm.book1dHisto(
"nEvt",
"n analyzed Events", 1, 0., 1.,
"",
"Number of Events");
34 dqm.book1dHisto(
"Ncoll_hard",
"Ncoll_hard", 700, 0, 700,
"Number of hard scatterings",
"Number of Events");
36 dqm.book1dHisto(
"Npart_proj",
"Npart_proj", 250, 0, 250,
"Number of projectile participants",
"Number of Events");
38 dqm.book1dHisto(
"Npart_targ",
"Npart_targ", 250, 0, 250,
"Number of target participants",
"Number of Events");
39 Ncoll =
dqm.book1dHisto(
"Ncoll",
"Ncoll", 700, 0, 700,
"Number of N-N collisions",
"Number of Events");
41 "N_Nwounded_collisions",
45 "Number of N-N wounded collisions",
48 "Nwounded_N_collisions",
52 "Number of N wounded-N collisions",
55 "Nwounded_Nwounded_collisions",
59 "Number of N wounded-N wounded collisions",
62 "spectator_neutrons",
"spectator_neutrons", 250, 0, 250,
"Number of spectator neutrons",
"Number of Events");
64 "spectator_protons",
"spectator_protons", 250, 0, 250,
"Number of spectator protons",
"Number of Events");
66 "impact_parameter",
"impact_parameter", 50, 0, 50,
"Empact parameter of collision (fm)",
"Number of Events");
68 "event_plane_angle",
"event_plane_angle", 200, 0, 2 *
CLHEP::pi,
"#phi_{event plane} (rad)",
"Number of Events");
69 eccentricity =
dqm.book1dHisto(
"eccentricity",
"eccentricity", 200, 0, 1.0,
"Eccentricity",
"Number of Events");
75 "#sigma{nucleon-nucleon inelastic cross-section}",
91 const HepMC::HeavyIon* ion = evt->
GetEvent()->heavy_ion();
95 std::cout <<
"!!QW!! HeavyIon == null" << std::endl;
void analyze(edm::Event const &, edm::EventSetup const &) override
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * impact_parameter
MonitorElement * N_Nwounded_collisions
MonitorElement * Nwounded_N_collisions
MonitorElement * spectator_protons
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
MonitorElement * nEvt
PDT table.
MonitorElement * spectator_neutrons
MonitorElement * Ncoll_hard
edm::InputTag hepmcCollection_
BasicHepMCHeavyIonValidation(const edm::ParameterSet &)
const HepMC::GenEvent * GetEvent() const
MonitorElement * Npart_proj
double weight(const edm::Event &)
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
MonitorElement * Nwounded_Nwounded_collisions
MonitorElement * sigma_inel_NN
MonitorElement * eccentricity
~BasicHepMCHeavyIonValidation() override
MonitorElement * Npart_targ
MonitorElement * event_plane_angle