CMS 3D CMS Logo

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

Public Member Functions

 DiMuonValidation (const edm::ParameterSet &pset)
 
 ~DiMuonValidation () 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
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > 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
 
bool registeredToConsumeMany (TypeID const &, 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::ESRecordsToProxyIndices 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)
 

Static Public Attributes

static constexpr double mu_mass2_ = 0.105658 * 0.105658
 
static constexpr int varNumber_ = 8
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 

Private Attributes

int compressionSettings_
 
float eBeam_
 
double pair_etamaxneg_
 
double pair_etamaxpos_
 
double pair_etaminneg_
 
double pair_etaminpos_
 
double pair_mass_max_
 
double pair_mass_min_
 
int pair_mass_nbins_
 
TH2D * th2d_mass_variables_ [varNumber_]
 
edm::EDGetTokenT< reco::TrackCollectiontheTrackCollectionToken_
 
std::string TkTag_
 
int variable_CosThetaCS_nbins_
 
double variable_CosThetaCS_xmax_
 
double variable_CosThetaCS_xmin_
 
int variable_DeltaEta_nbins_
 
double variable_DeltaEta_xmax_
 
double variable_DeltaEta_xmin_
 
int variable_EtaMinus_nbins_
 
double variable_EtaMinus_xmax_
 
double variable_EtaMinus_xmin_
 
int variable_EtaPlus_nbins_
 
double variable_EtaPlus_xmax_
 
double variable_EtaPlus_xmin_
 
int variable_PairPt_nbins_
 
double variable_PairPt_xmax_
 
double variable_PairPt_xmin_
 
int variable_PhiCS_nbins_
 
double variable_PhiCS_xmax_
 
double variable_PhiCS_xmin_
 
int variable_PhiMinus_nbins_
 
double variable_PhiMinus_xmax_
 
double variable_PhiMinus_xmin_
 
int variable_PhiPlus_nbins_
 
double variable_PhiPlus_xmax_
 
double variable_PhiPlus_xmin_
 
int variables_bins_number_ [varNumber_]
 
double variables_max_ [varNumber_]
 
double variables_min_ [varNumber_]
 
std::string variables_name_ [varNumber_]
 

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 ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
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 34 of file DiMuonValidation.cc.

Constructor & Destructor Documentation

◆ DiMuonValidation()

DiMuonValidation::DiMuonValidation ( const edm::ParameterSet pset)
inlineexplicit

Definition at line 36 of file DiMuonValidation.cc.

References TFileService::kSharedResource, theTrackCollectionToken_, TkTag_, variable_CosThetaCS_nbins_, variable_CosThetaCS_xmax_, variable_CosThetaCS_xmin_, variable_DeltaEta_nbins_, variable_DeltaEta_xmax_, variable_DeltaEta_xmin_, variable_EtaMinus_nbins_, variable_EtaMinus_xmax_, variable_EtaMinus_xmin_, variable_EtaPlus_nbins_, variable_EtaPlus_xmax_, variable_EtaPlus_xmin_, variable_PairPt_nbins_, variable_PairPt_xmax_, variable_PairPt_xmin_, variable_PhiCS_nbins_, variable_PhiCS_xmax_, variable_PhiCS_xmin_, variable_PhiMinus_nbins_, variable_PhiMinus_xmax_, variable_PhiMinus_xmin_, variable_PhiPlus_nbins_, variable_PhiPlus_xmax_, variable_PhiPlus_xmin_, variables_bins_number_, variables_max_, and variables_min_.

37  : eBeam_(pset.getParameter<double>("eBeam")),
38  compressionSettings_(pset.getUntrackedParameter<int>("compressionSettings", -1)),
39  TkTag_(pset.getParameter<std::string>("TkTag")),
40  pair_mass_min_(pset.getParameter<double>("Pair_mass_min")),
41  pair_mass_max_(pset.getParameter<double>("Pair_mass_max")),
42  pair_mass_nbins_(pset.getParameter<int>("Pair_mass_nbins")),
43  pair_etaminpos_(pset.getParameter<double>("Pair_etaminpos")),
44  pair_etamaxpos_(pset.getParameter<double>("Pair_etamaxpos")),
45  pair_etaminneg_(pset.getParameter<double>("Pair_etaminneg")),
46  pair_etamaxneg_(pset.getParameter<double>("Pair_etamaxneg")),
47  variable_CosThetaCS_xmin_(pset.getParameter<double>("Variable_CosThetaCS_xmin")),
48  variable_CosThetaCS_xmax_(pset.getParameter<double>("Variable_CosThetaCS_xmax")),
49  variable_CosThetaCS_nbins_(pset.getParameter<int>("Variable_CosThetaCS_nbins")),
50  variable_DeltaEta_xmin_(pset.getParameter<double>("Variable_DeltaEta_xmin")),
51  variable_DeltaEta_xmax_(pset.getParameter<double>("Variable_DeltaEta_xmax")),
52  variable_DeltaEta_nbins_(pset.getParameter<int>("Variable_DeltaEta_nbins")),
53  variable_EtaMinus_xmin_(pset.getParameter<double>("Variable_EtaMinus_xmin")),
54  variable_EtaMinus_xmax_(pset.getParameter<double>("Variable_EtaMinus_xmax")),
55  variable_EtaMinus_nbins_(pset.getParameter<int>("Variable_EtaMinus_nbins")),
56  variable_EtaPlus_xmin_(pset.getParameter<double>("Variable_EtaPlus_xmin")),
57  variable_EtaPlus_xmax_(pset.getParameter<double>("Variable_EtaPlus_xmax")),
58  variable_EtaPlus_nbins_(pset.getParameter<int>("Variable_EtaPlus_nbins")),
59  variable_PhiCS_xmin_(pset.getParameter<double>("Variable_PhiCS_xmin")),
60  variable_PhiCS_xmax_(pset.getParameter<double>("Variable_PhiCS_xmax")),
61  variable_PhiCS_nbins_(pset.getParameter<int>("Variable_PhiCS_nbins")),
62  variable_PhiMinus_xmin_(pset.getParameter<double>("Variable_PhiMinus_xmin")),
63  variable_PhiMinus_xmax_(pset.getParameter<double>("Variable_PhiMinus_xmax")),
64  variable_PhiMinus_nbins_(pset.getParameter<int>("Variable_PhiMinus_nbins")),
65  variable_PhiPlus_xmin_(pset.getParameter<double>("Variable_PhiPlus_xmin")),
66  variable_PhiPlus_xmax_(pset.getParameter<double>("Variable_PhiPlus_xmax")),
67  variable_PhiPlus_nbins_(pset.getParameter<int>("Variable_PhiPlus_nbins")),
68  variable_PairPt_xmin_(pset.getParameter<double>("Variable_PairPt_xmin")),
69  variable_PairPt_xmax_(pset.getParameter<double>("Variable_PairPt_xmax")),
70  variable_PairPt_nbins_(pset.getParameter<int>("Variable_PairPt_nbins")) {
71  usesResource(TFileService::kSharedResource);
72  theTrackCollectionToken_ = consumes<reco::TrackCollection>(TkTag_);
73 
82 
91 
100  }
static const std::string kSharedResource
Definition: TFileService.h:76
int variables_bins_number_[varNumber_]
double variable_CosThetaCS_xmax_
double variables_min_[varNumber_]
double variable_CosThetaCS_xmin_
double variables_max_[varNumber_]
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionToken_

◆ ~DiMuonValidation()

DiMuonValidation::~DiMuonValidation ( )
overridedefault

Member Function Documentation

◆ analyze()

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

Implements edm::one::EDAnalyzerBase.

Definition at line 172 of file DiMuonValidation.cc.

References HLT_2022v15_cff::delta_eta, eBeam_, iEvent, mu_mass2_, BPhysicsValidation_cfi::muminus, BPhysicsValidation_cfi::muplus, pair_etamaxneg_, pair_etamaxpos_, pair_etaminneg_, pair_mass_max_, pair_mass_min_, funct::pow(), dttmaxenums::R, mathSSE::sqrt(), std::swap(), th2d_mass_variables_, and theTrackCollectionToken_.

172  {
173  using namespace edm;
174 
176 
177  DiMuonValid::LV LV_mother(0., 0., 0., 0.);
178  //for (reco::TrackCollection::const_iterator track1 = tC.begin(); track1 != tC.end(); track1++) {
179  for (const auto& track1 : tC) {
180  DiMuonValid::LV LV_track1(track1.px(),
181  track1.py(),
182  track1.pz(),
183  sqrt((track1.p() * track1.p()) + mu_mass2_)); //old 106
184 
185  for (const auto& track2 : tC) {
186  if (&track1 == &track2) {
187  continue;
188  } // discard the same track
189 
190  if (track1.charge() == track2.charge()) {
191  continue;
192  } // only reconstruct opposite charge pair
193 
194  DiMuonValid::LV LV_track2(track2.px(), track2.py(), track2.pz(), sqrt((track2.p() * track2.p()) + mu_mass2_));
195 
196  LV_mother = LV_track1 + LV_track2;
197  double mother_mass = LV_mother.M();
198  double mother_pt = LV_mother.Pt();
199 
200  int charge1 = track1.charge();
201  double etaMu1 = track1.eta();
202  double phiMu1 = track1.phi();
203  double ptMu1 = track1.pt();
204 
205  int charge2 = track2.charge();
206  double etaMu2 = track2.eta();
207  double phiMu2 = track2.phi();
208  double ptMu2 = track2.pt();
209 
210  if (charge1 < 0) { // use Mu+ for charge1, Mu- for charge2
211  std::swap(charge1, charge2);
212  std::swap(etaMu1, etaMu2);
213  std::swap(phiMu1, phiMu2);
214  std::swap(ptMu1, ptMu2);
215  }
216  //eta cut
217  if (etaMu1 < pair_etaminpos_ || etaMu1 > pair_etamaxpos_ || etaMu2 < pair_etaminneg_ ||
218  etaMu2 > pair_etamaxneg_) {
219  continue;
220  }
221 
222  double delta_eta = etaMu1 - etaMu2;
223 
224  double muplus = 1.0 / sqrt(2.0) * (LV_track1.E() + LV_track1.Z());
225  double muminus = 1.0 / sqrt(2.0) * (LV_track1.E() - LV_track1.Z());
226  double mubarplus = 1.0 / sqrt(2.0) * (LV_track2.E() + LV_track2.Z());
227  double mubarminus = 1.0 / sqrt(2.0) * (LV_track2.E() - LV_track2.Z());
228  //double costheta = 2.0 / Q.mag() / sqrt(pow(Q.mag(), 2) + pow(Q.Pt(), 2)) * (muplus * mubarminus - muminus * mubarplus);
229  double costhetaCS = 2.0 / LV_mother.mag() / sqrt(pow(LV_mother.mag(), 2) + pow(LV_mother.Pt(), 2)) *
230  (muplus * mubarminus - muminus * mubarplus);
231 
232  DiMuonValid::LV Pbeam(0., 0., eBeam_, eBeam_);
233  auto R = Pbeam.Vect().Cross(LV_mother.Vect());
234  auto Runit = R.Unit();
235  auto Qt = LV_mother.Vect();
236  Qt.SetZ(0);
237  auto Qtunit = Qt.Unit();
238  DiMuonValid::LV D(LV_track1 - LV_track2);
239  auto Dt = D.Vect();
240  Dt.SetZ(0);
241  double tanphi =
242  sqrt(pow(LV_mother.mag(), 2) + pow(LV_mother.Pt(), 2)) / LV_mother.mag() * Dt.Dot(Runit) / Dt.Dot(Qtunit);
243  double phiCS = atan(tanphi);
244 
245  if (mother_mass > pair_mass_min_ && mother_mass < pair_mass_max_) {
246  th2d_mass_variables_[0]->Fill(mother_mass, costhetaCS, 1);
247  th2d_mass_variables_[1]->Fill(mother_mass, delta_eta, 1);
248  th2d_mass_variables_[2]->Fill(mother_mass, etaMu2, 1);
249  th2d_mass_variables_[3]->Fill(mother_mass, etaMu1, 1);
250  th2d_mass_variables_[4]->Fill(mother_mass, phiCS, 1);
251  th2d_mass_variables_[5]->Fill(mother_mass, phiMu2, 1);
252  th2d_mass_variables_[6]->Fill(mother_mass, phiMu1, 1);
253  th2d_mass_variables_[7]->Fill(mother_mass, mother_pt, 1);
254  }
255  }
256  }
257 }
static constexpr double mu_mass2_
TH2D * th2d_mass_variables_[varNumber_]
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
int iEvent
Definition: GenABIO.cc:224
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
T sqrt(T t)
Definition: SSEVec.h:19
DecomposeProduct< arg, typename Div::arg > D
Definition: Factorize.h:141
HLT enums.
reco::Particle::LorentzVector LV
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionToken_
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ beginJob()

void DiMuonValidation::beginJob ( )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 260 of file DiMuonValidation.cc.

References compressionSettings_, compareTotals::fs, mps_fire::i, pair_mass_max_, pair_mass_min_, pair_mass_nbins_, AlCaHLTBitMon_QueryRunRegistry::string, th2d_mass_variables_, variables_bins_number_, variables_max_, variables_min_, variables_name_, and varNumber_.

260  {
262  if (compressionSettings_ > 0) {
263  fs->file().SetCompressionSettings(compressionSettings_);
264  }
265 
266  for (int i = 0; i < varNumber_; i++) {
267  std::string th2d_name = fmt::sprintf("th2d_mass_%s", variables_name_[i].c_str());
268  th2d_mass_variables_[i] = fs->make<TH2D>(th2d_name.c_str(),
269  th2d_name.c_str(),
274  variables_min_[i],
275  variables_max_[i]);
276  }
277 }
int variables_bins_number_[varNumber_]
TH2D * th2d_mass_variables_[varNumber_]
double variables_min_[varNumber_]
std::string variables_name_[varNumber_]
double variables_max_[varNumber_]
static constexpr int varNumber_

◆ fillDescriptions()

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

Definition at line 280 of file DiMuonValidation.cc.

References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, M_PI, and AlCaHLTBitMon_QueryRunRegistry::string.

280  {
282  desc.setComment("Validates alignment payloads by evaluating bias in Z->mm mass distributions");
283  desc.addUntracked<int>("compressionSettings", -1);
284 
285  desc.add<double>("eBeam", 3500.)->setComment("beam energy in GeV");
286  desc.add<std::string>("TkTag", "ALCARECOTkAlZMuMu");
287 
288  desc.add<double>("Pair_mass_min", 60);
289  desc.add<double>("Pair_mass_max", 120);
290  desc.add<int>("Pair_mass_nbins", 120);
291  desc.add<double>("Pair_etaminpos", 60);
292  desc.add<double>("Pair_etamaxpos", 60);
293  desc.add<double>("Pair_etaminneg", 60);
294  desc.add<double>("Pair_etamaxneg", 60);
295 
296  desc.add<double>("Variable_CosThetaCS_xmin", -1.);
297  desc.add<double>("Variable_CosThetaCS_xmax", 1.);
298  desc.add<int>("Variable_CosThetaCS_nbins", 20);
299 
300  desc.add<double>("Variable_DeltaEta_xmin", -4.8);
301  desc.add<double>("Variable_DeltaEta_xmax", 4.8);
302  desc.add<int>("Variable_DeltaEta_nbins", 20);
303 
304  desc.add<double>("Variable_EtaMinus_xmin", -2.4);
305  desc.add<double>("Variable_EtaMinus_xmax", 2.4);
306  desc.add<int>("Variable_EtaMinus_nbins", 12);
307 
308  desc.add<double>("Variable_EtaPlus_xmin", -2.4);
309  desc.add<double>("Variable_EtaPlus_xmax", 2.4);
310  desc.add<int>("Variable_EtaPlus_nbins", 12);
311 
312  desc.add<double>("Variable_PhiCS_xmin", -M_PI / 2);
313  desc.add<double>("Variable_PhiCS_xmax", M_PI / 2);
314  desc.add<int>("Variable_PhiCS_nbins", 20);
315 
316  desc.add<double>("Variable_PhiMinus_xmin", -M_PI);
317  desc.add<double>("Variable_PhiMinus_xmax", M_PI);
318  desc.add<int>("Variable_PhiMinus_nbins", 16);
319 
320  desc.add<double>("Variable_PhiPlus_xmin", -M_PI);
321  desc.add<double>("Variable_PhiPlus_xmax", M_PI);
322  desc.add<int>("Variable_PhiPlus_nbins", 16);
323 
324  desc.add<double>("Variable_PairPt_xmin", 0.);
325  desc.add<double>("Variable_PairPt_xmax", 100.);
326  desc.add<int>("Variable_PairPt_nbins", 100);
327 
328  descriptions.addWithDefaultLabel(desc);
329 }
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
#define M_PI

Member Data Documentation

◆ compressionSettings_

int DiMuonValidation::compressionSettings_
private

Definition at line 114 of file DiMuonValidation.cc.

Referenced by beginJob().

◆ eBeam_

float DiMuonValidation::eBeam_
private

Definition at line 113 of file DiMuonValidation.cc.

Referenced by analyze().

◆ mu_mass2_

constexpr double DiMuonValidation::mu_mass2_ = 0.105658 * 0.105658
static

Definition at line 106 of file DiMuonValidation.cc.

Referenced by analyze().

◆ pair_etamaxneg_

double DiMuonValidation::pair_etamaxneg_
private

Definition at line 123 of file DiMuonValidation.cc.

Referenced by analyze().

◆ pair_etamaxpos_

double DiMuonValidation::pair_etamaxpos_
private

Definition at line 121 of file DiMuonValidation.cc.

Referenced by analyze().

◆ pair_etaminneg_

double DiMuonValidation::pair_etaminneg_
private

Definition at line 122 of file DiMuonValidation.cc.

Referenced by analyze().

◆ pair_etaminpos_

double DiMuonValidation::pair_etaminpos_
private

Definition at line 120 of file DiMuonValidation.cc.

◆ pair_mass_max_

double DiMuonValidation::pair_mass_max_
private

Definition at line 118 of file DiMuonValidation.cc.

Referenced by analyze(), and beginJob().

◆ pair_mass_min_

double DiMuonValidation::pair_mass_min_
private

Definition at line 117 of file DiMuonValidation.cc.

Referenced by analyze(), and beginJob().

◆ pair_mass_nbins_

int DiMuonValidation::pair_mass_nbins_
private

Definition at line 119 of file DiMuonValidation.cc.

Referenced by beginJob().

◆ th2d_mass_variables_

TH2D* DiMuonValidation::th2d_mass_variables_[varNumber_]
private

Definition at line 158 of file DiMuonValidation.cc.

Referenced by analyze(), and beginJob().

◆ theTrackCollectionToken_

edm::EDGetTokenT<reco::TrackCollection> DiMuonValidation::theTrackCollectionToken_
private

Definition at line 157 of file DiMuonValidation.cc.

Referenced by analyze(), and DiMuonValidation().

◆ TkTag_

std::string DiMuonValidation::TkTag_
private

Definition at line 115 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_CosThetaCS_nbins_

int DiMuonValidation::variable_CosThetaCS_nbins_
private

Definition at line 127 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_CosThetaCS_xmax_

double DiMuonValidation::variable_CosThetaCS_xmax_
private

Definition at line 126 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_CosThetaCS_xmin_

double DiMuonValidation::variable_CosThetaCS_xmin_
private

Definition at line 125 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_DeltaEta_nbins_

int DiMuonValidation::variable_DeltaEta_nbins_
private

Definition at line 131 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_DeltaEta_xmax_

double DiMuonValidation::variable_DeltaEta_xmax_
private

Definition at line 130 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_DeltaEta_xmin_

double DiMuonValidation::variable_DeltaEta_xmin_
private

Definition at line 129 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_EtaMinus_nbins_

int DiMuonValidation::variable_EtaMinus_nbins_
private

Definition at line 135 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_EtaMinus_xmax_

double DiMuonValidation::variable_EtaMinus_xmax_
private

Definition at line 134 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_EtaMinus_xmin_

double DiMuonValidation::variable_EtaMinus_xmin_
private

Definition at line 133 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_EtaPlus_nbins_

int DiMuonValidation::variable_EtaPlus_nbins_
private

Definition at line 139 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_EtaPlus_xmax_

double DiMuonValidation::variable_EtaPlus_xmax_
private

Definition at line 138 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_EtaPlus_xmin_

double DiMuonValidation::variable_EtaPlus_xmin_
private

Definition at line 137 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PairPt_nbins_

int DiMuonValidation::variable_PairPt_nbins_
private

Definition at line 155 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PairPt_xmax_

double DiMuonValidation::variable_PairPt_xmax_
private

Definition at line 154 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PairPt_xmin_

double DiMuonValidation::variable_PairPt_xmin_
private

Definition at line 153 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PhiCS_nbins_

int DiMuonValidation::variable_PhiCS_nbins_
private

Definition at line 143 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PhiCS_xmax_

double DiMuonValidation::variable_PhiCS_xmax_
private

Definition at line 142 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PhiCS_xmin_

double DiMuonValidation::variable_PhiCS_xmin_
private

Definition at line 141 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PhiMinus_nbins_

int DiMuonValidation::variable_PhiMinus_nbins_
private

Definition at line 147 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PhiMinus_xmax_

double DiMuonValidation::variable_PhiMinus_xmax_
private

Definition at line 146 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PhiMinus_xmin_

double DiMuonValidation::variable_PhiMinus_xmin_
private

Definition at line 145 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PhiPlus_nbins_

int DiMuonValidation::variable_PhiPlus_nbins_
private

Definition at line 151 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PhiPlus_xmax_

double DiMuonValidation::variable_PhiPlus_xmax_
private

Definition at line 150 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variable_PhiPlus_xmin_

double DiMuonValidation::variable_PhiPlus_xmin_
private

Definition at line 149 of file DiMuonValidation.cc.

Referenced by DiMuonValidation().

◆ variables_bins_number_

int DiMuonValidation::variables_bins_number_[varNumber_]
private

Definition at line 162 of file DiMuonValidation.cc.

Referenced by beginJob(), and DiMuonValidation().

◆ variables_max_

double DiMuonValidation::variables_max_[varNumber_]
private

Definition at line 164 of file DiMuonValidation.cc.

Referenced by beginJob(), and DiMuonValidation().

◆ variables_min_

double DiMuonValidation::variables_min_[varNumber_]
private

Definition at line 163 of file DiMuonValidation.cc.

Referenced by beginJob(), and DiMuonValidation().

◆ variables_name_

std::string DiMuonValidation::variables_name_[varNumber_]
private
Initial value:
= {
"CosThetaCS", "DeltaEta", "EtaMinus", "EtaPlus", "PhiCS", "PhiMinus", "PhiPlus", "Pt"}

Definition at line 159 of file DiMuonValidation.cc.

Referenced by beginJob().

◆ varNumber_

constexpr int DiMuonValidation::varNumber_ = 8
static

Definition at line 105 of file DiMuonValidation.cc.

Referenced by beginJob().