17 folderName_( iConfig.getParameter<std::
string>(
"FolderName") )
22 , pvNDOF_ ( iConfig.getParameter<int> (
"pvNDOF") )
92 std::string title_w_axes = title+
";"+xaxis+
";"+yaxis;
93 return ibooker.
book1D(name, title_w_axes,
99 std::string title_w_axes = title+
";"+xaxis+
";"+yaxis;
100 return ibooker.
book2D(name, title_w_axes,
107 std::string title_w_axes = title+
";"+xaxis+
";"+yaxis;
190 if ( lumiScalers.
isValid() && lumiScalers->size() ) {
191 LumiScalersCollection::const_iterator scalit = lumiScalers->begin();
192 lumi = scalit->instantLumi();
201 bs = &(*beamspotHandle);
209 pv = &pvHandle->front();
215 for (
auto v : *pvHandle) {
216 if (
v.isFake() )
continue;
218 if (
v.z() > 24. )
continue;
229 int n = ( v0Handle.
isValid() ? v0Handle->size() : -1 );
240 for (
auto v0 : v0s ) {
241 float mass = v0.mass();
244 float eta = v0.eta();
245 float phi = v0.phi();
246 int pdgID = v0.pdgId();
247 float chi2oNDF = v0.vertexNormalizedChi2();
254 float lxy = ( pv==
nullptr ? -9. : displacementFromPV.
perp() );
255 float lxyWRTbs = ( bs==
nullptr ? -9. : displacementFromBS.
perp() );
276 float PDGmass = -9999.;
293 float delta = (PDGmass > 0. ? (mass-PDGmass)/PDGmass : -9.);
MonitorElement * v0_Lxy_vs_pt_
T getParameter(std::string const &) const
MonitorElement * v0_deltaMass_vs_PU_
MonitorElement * v0_mass_vs_PU_
MonitorElement * v0_Lxy_vs_PU_
MonitorElement * v0_N_vs_LS_
MonitorElement * v0_mass_vs_eta_
MonitorElement * v0_mass_vs_lumi_
std::vector< VertexCompositeCandidate > VertexCompositeCandidateCollection
collection of Candidate objects
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
void getHistoPSet(edm::ParameterSet pset, MEbinning &mebinning)
MonitorElement * bookProfile(Args &&...args)
V0Monitor(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * v0_mass_vs_p_
#define DEFINE_FWK_MODULE(type)
double y() const
y coordinate
MonitorElement * v0_mass_
MonitorElement * v0_chi2oNDF_
Global3DPoint GlobalPoint
int bunchCrossing() const
MonitorElement * v0_mass_vs_pt_
std::vector< Vertex > VertexCollection
collection of Vertex objects
MonitorElement * v0_deltaMass_
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
LuminosityBlockNumber_t luminosityBlock() const
edm::EDGetTokenT< reco::BeamSpot > bsToken_
double dydz() const
dydz slope
MonitorElement * v0_deltaMass_vs_lumi_
MonitorElement * bookHisto2D(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > v0Token_
MonitorElement * v0_Lxy_vs_BX_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
bool accept(const edm::Event &event, const edm::EventSetup &setup)
To be called from analyze/filter() methods.
MonitorElement * v0_Lxy_wrtBS_
MonitorElement * book1D(Args &&...args)
MonitorElement * n_vs_lumi_
double z() const
y coordinate
MonitorElement * v0_Lxy_vs_lumi_
MonitorElement * v0_Lxy_vs_eta_
MonitorElement * bookHisto1D(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning binning)
MonitorElement * v0_deltaMass_vs_BX_
edm::EDGetTokenT< reco::VertexCollection > pvToken_
double dxdz() const
dxdz slope
MonitorElement * v0_deltaMass_vs_eta_
MEbinning chi2oNDF_binning_
double x() const
x coordinate
MonitorElement * bookProfile(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
void setCurrentFolder(const std::string &fullpath)
T const * product() const
MonitorElement * book2D(Args &&...args)
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
MonitorElement * v0_Lxy_vs_deltaMass_
MonitorElement * n_vs_PU_
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup)
MonitorElement * n_vs_LS_
std::vector< LumiScalers > LumiScalersCollection
const Point & position() const
position
GenericTriggerEventFlag * genTriggerEventFlag_
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
MonitorElement * v0_N_vs_BX_
MonitorElement * v0_mass_vs_BX_
MonitorElement * n_vs_BX_
MonitorElement * v0_N_vs_lumi_
size_t tracksSize() const
number of tracks
MonitorElement * v0_N_vs_PU_
MonitorElement * v0_deltaMass_vs_pt_