CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
TkAlV0sAnalyzer Class Reference
Inheritance diagram for TkAlV0sAnalyzer:
edm::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 TkAlV0sAnalyzer (const edm::ParameterSet &)
 
 ~TkAlV0sAnalyzer () override=default
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
template<typename T , typename... Args>
Tbook (const Args &... args) const
 
TH1F * bookHisto1D (std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning binning)
 
TH2F * bookHisto2D (std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
 
TProfile * bookProfile (std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
 
void fillMonitoringHistos (const edm::Event &iEvent)
 
void getHistoPSet (edm::ParameterSet pset, MEbinning &mebinning)
 

Private Attributes

const edm::EDGetTokenT< reco::BeamSpotbsToken_
 
MEbinning chi2oNDF_binning_
 
MEbinning eta_binning_
 
const bool forceSCAL_
 
edm::Service< TFileServicefs_
 
TH1F * h_diTrackMass
 
TH1F * h_V0Mass
 
MEbinning ls_binning_
 
MEbinning lumi_binning_
 
const edm::EDGetTokenT< LumiScalersCollectionlumiscalersToken_
 
MEbinning Lxy_binning_
 
MEbinning mass_binning_
 
const edm::EDGetTokenT< OnlineLuminosityRecordmetaDataToken_
 
TH1F * n_vs_BX_
 
TH1F * n_vs_LS_
 
TH1F * n_vs_lumi_
 
TH1F * n_vs_PU_
 
MEbinning pt_binning_
 
MEbinning pu_binning_
 
const int pvNDOF_
 
const edm::EDGetTokenT< reco::VertexCollectionpvToken_
 
const edm::EDGetTokenT< TrackCollection > tracksToken_
 
TH1F * v0_chi2oNDF_
 
TH1F * v0_deltaMass_
 
TProfile * v0_deltaMass_vs_BX_
 
TProfile * v0_deltaMass_vs_eta_
 
TProfile * v0_deltaMass_vs_lumi_
 
TProfile * v0_deltaMass_vs_pt_
 
TProfile * v0_deltaMass_vs_PU_
 
TH1F * v0_eta_
 
TH1F * v0_Lxy_
 
TProfile * v0_Lxy_vs_BX_
 
TProfile * v0_Lxy_vs_deltaMass_
 
TProfile * v0_Lxy_vs_eta_
 
TProfile * v0_Lxy_vs_lumi_
 
TProfile * v0_Lxy_vs_pt_
 
TProfile * v0_Lxy_vs_PU_
 
TH1F * v0_Lxy_wrtBS_
 
TH1F * v0_mass_
 
TProfile * v0_mass_vs_BX_
 
TProfile * v0_mass_vs_eta_
 
TProfile * v0_mass_vs_lumi_
 
TProfile * v0_mass_vs_p_
 
TProfile * v0_mass_vs_pt_
 
TProfile * v0_mass_vs_PU_
 
TH1F * v0_N_
 
TProfile * v0_N_vs_BX_
 
TProfile * v0_N_vs_LS_
 
TProfile * v0_N_vs_lumi_
 
TProfile * v0_N_vs_PU_
 
TH1F * v0_phi_
 
TH1F * v0_pt_
 
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollectionvccToken_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 63 of file TkAlV0sAnalyzer.cc.

Constructor & Destructor Documentation

◆ TkAlV0sAnalyzer()

TkAlV0sAnalyzer::TkAlV0sAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 170 of file TkAlV0sAnalyzer.cc.

References chi2oNDF_binning_, eta_binning_, getHistoPSet(), edm::ParameterSet::getParameter(), V0Monitor_cff::histoPSet, TFileService::kSharedResource, ls_binning_, lumi_binning_, Lxy_binning_, mass_binning_, n_vs_BX_, n_vs_LS_, n_vs_lumi_, n_vs_PU_, pt_binning_, pu_binning_, v0_chi2oNDF_, v0_deltaMass_, v0_deltaMass_vs_BX_, v0_deltaMass_vs_eta_, v0_deltaMass_vs_lumi_, v0_deltaMass_vs_pt_, v0_deltaMass_vs_PU_, v0_eta_, v0_Lxy_, v0_Lxy_vs_BX_, v0_Lxy_vs_deltaMass_, v0_Lxy_vs_eta_, v0_Lxy_vs_lumi_, v0_Lxy_vs_pt_, v0_Lxy_vs_PU_, v0_Lxy_wrtBS_, v0_mass_, v0_mass_vs_BX_, v0_mass_vs_eta_, v0_mass_vs_lumi_, v0_mass_vs_p_, v0_mass_vs_pt_, v0_mass_vs_PU_, v0_N_, v0_N_vs_BX_, v0_N_vs_LS_, v0_N_vs_lumi_, v0_N_vs_PU_, v0_phi_, and v0_pt_.

171  : tracksToken_(consumes<TrackCollection>(iConfig.getParameter<edm::InputTag>("tracks"))),
172  vccToken_(consumes<reco::VertexCompositeCandidateCollection>(
173  iConfig.getParameter<edm::InputTag>("vertexCompositeCandidates"))),
174  bsToken_(consumes<reco::BeamSpot>(iConfig.getParameter<edm::InputTag>("beamSpot"))),
175  pvToken_(consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("primaryVertex"))),
176  lumiscalersToken_(consumes<LumiScalersCollection>(iConfig.getParameter<edm::InputTag>("lumiScalers"))),
177  metaDataToken_(consumes<OnlineLuminosityRecord>(iConfig.getParameter<edm::InputTag>("metadata"))),
178  forceSCAL_(iConfig.getParameter<bool>("forceSCAL")),
179  pvNDOF_(iConfig.getParameter<int>("pvNDOF")) {
180  usesResource(TFileService::kSharedResource);
181 
182  v0_N_ = nullptr;
183  v0_mass_ = nullptr;
184  v0_pt_ = nullptr;
185  v0_eta_ = nullptr;
186  v0_phi_ = nullptr;
187  v0_Lxy_ = nullptr;
188  v0_Lxy_wrtBS_ = nullptr;
189  v0_chi2oNDF_ = nullptr;
190  v0_mass_vs_p_ = nullptr;
191  v0_mass_vs_pt_ = nullptr;
192  v0_mass_vs_eta_ = nullptr;
193  v0_deltaMass_ = nullptr;
194  v0_deltaMass_vs_pt_ = nullptr;
195  v0_deltaMass_vs_eta_ = nullptr;
196 
197  v0_Lxy_vs_deltaMass_ = nullptr;
198  v0_Lxy_vs_pt_ = nullptr;
199  v0_Lxy_vs_eta_ = nullptr;
200 
201  n_vs_BX_ = nullptr;
202  v0_N_vs_BX_ = nullptr;
203  v0_mass_vs_BX_ = nullptr;
204  v0_Lxy_vs_BX_ = nullptr;
205  v0_deltaMass_vs_BX_ = nullptr;
206 
207  n_vs_lumi_ = nullptr;
208  v0_N_vs_lumi_ = nullptr;
209  v0_mass_vs_lumi_ = nullptr;
210  v0_Lxy_vs_lumi_ = nullptr;
211  v0_deltaMass_vs_lumi_ = nullptr;
212 
213  n_vs_PU_ = nullptr;
214  v0_N_vs_PU_ = nullptr;
215  v0_mass_vs_PU_ = nullptr;
216  v0_Lxy_vs_PU_ = nullptr;
217  v0_deltaMass_vs_PU_ = nullptr;
218 
219  n_vs_LS_ = nullptr;
220  v0_N_vs_LS_ = nullptr;
221 
223  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("massPSet"), mass_binning_);
224  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("ptPSet"), pt_binning_);
225  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("etaPSet"), eta_binning_);
226  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("LxyPSet"), Lxy_binning_);
227  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("chi2oNDFPSet"), chi2oNDF_binning_);
228  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("lumiPSet"), lumi_binning_);
229  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("puPSet"), pu_binning_);
230  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("lsPSet"), ls_binning_);
231 }
void getHistoPSet(edm::ParameterSet pset, MEbinning &mebinning)
static const std::string kSharedResource
Definition: TFileService.h:76
TProfile * v0_mass_vs_lumi_
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
MEbinning Lxy_binning_
TProfile * v0_mass_vs_p_
TProfile * v0_Lxy_vs_eta_
TProfile * v0_N_vs_lumi_
TProfile * v0_deltaMass_vs_pt_
TProfile * v0_deltaMass_vs_eta_
TProfile * v0_mass_vs_BX_
const edm::EDGetTokenT< reco::VertexCollection > pvToken_
TProfile * v0_Lxy_vs_pt_
TProfile * v0_N_vs_BX_
const edm::EDGetTokenT< TrackCollection > tracksToken_
const bool forceSCAL_
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
TProfile * v0_Lxy_vs_lumi_
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > vccToken_
MEbinning chi2oNDF_binning_
TProfile * v0_mass_vs_eta_
TProfile * v0_mass_vs_pt_
TProfile * v0_N_vs_PU_
TProfile * v0_deltaMass_vs_lumi_
TProfile * v0_mass_vs_PU_
TProfile * v0_N_vs_LS_
MEbinning lumi_binning_
MEbinning eta_binning_
TProfile * v0_deltaMass_vs_BX_
const edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
TProfile * v0_Lxy_vs_deltaMass_
MEbinning mass_binning_
TProfile * v0_Lxy_vs_PU_
TProfile * v0_Lxy_vs_BX_
TProfile * v0_deltaMass_vs_PU_
const edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_

◆ ~TkAlV0sAnalyzer()

TkAlV0sAnalyzer::~TkAlV0sAnalyzer ( )
overridedefault

Member Function Documentation

◆ analyze()

void TkAlV0sAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 275 of file TkAlV0sAnalyzer.cc.

References fillMonitoringHistos(), h_diTrackMass, h_V0Mass, mps_fire::i, iEvent, edm::Ref< C, T, F >::isNonnull(), EgHLTOffHistBins_cfi::mass, piMass2, edm::Handle< T >::product(), mathSSE::sqrt(), reco::RecoChargedCandidate::track(), HLT_2024v14_cff::track, tracksToken_, V0Monitor_cff::v0, and vccToken_.

275  {
276  using namespace edm;
277 
278  std::vector<const reco::Track*> myTracks;
279 
281  iEvent.getByToken(vccToken_, vccHandle);
282 
283  if (vccHandle->empty())
284  return;
285 
287 
288  for (const auto& track : iEvent.get(tracksToken_)) {
289  myTracks.emplace_back(&track);
290  }
291 
292  // exclude multiple candidates
293  if (myTracks.size() != 2)
294  return;
295 
296  for (const auto& v0 : v0s) {
297  float mass = v0.mass();
298  h_V0Mass->Fill(mass);
299 
300  for (size_t i = 0; i < v0.numberOfDaughters(); ++i) {
301  //LogPrint("AlignmentTrackFromVertexCompositeCandidateSelector") << "daughter: " << i << std::endl;
302  const reco::Candidate* daughter = v0.daughter(i);
303  const reco::RecoChargedCandidate* chargedDaughter = dynamic_cast<const reco::RecoChargedCandidate*>(daughter);
304  if (chargedDaughter) {
305  //LogPrint("AlignmentTrackFromVertexCompositeCandidateSelector") << "charged daughter: " << i << std::endl;
306  const reco::TrackRef trackRef = chargedDaughter->track();
307  if (trackRef.isNonnull()) {
308  // LogPrint("AlignmentTrackFromVertexCompositeCandidateSelector")
309  // << "charged daughter has non-null trackref: " << i << std::endl;
310  }
311  }
312  }
313  }
314 
315  const auto& tplus = myTracks[0]->charge() > 0 ? myTracks[0] : myTracks[1];
316  const auto& tminus = myTracks[0]->charge() < 0 ? myTracks[0] : myTracks[1];
317 
318  TLorentzVector p4_tplus(tplus->px(), tplus->py(), tplus->pz(), sqrt((tplus->p() * tplus->p()) + piMass2));
319  TLorentzVector p4_tminus(tminus->px(), tminus->py(), tminus->pz(), sqrt((tminus->p() * tminus->p()) + piMass2));
320 
321  const auto& V0p4 = p4_tplus + p4_tminus;
322  float track_invMass = V0p4.M();
323  h_diTrackMass->Fill(track_invMass);
324 
326 }
std::vector< VertexCompositeCandidate > VertexCompositeCandidateCollection
collection of Candidate objects
T const * product() const
Definition: Handle.h:70
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
const edm::EDGetTokenT< TrackCollection > tracksToken_
int iEvent
Definition: GenABIO.cc:224
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > vccToken_
T sqrt(T t)
Definition: SSEVec.h:19
reco::TrackRef track() const override
reference to a track
static constexpr double piMass2
HLT enums.
void fillMonitoringHistos(const edm::Event &iEvent)

◆ beginJob()

void TkAlV0sAnalyzer::beginJob ( )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 460 of file TkAlV0sAnalyzer.cc.

References bookHisto1D(), bookProfile(), chi2oNDF_binning_, eta_binning_, h_diTrackMass, h_V0Mass, ls_binning_, lumi_binning_, Lxy_binning_, mass_binning_, n_vs_BX_, n_vs_LS_, n_vs_lumi_, n_vs_PU_, MEbinning::nbins, pt_binning_, pu_binning_, v0_chi2oNDF_, v0_deltaMass_, v0_deltaMass_vs_BX_, v0_deltaMass_vs_eta_, v0_deltaMass_vs_lumi_, v0_deltaMass_vs_pt_, v0_deltaMass_vs_PU_, v0_eta_, v0_Lxy_, v0_Lxy_vs_BX_, v0_Lxy_vs_deltaMass_, v0_Lxy_vs_eta_, v0_Lxy_vs_lumi_, v0_Lxy_vs_pt_, v0_Lxy_vs_PU_, v0_Lxy_wrtBS_, v0_mass_, v0_mass_vs_BX_, v0_mass_vs_eta_, v0_mass_vs_lumi_, v0_mass_vs_p_, v0_mass_vs_pt_, v0_mass_vs_PU_, v0_N_, v0_N_vs_BX_, v0_N_vs_LS_, v0_N_vs_lumi_, v0_N_vs_PU_, v0_phi_, v0_pt_, MEbinning::xmax, and MEbinning::xmin.

460  {
461  h_diTrackMass = book<TH1F>(
462  "diTrackMass", "V0 mass from tracks in Event", mass_binning_.nbins, mass_binning_.xmin, mass_binning_.xmax);
463  h_V0Mass = book<TH1F>(
464  "V0kMass", "Reconstructed V0 mass in Event", mass_binning_.nbins, mass_binning_.xmin, mass_binning_.xmax);
465 
466  MEbinning N_binning;
467  N_binning.nbins = 15;
468  N_binning.xmin = -0.5;
469  N_binning.xmax = 14.5;
470  v0_N_ = bookHisto1D("v0_N", "# v0", "# v0", "events", N_binning);
471  v0_mass_ = bookHisto1D("v0_mass", "mass", "mass [GeV]", "events", mass_binning_);
472  v0_pt_ = bookHisto1D("v0_pt", "pt", "p_{T} [GeV]", "events", pt_binning_);
473  v0_eta_ = bookHisto1D("v0_eta", "eta", "#eta", "events", eta_binning_);
474  MEbinning phi_binning;
475  phi_binning.nbins = 34;
476  phi_binning.xmin = -3.2;
477  phi_binning.xmax = 3.2;
478  v0_phi_ = bookHisto1D("v0_phi", "phi", "#phi [rad]", "events", phi_binning);
479  v0_Lxy_ = bookHisto1D("v0_Lxy", "Lxy", "L_{xy} w.r.t. PV [cm]", "events", Lxy_binning_);
480  v0_Lxy_wrtBS_ = bookHisto1D("v0_Lxy_wrtBS", "Lxy", "L_{xy} w.r.t. BS [cm]", "events", Lxy_binning_);
481  v0_chi2oNDF_ = bookHisto1D("v0_chi2oNDF", "chi2oNDF", "vertex normalized #chi^{2}", "events", chi2oNDF_binning_);
482 
483  v0_mass_vs_p_ = bookProfile("v0_mass_vs_p", "mass vs p", "p [GeV]", "mass [GeV]", pt_binning_, mass_binning_);
484  v0_mass_vs_pt_ = bookProfile("v0_mass_vs_pt", "mass vs pt", "p_{T} [GeV]", "mass [GeV]", pt_binning_, mass_binning_);
485  v0_mass_vs_eta_ = bookProfile("v0_mass_vs_eta", "mass vs eta", "#eta", "mass [GeV]", eta_binning_, mass_binning_);
486 
487  MEbinning delta_binning;
488  delta_binning.nbins = 150;
489  delta_binning.xmin = -0.15;
490  delta_binning.xmax = 0.15;
491  v0_deltaMass_ = bookHisto1D("v0_deltaMass", "deltaMass", "m-m_{PDG}/m_{DPG}", "events", delta_binning);
493  "v0_deltaMass_vs_pt", "deltaMass vs pt", "p_{T} [GeV]", "m-m_{PDG}/m_{DPG}", pt_binning_, delta_binning);
495  bookProfile("v0_deltaMass_vs_eta", "deltaMass vs eta", "#eta", "m-m_{PDG}/m_{DPG}", eta_binning_, delta_binning);
496 
498  "v0_Lxy_vs_deltaMass", "L_{xy} vs deltaMass", "m-m_{PDG}/m_{DPG}", "L_{xy} [cm]", delta_binning, Lxy_binning_);
499  v0_Lxy_vs_pt_ =
500  bookProfile("v0_Lxy_vs_pt", "L_{xy} vs p_{T}", "p_{T} [GeV]", "L_{xy} [cm]", pt_binning_, Lxy_binning_);
501  v0_Lxy_vs_eta_ = bookProfile("v0_Lxy_vs_eta", "L_{xy} vs #eta", "#eta", "L_{xy} [cm]", eta_binning_, Lxy_binning_);
502 
503  MEbinning bx_binning;
504  bx_binning.nbins = 3564;
505  bx_binning.xmin = 0.5;
506  bx_binning.xmax = 3564.5;
507  n_vs_BX_ = bookHisto1D("n_vs_BX", "# events vs BX", "BX", "# events", bx_binning);
508  v0_N_vs_BX_ = bookProfile("v0_N_vs_BX", "# v0 vs BX", "BX", "# v0", bx_binning, N_binning);
509  v0_mass_vs_BX_ = bookProfile("v0_mass_vs_BX", "mass vs BX", "BX", "mass [GeV]", bx_binning, mass_binning_);
510  v0_Lxy_vs_BX_ = bookProfile("v0_Lxy_vs_BX", "L_{xy} vs BX", "BX", "L_{xy} [cm]", bx_binning, Lxy_binning_);
512  bookProfile("v0_deltaMass_vs_BX", "deltaMass vs BX", "BX", "m-m_{PDG}/m_{DPG}", bx_binning, delta_binning);
513 
514  n_vs_lumi_ =
515  bookHisto1D("n_vs_lumi", "# events vs lumi", "inst. lumi x10^{30} [Hz cm^{-2}]", "# events", lumi_binning_);
516 
517  v0_N_vs_lumi_ =
518  bookProfile("v0_N_vs_lumi", "# v0 vs lumi", "inst. lumi x10^{30} [Hz cm^{-2}]", "# v0", lumi_binning_, N_binning);
519 
521  "v0_mass_vs_lumi", "mass vs lumi", "inst. lumi x10^{30} [Hz cm^{-2}]", "mass [GeV]", lumi_binning_, mass_binning_);
522 
523  v0_Lxy_vs_lumi_ = bookProfile("v0_Lxy_vs_lumi",
524  "L_{xy} vs lumi",
525  "inst. lumi x10^{30} [Hz cm^{-2}]",
526  "L_{xy} [cm]",
528  Lxy_binning_);
529 
530  v0_deltaMass_vs_lumi_ = bookProfile("v0_deltaMass_vs_lumi",
531  "deltaMass vs lumi",
532  "inst. lumi x10^{30} [Hz cm^{-2}]",
533  "m-m_{PDG}/m_{DPG}",
535  delta_binning);
536 
537  n_vs_PU_ = bookHisto1D("n_vs_PU", "# events vs PU", "# good PV", "# events", pu_binning_);
538  v0_N_vs_PU_ = bookProfile("v0_N_vs_PU", "# v0 vs PU", "# good PV", "# v0", pu_binning_, N_binning);
539  v0_mass_vs_PU_ = bookProfile("v0_mass_vs_PU", "mass vs PU", "# good PV", "mass [GeV]", pu_binning_, mass_binning_);
540  v0_Lxy_vs_PU_ = bookProfile("v0_Lxy_vs_PU", "L_{xy} vs PU", "# good PV", "L_{xy} [cm]", pu_binning_, Lxy_binning_);
542  "v0_deltaMass_vs_PU", "deltaMass vs PU", "# good PV", "m-m_{PDG}/m_{DPG}", pu_binning_, delta_binning);
543 
544  n_vs_LS_ = bookHisto1D("n_vs_LS", "# events vs LS", "LS", "# events", ls_binning_);
545  v0_N_vs_LS_ = bookProfile("v0_N_vs_LS", "# v0 vs LS", "LS", "# v0", ls_binning_, N_binning);
546 }
TProfile * v0_mass_vs_lumi_
MEbinning Lxy_binning_
TProfile * v0_mass_vs_p_
TProfile * v0_Lxy_vs_eta_
TProfile * v0_N_vs_lumi_
TProfile * v0_deltaMass_vs_pt_
TProfile * v0_deltaMass_vs_eta_
TProfile * v0_mass_vs_BX_
TProfile * v0_Lxy_vs_pt_
TProfile * v0_N_vs_BX_
TProfile * bookProfile(std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
TProfile * v0_Lxy_vs_lumi_
MEbinning chi2oNDF_binning_
TProfile * v0_mass_vs_eta_
TH1F * bookHisto1D(std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning binning)
TProfile * v0_mass_vs_pt_
TProfile * v0_N_vs_PU_
TProfile * v0_deltaMass_vs_lumi_
TProfile * v0_mass_vs_PU_
TProfile * v0_N_vs_LS_
MEbinning lumi_binning_
MEbinning eta_binning_
TProfile * v0_deltaMass_vs_BX_
TProfile * v0_Lxy_vs_deltaMass_
MEbinning mass_binning_
TProfile * v0_Lxy_vs_PU_
TProfile * v0_Lxy_vs_BX_
TProfile * v0_deltaMass_vs_PU_

◆ book()

template<typename T , typename... Args>
T * TkAlV0sAnalyzer::book ( const Args &...  args) const
private

Definition at line 234 of file TkAlV0sAnalyzer.cc.

References writedatasetfile::args, fs_, TFileService::make(), and submitPVValidationJobs::t.

234  {
235  T* t = fs_->make<T>(args...);
236  return t;
237 }
edm::Service< TFileService > fs_
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
long double T

◆ bookHisto1D()

TH1F * TkAlV0sAnalyzer::bookHisto1D ( std::string  name,
std::string  title,
std::string  xaxis,
std::string  yaxis,
MEbinning  binning 
)
private

Definition at line 245 of file TkAlV0sAnalyzer.cc.

References pileupCalc::binning, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, LaserClient_cfi::xaxis, and TimingClient_cfi::yaxis.

Referenced by beginJob().

246  {
247  std::string title_w_axes = title + ";" + xaxis + ";" + yaxis;
248  return book<TH1F>(name.c_str(), title_w_axes.c_str(), binning.nbins, binning.xmin, binning.xmax);
249 }

◆ bookHisto2D()

TH2F * TkAlV0sAnalyzer::bookHisto2D ( std::string  name,
std::string  title,
std::string  xaxis,
std::string  yaxis,
MEbinning  xbinning,
MEbinning  ybinning 
)
private

Definition at line 251 of file TkAlV0sAnalyzer.cc.

References Skims_PA_cff::name, MEbinning::nbins, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, LaserClient_cfi::xaxis, MEbinning::xmax, MEbinning::xmin, and TimingClient_cfi::yaxis.

252  {
253  std::string title_w_axes = title + ";" + xaxis + ";" + yaxis;
254  return book<TH2F>(name.c_str(),
255  title_w_axes.c_str(),
256  xbinning.nbins,
257  xbinning.xmin,
258  xbinning.xmax,
259  ybinning.nbins,
260  ybinning.xmin,
261  ybinning.xmax);
262 }

◆ bookProfile()

TProfile * TkAlV0sAnalyzer::bookProfile ( std::string  name,
std::string  title,
std::string  xaxis,
std::string  yaxis,
MEbinning  xbinning,
MEbinning  ybinning 
)
private

Definition at line 264 of file TkAlV0sAnalyzer.cc.

References Skims_PA_cff::name, MEbinning::nbins, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, LaserClient_cfi::xaxis, MEbinning::xmax, MEbinning::xmin, and TimingClient_cfi::yaxis.

Referenced by beginJob().

265  {
266  std::string title_w_axes = title + ";" + xaxis + ";" + yaxis;
267  return book<TProfile>(
268  name.c_str(), title_w_axes.c_str(), xbinning.nbins, xbinning.xmin, xbinning.xmax, ybinning.xmin, ybinning.xmax);
269 }

◆ fillDescriptions()

void TkAlV0sAnalyzer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 549 of file TkAlV0sAnalyzer.cc.

References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.

549  {
551  desc.add<edm::InputTag>("vertexCompositeCandidates", edm::InputTag("generalV0Candidates:Kshort"));
552  desc.add<edm::InputTag>("tracks", edm::InputTag("ALCARECOTkAlKShortTracks"));
553  desc.add<edm::InputTag>("beamSpot", edm::InputTag("offlineBeamSpot"));
554  desc.add<edm::InputTag>("primaryVertex", edm::InputTag("offlinePrimaryVertices"));
555  desc.add<edm::InputTag>("lumiScalers", edm::InputTag("scalersRawToDigi"));
556  desc.add<edm::InputTag>("metadata", edm::InputTag("onlineMetaDataDigis"));
557  desc.add<bool>("forceSCAL", false);
558  desc.add<int>("pvNDOF", 4);
559 
560  {
562  {
564  psd1.add<int>("nbins", 3700);
565  psd1.add<double>("xmin", 0.);
566  psd1.add<double>("xmax", 14000.);
567  psd0.add<edm::ParameterSetDescription>("lumiPSet", psd1);
568  }
569  {
571  psd2.add<int>("nbins", 100);
572  psd2.add<double>("xmin", 0.400);
573  psd2.add<double>("xmax", 0.600);
574  psd0.add<edm::ParameterSetDescription>("massPSet", psd2);
575  }
576  {
578  psd3.add<int>("nbins", 100);
579  psd3.add<double>("xmin", 0.);
580  psd3.add<double>("xmax", 50.);
581  psd0.add<edm::ParameterSetDescription>("ptPSet", psd3);
582  }
583  {
585  psd4.add<int>("nbins", 60);
586  psd4.add<double>("xmin", -3.);
587  psd4.add<double>("xmax", 3.);
588  psd0.add<edm::ParameterSetDescription>("etaPSet", psd4);
589  }
590  {
592  psd5.add<int>("nbins", 350);
593  psd5.add<double>("xmin", 0.);
594  psd5.add<double>("xmax", 70.);
595  psd0.add<edm::ParameterSetDescription>("LxyPSet", psd5);
596  }
597  {
599  psd6.add<int>("nbins", 100);
600  psd6.add<double>("xmin", 0.);
601  psd6.add<double>("xmax", 30.);
602  psd0.add<edm::ParameterSetDescription>("chi2oNDFPSet", psd6);
603  }
604  {
606  psd7.add<int>("nbins", 100);
607  psd7.add<double>("xmin", -0.5);
608  psd7.add<double>("xmax", 99.5);
609  psd0.add<edm::ParameterSetDescription>("puPSet", psd7);
610  }
611  {
613  psd8.add<int>("nbins", 2000);
614  psd8.add<double>("xmin", 0.);
615  psd8.add<double>("xmax", 2000.);
616  psd0.add<edm::ParameterSetDescription>("lsPSet", psd8);
617  }
618  desc.add<edm::ParameterSetDescription>("histoPSet", psd0);
619  }
620  descriptions.addWithDefaultLabel(desc);
621 }
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
ParameterDescriptionBase * add(U const &iLabel, T const &value)

◆ fillMonitoringHistos()

void TkAlV0sAnalyzer::fillMonitoringHistos ( const edm::Event iEvent)
private

Definition at line 328 of file TkAlV0sAnalyzer.cc.

References cms::cuda::bs, bsToken_, nano_mu_digi_cff::bx, dumpMFGeometry_cfg::delta, PVValHelper::eta, forceSCAL_, iEvent, OnlineLuminosityRecord::instLumi(), edm::HandleBase::isValid(), V0Monitor_cfi::lumiScalers, lumiscalersToken_, EgHLTOffHistBins_cfi::mass, metaDataToken_, dqmiodumpmetadata::n, n_vs_BX_, n_vs_LS_, n_vs_lumi_, n_vs_PU_, nPV, or, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), phi, edm::Handle< T >::product(), DiDispStaMuonMonitor_cfi::pt, pvNDOF_, pvToken_, findQualityFiles::v, V0Monitor_cff::v0, v0_chi2oNDF_, v0_deltaMass_, v0_deltaMass_vs_BX_, v0_deltaMass_vs_eta_, v0_deltaMass_vs_lumi_, v0_deltaMass_vs_pt_, v0_deltaMass_vs_PU_, v0_eta_, v0_Lxy_, v0_Lxy_vs_BX_, v0_Lxy_vs_deltaMass_, v0_Lxy_vs_eta_, v0_Lxy_vs_lumi_, v0_Lxy_vs_pt_, v0_Lxy_vs_PU_, v0_Lxy_wrtBS_, v0_mass_, v0_mass_vs_BX_, v0_mass_vs_eta_, v0_mass_vs_lumi_, v0_mass_vs_p_, v0_mass_vs_pt_, v0_mass_vs_PU_, v0_N_, v0_N_vs_BX_, v0_N_vs_LS_, v0_N_vs_lumi_, v0_N_vs_PU_, v0_phi_, v0_pt_, and vccToken_.

Referenced by analyze().

328  {
329  size_t bx = iEvent.bunchCrossing();
330  n_vs_BX_->Fill(bx);
331 
332  float lumi = -1.;
333  if (forceSCAL_) {
335  if (lumiScalers.isValid() && !lumiScalers->empty()) {
336  LumiScalersCollection::const_iterator scalit = lumiScalers->begin();
337  lumi = scalit->instantLumi();
338  }
339  } else {
341  if (metaData.isValid())
342  lumi = metaData->instLumi();
343  }
344 
345  n_vs_lumi_->Fill(lumi);
346 
347  edm::Handle<reco::BeamSpot> beamspotHandle = iEvent.getHandle(bsToken_);
348  reco::BeamSpot const* bs = nullptr;
349  if (beamspotHandle.isValid())
350  bs = &(*beamspotHandle);
351 
353  reco::Vertex const* pv = nullptr;
354  size_t nPV = 0;
355  if (pvHandle.isValid()) {
356  pv = &pvHandle->front();
357  //--- pv fake (the pv collection should have size==1 and the pv==beam spot)
358  if (pv->isFake() ||
359  pv->tracksSize() == 0
360  // definition of goodOfflinePrimaryVertex
361  || pv->ndof() < pvNDOF_ || pv->z() > 24.)
362  pv = nullptr;
363 
364  for (const auto& v : *pvHandle) {
365  if (v.isFake())
366  continue;
367  if (v.ndof() < pvNDOF_)
368  continue;
369  if (v.z() > 24.)
370  continue;
371  ++nPV;
372  }
373  }
374  n_vs_PU_->Fill(nPV);
375 
376  float nLS = static_cast<float>(iEvent.id().luminosityBlock());
377  n_vs_LS_->Fill(nLS);
378 
380  int n = (v0Handle.isValid() ? v0Handle->size() : -1);
381  v0_N_->Fill(n);
382  v0_N_vs_BX_->Fill(bx, n);
383  v0_N_vs_lumi_->Fill(lumi, n);
384  v0_N_vs_PU_->Fill(nPV, n);
385  v0_N_vs_LS_->Fill(nLS, n);
386 
387  if (!v0Handle.isValid() or n == 0)
388  return;
389 
391  for (const auto& v0 : v0s) {
392  float mass = v0.mass();
393  float pt = v0.pt();
394  float p = v0.p();
395  float eta = v0.eta();
396  float phi = v0.phi();
397  int pdgID = v0.pdgId();
398  float chi2oNDF = v0.vertexNormalizedChi2();
399  GlobalPoint displacementFromPV =
400  (pv == nullptr ? GlobalPoint(-9., -9., 0) : GlobalPoint((pv->x() - v0.vx()), (pv->y() - v0.vy()), 0.));
401  GlobalPoint displacementFromBS =
402  (bs == nullptr
403  ? GlobalPoint(-9., -9., 0.)
404  : GlobalPoint(-1 * ((bs->position().x() - v0.vx()) + (v0.vz() - bs->position().z()) * bs->dxdz()),
405  -1 * ((bs->position().y() - v0.vy()) + (v0.vz() - bs->position().z()) * bs->dydz()),
406  0));
407  float lxy = (pv == nullptr ? -9. : displacementFromPV.perp());
408  float lxyWRTbs = (bs == nullptr ? -9. : displacementFromBS.perp());
409 
410  v0_mass_->Fill(mass);
411  v0_pt_->Fill(pt);
412  v0_eta_->Fill(eta);
413  v0_phi_->Fill(phi);
414  v0_Lxy_->Fill(lxy);
415  v0_Lxy_wrtBS_->Fill(lxyWRTbs);
416  v0_chi2oNDF_->Fill(chi2oNDF);
417 
418  v0_mass_vs_p_->Fill(p, mass);
419  v0_mass_vs_pt_->Fill(pt, mass);
420  v0_mass_vs_eta_->Fill(eta, mass);
421  v0_mass_vs_BX_->Fill(bx, mass);
422  v0_mass_vs_lumi_->Fill(lumi, mass);
423  v0_mass_vs_PU_->Fill(nPV, mass);
424 
425  v0_Lxy_vs_BX_->Fill(bx, lxy);
426  v0_Lxy_vs_lumi_->Fill(lumi, lxy);
427  v0_Lxy_vs_PU_->Fill(nPV, lxy);
428 
429  float PDGmass = -9999.;
430  switch (pdgID) {
431  case 130: // K_s
432  case 310: // K_L
433  PDGmass = 0.497614; // GeV
434  break;
435  case 3122: // Lambda
436  case -3122: // Lambda
437  PDGmass = 1.115683; // GeV
438  break;
439  case 4122: // Lambda_c
440  case -4122: // Lambda_c
441  case 5122: // Lambda_b
442  case -5122: // Lambda_b
443  default:
444  break;
445  }
446  float delta = (PDGmass > 0. ? (mass - PDGmass) / PDGmass : -9.);
447  v0_deltaMass_->Fill(delta);
448  v0_deltaMass_vs_pt_->Fill(pt, delta);
450  v0_deltaMass_vs_BX_->Fill(bx, delta);
452  v0_deltaMass_vs_PU_->Fill(nPV, delta);
453 
454  v0_Lxy_vs_deltaMass_->Fill(delta, lxy);
455  v0_Lxy_vs_pt_->Fill(pt, lxy);
456  v0_Lxy_vs_eta_->Fill(eta, lxy);
457  }
458 }
float dydz
TProfile * v0_mass_vs_lumi_
T perp() const
Definition: PV3DBase.h:69
std::vector< VertexCompositeCandidate > VertexCompositeCandidateCollection
collection of Candidate objects
TProfile * v0_mass_vs_p_
float dxdz
T const * product() const
Definition: Handle.h:70
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
TProfile * v0_Lxy_vs_eta_
TProfile * v0_N_vs_lumi_
TProfile * v0_deltaMass_vs_pt_
TProfile * v0_deltaMass_vs_eta_
TProfile * v0_mass_vs_BX_
const edm::EDGetTokenT< reco::VertexCollection > pvToken_
TProfile * v0_Lxy_vs_pt_
float instLumi() const
Return the luminosity for the current nibble.
TProfile * v0_N_vs_BX_
const bool forceSCAL_
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
TProfile * v0_Lxy_vs_lumi_
int iEvent
Definition: GenABIO.cc:224
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > vccToken_
TProfile * v0_mass_vs_eta_
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::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
TProfile * v0_mass_vs_pt_
TProfile * v0_N_vs_PU_
TProfile * v0_deltaMass_vs_lumi_
TProfile * v0_mass_vs_PU_
TProfile * v0_N_vs_LS_
bool isValid() const
Definition: HandleBase.h:70
TProfile * v0_deltaMass_vs_BX_
const edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
static int position[264][3]
Definition: ReadPGInfo.cc:289
TProfile * v0_Lxy_vs_deltaMass_
TProfile * v0_Lxy_vs_PU_
TProfile * v0_Lxy_vs_BX_
TProfile * v0_deltaMass_vs_PU_
const edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_

◆ getHistoPSet()

void TkAlV0sAnalyzer::getHistoPSet ( edm::ParameterSet  pset,
MEbinning mebinning 
)
private

Definition at line 239 of file TkAlV0sAnalyzer.cc.

References MEbinning::nbins, muonDTDigis_cfi::pset, MEbinning::xmax, and MEbinning::xmin.

Referenced by TkAlV0sAnalyzer().

239  {
240  mebinning.nbins = pset.getParameter<int32_t>("nbins");
241  mebinning.xmin = pset.getParameter<double>("xmin");
242  mebinning.xmax = pset.getParameter<double>("xmax");
243 }

Member Data Documentation

◆ bsToken_

const edm::EDGetTokenT<reco::BeamSpot> TkAlV0sAnalyzer::bsToken_
private

Definition at line 100 of file TkAlV0sAnalyzer.cc.

Referenced by fillMonitoringHistos().

◆ chi2oNDF_binning_

MEbinning TkAlV0sAnalyzer::chi2oNDF_binning_
private

Definition at line 159 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), and TkAlV0sAnalyzer().

◆ eta_binning_

MEbinning TkAlV0sAnalyzer::eta_binning_
private

Definition at line 157 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), and TkAlV0sAnalyzer().

◆ forceSCAL_

const bool TkAlV0sAnalyzer::forceSCAL_
private

Definition at line 104 of file TkAlV0sAnalyzer.cc.

Referenced by fillMonitoringHistos().

◆ fs_

edm::Service<TFileService> TkAlV0sAnalyzer::fs_
private

Definition at line 108 of file TkAlV0sAnalyzer.cc.

Referenced by book().

◆ h_diTrackMass

TH1F* TkAlV0sAnalyzer::h_diTrackMass
private

Definition at line 110 of file TkAlV0sAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ h_V0Mass

TH1F* TkAlV0sAnalyzer::h_V0Mass
private

Definition at line 111 of file TkAlV0sAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ ls_binning_

MEbinning TkAlV0sAnalyzer::ls_binning_
private

Definition at line 162 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), and TkAlV0sAnalyzer().

◆ lumi_binning_

MEbinning TkAlV0sAnalyzer::lumi_binning_
private

Definition at line 160 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), and TkAlV0sAnalyzer().

◆ lumiscalersToken_

const edm::EDGetTokenT<LumiScalersCollection> TkAlV0sAnalyzer::lumiscalersToken_
private

Definition at line 102 of file TkAlV0sAnalyzer.cc.

Referenced by fillMonitoringHistos().

◆ Lxy_binning_

MEbinning TkAlV0sAnalyzer::Lxy_binning_
private

Definition at line 158 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), and TkAlV0sAnalyzer().

◆ mass_binning_

MEbinning TkAlV0sAnalyzer::mass_binning_
private

Definition at line 155 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), and TkAlV0sAnalyzer().

◆ metaDataToken_

const edm::EDGetTokenT<OnlineLuminosityRecord> TkAlV0sAnalyzer::metaDataToken_
private

Definition at line 103 of file TkAlV0sAnalyzer.cc.

Referenced by fillMonitoringHistos().

◆ n_vs_BX_

TH1F* TkAlV0sAnalyzer::n_vs_BX_
private

Definition at line 134 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ n_vs_LS_

TH1F* TkAlV0sAnalyzer::n_vs_LS_
private

Definition at line 152 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ n_vs_lumi_

TH1F* TkAlV0sAnalyzer::n_vs_lumi_
private

Definition at line 140 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ n_vs_PU_

TH1F* TkAlV0sAnalyzer::n_vs_PU_
private

Definition at line 146 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ pt_binning_

MEbinning TkAlV0sAnalyzer::pt_binning_
private

Definition at line 156 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), and TkAlV0sAnalyzer().

◆ pu_binning_

MEbinning TkAlV0sAnalyzer::pu_binning_
private

Definition at line 161 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), and TkAlV0sAnalyzer().

◆ pvNDOF_

const int TkAlV0sAnalyzer::pvNDOF_
private

Definition at line 105 of file TkAlV0sAnalyzer.cc.

Referenced by fillMonitoringHistos().

◆ pvToken_

const edm::EDGetTokenT<reco::VertexCollection> TkAlV0sAnalyzer::pvToken_
private

Definition at line 101 of file TkAlV0sAnalyzer.cc.

Referenced by fillMonitoringHistos().

◆ tracksToken_

const edm::EDGetTokenT<TrackCollection> TkAlV0sAnalyzer::tracksToken_
private

Definition at line 97 of file TkAlV0sAnalyzer.cc.

Referenced by analyze().

◆ v0_chi2oNDF_

TH1F* TkAlV0sAnalyzer::v0_chi2oNDF_
private

Definition at line 120 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_deltaMass_

TH1F* TkAlV0sAnalyzer::v0_deltaMass_
private

Definition at line 121 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_deltaMass_vs_BX_

TProfile* TkAlV0sAnalyzer::v0_deltaMass_vs_BX_
private

Definition at line 138 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_deltaMass_vs_eta_

TProfile* TkAlV0sAnalyzer::v0_deltaMass_vs_eta_
private

Definition at line 128 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_deltaMass_vs_lumi_

TProfile* TkAlV0sAnalyzer::v0_deltaMass_vs_lumi_
private

Definition at line 144 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_deltaMass_vs_pt_

TProfile* TkAlV0sAnalyzer::v0_deltaMass_vs_pt_
private

Definition at line 127 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_deltaMass_vs_PU_

TProfile* TkAlV0sAnalyzer::v0_deltaMass_vs_PU_
private

Definition at line 150 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_eta_

TH1F* TkAlV0sAnalyzer::v0_eta_
private

Definition at line 116 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_Lxy_

TH1F* TkAlV0sAnalyzer::v0_Lxy_
private

Definition at line 118 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_Lxy_vs_BX_

TProfile* TkAlV0sAnalyzer::v0_Lxy_vs_BX_
private

Definition at line 137 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_Lxy_vs_deltaMass_

TProfile* TkAlV0sAnalyzer::v0_Lxy_vs_deltaMass_
private

Definition at line 130 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_Lxy_vs_eta_

TProfile* TkAlV0sAnalyzer::v0_Lxy_vs_eta_
private

Definition at line 132 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_Lxy_vs_lumi_

TProfile* TkAlV0sAnalyzer::v0_Lxy_vs_lumi_
private

Definition at line 143 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_Lxy_vs_pt_

TProfile* TkAlV0sAnalyzer::v0_Lxy_vs_pt_
private

Definition at line 131 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_Lxy_vs_PU_

TProfile* TkAlV0sAnalyzer::v0_Lxy_vs_PU_
private

Definition at line 149 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_Lxy_wrtBS_

TH1F* TkAlV0sAnalyzer::v0_Lxy_wrtBS_
private

Definition at line 119 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_mass_

TH1F* TkAlV0sAnalyzer::v0_mass_
private

Definition at line 114 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_mass_vs_BX_

TProfile* TkAlV0sAnalyzer::v0_mass_vs_BX_
private

Definition at line 136 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_mass_vs_eta_

TProfile* TkAlV0sAnalyzer::v0_mass_vs_eta_
private

Definition at line 125 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_mass_vs_lumi_

TProfile* TkAlV0sAnalyzer::v0_mass_vs_lumi_
private

Definition at line 142 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_mass_vs_p_

TProfile* TkAlV0sAnalyzer::v0_mass_vs_p_
private

Definition at line 123 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_mass_vs_pt_

TProfile* TkAlV0sAnalyzer::v0_mass_vs_pt_
private

Definition at line 124 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_mass_vs_PU_

TProfile* TkAlV0sAnalyzer::v0_mass_vs_PU_
private

Definition at line 148 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_N_

TH1F* TkAlV0sAnalyzer::v0_N_
private

Definition at line 113 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_N_vs_BX_

TProfile* TkAlV0sAnalyzer::v0_N_vs_BX_
private

Definition at line 135 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_N_vs_LS_

TProfile* TkAlV0sAnalyzer::v0_N_vs_LS_
private

Definition at line 153 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_N_vs_lumi_

TProfile* TkAlV0sAnalyzer::v0_N_vs_lumi_
private

Definition at line 141 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_N_vs_PU_

TProfile* TkAlV0sAnalyzer::v0_N_vs_PU_
private

Definition at line 147 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_phi_

TH1F* TkAlV0sAnalyzer::v0_phi_
private

Definition at line 117 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ v0_pt_

TH1F* TkAlV0sAnalyzer::v0_pt_
private

Definition at line 115 of file TkAlV0sAnalyzer.cc.

Referenced by beginJob(), fillMonitoringHistos(), and TkAlV0sAnalyzer().

◆ vccToken_

const edm::EDGetTokenT<reco::VertexCompositeCandidateCollection> TkAlV0sAnalyzer::vccToken_
private

Definition at line 98 of file TkAlV0sAnalyzer.cc.

Referenced by analyze(), and fillMonitoringHistos().