9 #include "CLHEP/Units/defs.h" 10 #include "CLHEP/Units/PhysicalConstants.h" 16 wmanager_(iPSet,consumesCollector()),
17 hepmcCollection_(iPSet.getParameter<
edm::
InputTag>(
"hepmcCollection"))
32 nEvt = dqm.
book1dHisto(
"nEvt",
"n analyzed Events", 1, 0., 1.,
"",
"Number of Events");
35 Ncoll_hard = dqm.
book1dHisto(
"Ncoll_hard",
"Ncoll_hard", 700, 0, 700,
"Number of hard scatterings",
"Number of Events");
36 Npart_proj = dqm.
book1dHisto(
"Npart_proj",
"Npart_proj", 250, 0, 250,
"Number of projectile participants",
"Number of Events");
37 Npart_targ = dqm.
book1dHisto(
"Npart_targ",
"Npart_targ", 250, 0, 250,
"Number of target participants",
"Number of Events");
38 Ncoll = dqm.
book1dHisto(
"Ncoll",
"Ncoll", 700, 0, 700,
"Number of N-N collisions",
"Number of Events");
39 N_Nwounded_collisions = dqm.
book1dHisto(
"N_Nwounded_collisions",
"N_Nwounded_collisions", 250, 0, 250,
"Number of N-N wounded collisions",
"Number of Events");
40 Nwounded_N_collisions = dqm.
book1dHisto(
"Nwounded_N_collisions",
"Nwounded_N_collisions", 250, 0, 250,
"Number of N wounded-N collisions",
"Number of Events");
42 spectator_neutrons = dqm.
book1dHisto(
"spectator_neutrons",
"spectator_neutrons", 250, 0, 250,
"Number of spectator neutrons",
"Number of Events");
43 spectator_protons = dqm.
book1dHisto(
"spectator_protons",
"spectator_protons", 250, 0, 250,
"Number of spectator protons",
"Number of Events");
44 impact_parameter = dqm.
book1dHisto(
"impact_parameter",
"impact_parameter", 50, 0, 50,
"Empact parameter of collision (fm)",
"Number of Events");
47 sigma_inel_NN = dqm.
book1dHisto(
"sigma_inel_NN",
"sigma_inel_NN", 200, 0, 10.0,
"#sigma{nucleon-nucleon inelastic cross-section}",
"Number of Events");
64 const HepMC::HeavyIon* ion = evt->
GetEvent()->heavy_ion();
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * Npart_proj
~BasicHepMCHeavyIonValidation() override
MonitorElement * event_plane_angle
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void analyze(edm::Event const &, edm::EventSetup const &) override
MonitorElement * spectator_neutrons
MonitorElement * book1dHisto(std::string name, std::string title, int n, double xmin, double xmax, std::string xaxis, std::string yaxis)
MonitorElement * N_Nwounded_collisions
MonitorElement * Nwounded_N_collisions
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
MonitorElement * Ncoll_hard
MonitorElement * spectator_protons
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
edm::InputTag hepmcCollection_
MonitorElement * eccentricity
MonitorElement * Npart_targ
MonitorElement * Nwounded_Nwounded_collisions
void setCurrentFolder(const std::string &fullpath)
const HepMC::GenEvent * GetEvent() const
BasicHepMCHeavyIonValidation(const edm::ParameterSet &)
MonitorElement * sigma_inel_NN
MonitorElement * nEvt
PDT table.
double weight(const edm::Event &)
MonitorElement * impact_parameter