CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Attributes
dEdxHitAnalyzer Class Reference

#include <dEdxHitAnalyzer.h>

Inheritance diagram for dEdxHitAnalyzer:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Classes

struct  dEdxMEs
 

Public Member Functions

void analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 dEdxHitAnalyzer (const edm::ParameterSet &)
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &) override
 
double harmonic2 (const reco::DeDxHitInfo *dedxHits)
 
 ~dEdxHitAnalyzer () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 

Private Attributes

std::vector< std::string > AlgoNames
 
edm::ParameterSet conf_
 
int dEdxHarm2Bin
 
double dEdxHarm2Max
 
double dEdxHarm2Min
 
std::vector< std::string > dEdxInputList_
 
std::vector< dEdxMEsdEdxMEsVector
 
int dEdxNHitBin
 
double dEdxNHitMax
 
double dEdxNHitMin
 
int dEdxPixelBin
 
double dEdxPixelMax
 
double dEdxPixelMin
 
int dEdxStripBin
 
double dEdxStripMax
 
double dEdxStripMin
 
std::vector< edm::EDGetTokenT< reco::DeDxHitInfoAss > > dEdxTokenList_
 
bool doAllPlots_
 
bool doDeDxPlots_
 
edm::ParameterSet fullconf_
 
GenericTriggerEventFlaggenTriggerEventFlag_
 
std::string histname
 
std::string MEFolderName
 
edm::InputTag trackInputTag_
 
std::string TrackName
 
edm::EDGetTokenT< reco::TrackCollectiontrackToken_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Monitoring source for general quantities related to track dEdx.

Definition at line 34 of file dEdxHitAnalyzer.h.

Constructor & Destructor Documentation

◆ dEdxHitAnalyzer()

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

Definition at line 22 of file dEdxHitAnalyzer.cc.

23  : fullconf_(iConfig),
24  conf_(fullconf_.getParameter<edm::ParameterSet>("dEdxParameters")),
25  doAllPlots_(conf_.getParameter<bool>("doAllPlots")),
26  doDeDxPlots_(conf_.getParameter<bool>("doDeDxPlots")),
28  conf_.getParameter<edm::ParameterSet>("genericTriggerEventPSet"), consumesCollector(), *this)) {
30  trackToken_ = consumes<reco::TrackCollection>(trackInputTag_);
31 
32  dEdxInputList_ = conf_.getParameter<std::vector<std::string> >("deDxHitProducers");
33  for (auto const& tag : dEdxInputList_) {
34  dEdxTokenList_.push_back(consumes<reco::DeDxHitInfoAss>(edm::InputTag(tag)));
35  }
36 
37  // parameters from the configuration
38  MEFolderName = conf_.getParameter<std::string>("FolderName");
39 
40  dEdxNHitBin = conf_.getParameter<int>("dEdxNHitBin");
41  dEdxNHitMin = conf_.getParameter<double>("dEdxNHitMin");
42  dEdxNHitMax = conf_.getParameter<double>("dEdxNHitMax");
43 
44  dEdxStripBin = conf_.getParameter<int>("dEdxStripBin");
45  dEdxStripMin = conf_.getParameter<double>("dEdxStripMin");
46  dEdxStripMax = conf_.getParameter<double>("dEdxStripMax");
47 
48  dEdxPixelBin = conf_.getParameter<int>("dEdxPixelBin");
49  dEdxPixelMin = conf_.getParameter<double>("dEdxPixelMin");
50  dEdxPixelMax = conf_.getParameter<double>("dEdxPixelMax");
51 
52  dEdxHarm2Bin = conf_.getParameter<int>("dEdxHarm2Bin");
53  dEdxHarm2Min = conf_.getParameter<double>("dEdxHarm2Min");
54  dEdxHarm2Max = conf_.getParameter<double>("dEdxHarm2Max");
55 }

References conf_, dEdxHarm2Bin, dEdxHarm2Max, dEdxHarm2Min, dEdxInputList_, dEdxNHitBin, dEdxNHitMax, dEdxNHitMin, dEdxPixelBin, dEdxPixelMax, dEdxPixelMin, dEdxStripBin, dEdxStripMax, dEdxStripMin, dEdxTokenList_, edm::ParameterSet::getParameter(), HLT_2018_cff::InputTag, MEFolderName, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, trackInputTag_, and trackToken_.

◆ ~dEdxHitAnalyzer()

dEdxHitAnalyzer::~dEdxHitAnalyzer ( )
override

Definition at line 57 of file dEdxHitAnalyzer.cc.

57  {
59  delete genTriggerEventFlag_;
60 }

References genTriggerEventFlag_.

Member Function Documentation

◆ analyze()

void dEdxHitAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 128 of file dEdxHitAnalyzer.cc.

128  {
129  // Filter out events if Trigger Filtering is requested
131  return;
132 
133  if (doDeDxPlots_ || doAllPlots_) {
134  edm::Handle<reco::TrackCollection> trackCollectionHandle;
135  iEvent.getByToken(trackToken_, trackCollectionHandle);
136  if (!trackCollectionHandle.isValid())
137  return;
138 
139  for (unsigned int i = 0; i < dEdxInputList_.size(); i++) {
140  edm::Handle<reco::DeDxHitInfoAss> dEdxObjectHandle;
141  iEvent.getByToken(dEdxTokenList_[i], dEdxObjectHandle);
142  if (!dEdxObjectHandle.isValid())
143  continue;
144 
145  for (unsigned int t = 0; t < trackCollectionHandle->size(); t++) {
146  reco::TrackRef track = reco::TrackRef(trackCollectionHandle, t);
147 
148  if (track->quality(reco::TrackBase::highPurity)) {
149  const reco::DeDxHitInfo* dedxHits = nullptr;
150  if (!track.isNull()) {
151  reco::DeDxHitInfoRef dedxHitsRef = (*dEdxObjectHandle)[track];
152  if (!dedxHitsRef.isNull())
153  dedxHits = &(*dedxHitsRef);
154  }
155  if (!dedxHits)
156  continue;
157 
158  for (unsigned int h = 0; h < dedxHits->size(); h++) {
159  DetId detid(dedxHits->detId(h));
160  if (detid.subdetId() >= 3)
161  dEdxMEsVector[i].ME_StripHitDeDx->Fill(dedxHits->charge(h));
162  if (detid.subdetId() < 3)
163  dEdxMEsVector[i].ME_PixelHitDeDx->Fill(dedxHits->charge(h));
164  }
165  dEdxMEsVector[i].ME_NHitDeDx->Fill(dedxHits->size());
166  dEdxMEsVector[i].ME_Harm2DeDx->Fill(harmonic2(dedxHits));
167  }
168  }
169  }
170  }
171 }

References GenericTriggerEventFlag::accept(), reco::DeDxHitInfo::charge(), dEdxInputList_, dEdxMEsVector, dEdxTokenList_, reco::DeDxHitInfo::detId(), doAllPlots_, doDeDxPlots_, genTriggerEventFlag_, harmonic2(), reco::TrackBase::highPurity, mps_fire::i, iEvent, edm::Ref< C, T, F >::isNull(), edm::HandleBase::isValid(), GenericTriggerEventFlag::on(), reco::DeDxHitInfo::size(), OrderedSet::t, HLT_2018_cff::track, and trackToken_.

◆ bookHistograms()

void dEdxHitAnalyzer::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 70 of file dEdxHitAnalyzer.cc.

70  {
71  ibooker.setCurrentFolder(MEFolderName);
72 
73  // book the Hit Property histograms
74  // ---------------------------------------------------------------------------------//
75 
76  if (doDeDxPlots_ || doAllPlots_) {
77  for (unsigned int i = 0; i < dEdxInputList_.size(); i++) {
78  ibooker.setCurrentFolder(MEFolderName + "/" + dEdxInputList_[i]);
79  dEdxMEsVector.push_back(dEdxMEs());
80 
81  histname = "Strip_dEdxPerCluster_";
82  dEdxMEsVector[i].ME_StripHitDeDx = ibooker.book1D(histname, histname, dEdxStripBin, dEdxStripMin, dEdxStripMax);
83  dEdxMEsVector[i].ME_StripHitDeDx->setAxisTitle("dEdx of on-track strip cluster (ADC)");
84  dEdxMEsVector[i].ME_StripHitDeDx->setAxisTitle("Number of Strip clusters", 2);
85 
86  histname = "Pixel_dEdxPerCluster_";
87  dEdxMEsVector[i].ME_PixelHitDeDx = ibooker.book1D(histname, histname, dEdxPixelBin, dEdxPixelMin, dEdxPixelMax);
88  dEdxMEsVector[i].ME_PixelHitDeDx->setAxisTitle("dEdx of on-track pixel cluster (ADC)");
89  dEdxMEsVector[i].ME_PixelHitDeDx->setAxisTitle("Number of Pixel clusters", 2);
90 
91  histname = "NumberOfdEdxHitsPerTrack_";
92  dEdxMEsVector[i].ME_NHitDeDx = ibooker.book1D(histname, histname, dEdxNHitBin, dEdxNHitMin, dEdxNHitMax);
93  dEdxMEsVector[i].ME_NHitDeDx->setAxisTitle("Number of dEdxHits per Track");
94  dEdxMEsVector[i].ME_NHitDeDx->setAxisTitle("Number of Tracks", 2);
95 
96  histname = "Harm2_dEdxPerTrack_";
97  dEdxMEsVector[i].ME_Harm2DeDx = ibooker.book1D(histname, histname, dEdxHarm2Bin, dEdxHarm2Min, dEdxHarm2Max);
98  dEdxMEsVector[i].ME_Harm2DeDx->setAxisTitle("Harmonic2 dEdx estimator for each Track");
99  dEdxMEsVector[i].ME_Harm2DeDx->setAxisTitle("Number of Tracks", 2);
100  }
101  }
102 }

References dqm::implementation::IBooker::book1D(), dEdxHarm2Bin, dEdxHarm2Max, dEdxHarm2Min, dEdxInputList_, dEdxMEsVector, dEdxNHitBin, dEdxNHitMax, dEdxNHitMin, dEdxPixelBin, dEdxPixelMax, dEdxPixelMin, dEdxStripBin, dEdxStripMax, dEdxStripMin, doAllPlots_, doDeDxPlots_, histname, mps_fire::i, MEFolderName, and dqm::implementation::NavigatorBase::setCurrentFolder().

◆ dqmBeginRun()

void dEdxHitAnalyzer::dqmBeginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 64 of file dEdxHitAnalyzer.cc.

64  {
65  // Initialize the GenericTriggerEventFlag
66  if (genTriggerEventFlag_->on())
67  genTriggerEventFlag_->initRun(iRun, iSetup);
68 }

References genTriggerEventFlag_, GenericTriggerEventFlag::initRun(), and GenericTriggerEventFlag::on().

◆ fillDescriptions()

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

Definition at line 174 of file dEdxHitAnalyzer.cc.

174  {
175  //The following says we do not know what parameters are allowed so do no validation
176  // Please change this to state exactly what you do use, even if it is no parameters
178  desc.setUnknown();
179  descriptions.addDefault(desc);
180 }

References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().

◆ harmonic2()

double dEdxHitAnalyzer::harmonic2 ( const reco::DeDxHitInfo dedxHits)

Definition at line 104 of file dEdxHitAnalyzer.cc.

104  {
105  if (!dedxHits)
106  return -1;
107  std::vector<double> vect;
108  for (unsigned int h = 0; h < dedxHits->size(); h++) {
109  DetId detid(dedxHits->detId(h));
110  double Norm = (detid.subdetId() < 3) ? 3.61e-06 : 3.61e-06 * 265;
111  double ChargeOverPathlength = Norm * dedxHits->charge(h) / dedxHits->pathlength(h);
112  vect.push_back(ChargeOverPathlength); //save charge
113  }
114 
115  int size = vect.size();
116  if (size <= 0)
117  return -1;
118  double result = 0;
119  double expo = -2;
120  for (int i = 0; i < size; i++) {
121  result += pow(vect[i], expo);
122  }
123  return pow(result / size, 1. / expo);
124 }

References reco::DeDxHitInfo::charge(), reco::DeDxHitInfo::detId(), MillePedeFileConverter_cfg::e, mps_fire::i, reco::DeDxHitInfo::pathlength(), funct::pow(), mps_fire::result, reco::DeDxHitInfo::size(), and findQualityFiles::size.

Referenced by analyze().

Member Data Documentation

◆ AlgoNames

std::vector<std::string> dEdxHitAnalyzer::AlgoNames
private

Definition at line 70 of file dEdxHitAnalyzer.h.

◆ conf_

edm::ParameterSet dEdxHitAnalyzer::conf_
private

Definition at line 49 of file dEdxHitAnalyzer.h.

Referenced by dEdxHitAnalyzer().

◆ dEdxHarm2Bin

int dEdxHitAnalyzer::dEdxHarm2Bin
private

Definition at line 90 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxHarm2Max

double dEdxHitAnalyzer::dEdxHarm2Max
private

Definition at line 92 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxHarm2Min

double dEdxHitAnalyzer::dEdxHarm2Min
private

Definition at line 91 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxInputList_

std::vector<std::string> dEdxHitAnalyzer::dEdxInputList_
private

Definition at line 66 of file dEdxHitAnalyzer.h.

Referenced by analyze(), bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxMEsVector

std::vector<dEdxMEs> dEdxHitAnalyzer::dEdxMEsVector
private

Definition at line 71 of file dEdxHitAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ dEdxNHitBin

int dEdxHitAnalyzer::dEdxNHitBin
private

Definition at line 78 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxNHitMax

double dEdxHitAnalyzer::dEdxNHitMax
private

Definition at line 80 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxNHitMin

double dEdxHitAnalyzer::dEdxNHitMin
private

Definition at line 79 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxPixelBin

int dEdxHitAnalyzer::dEdxPixelBin
private

Definition at line 86 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxPixelMax

double dEdxHitAnalyzer::dEdxPixelMax
private

Definition at line 88 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxPixelMin

double dEdxHitAnalyzer::dEdxPixelMin
private

Definition at line 87 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxStripBin

int dEdxHitAnalyzer::dEdxStripBin
private

Definition at line 82 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxStripMax

double dEdxHitAnalyzer::dEdxStripMax
private

Definition at line 84 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxStripMin

double dEdxHitAnalyzer::dEdxStripMin
private

Definition at line 83 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ dEdxTokenList_

std::vector<edm::EDGetTokenT<reco::DeDxHitInfoAss> > dEdxHitAnalyzer::dEdxTokenList_
private

Definition at line 67 of file dEdxHitAnalyzer.h.

Referenced by analyze(), and dEdxHitAnalyzer().

◆ doAllPlots_

bool dEdxHitAnalyzer::doAllPlots_
private

Definition at line 51 of file dEdxHitAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ doDeDxPlots_

bool dEdxHitAnalyzer::doDeDxPlots_
private

Definition at line 52 of file dEdxHitAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ fullconf_

edm::ParameterSet dEdxHitAnalyzer::fullconf_
private

Definition at line 48 of file dEdxHitAnalyzer.h.

◆ genTriggerEventFlag_

GenericTriggerEventFlag* dEdxHitAnalyzer::genTriggerEventFlag_
private

Definition at line 74 of file dEdxHitAnalyzer.h.

Referenced by analyze(), dqmBeginRun(), and ~dEdxHitAnalyzer().

◆ histname

std::string dEdxHitAnalyzer::histname
private

Definition at line 72 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms().

◆ MEFolderName

std::string dEdxHitAnalyzer::MEFolderName
private

Definition at line 76 of file dEdxHitAnalyzer.h.

Referenced by bookHistograms(), and dEdxHitAnalyzer().

◆ trackInputTag_

edm::InputTag dEdxHitAnalyzer::trackInputTag_
private

Definition at line 63 of file dEdxHitAnalyzer.h.

Referenced by dEdxHitAnalyzer().

◆ TrackName

std::string dEdxHitAnalyzer::TrackName
private

Definition at line 69 of file dEdxHitAnalyzer.h.

◆ trackToken_

edm::EDGetTokenT<reco::TrackCollection> dEdxHitAnalyzer::trackToken_
private

Definition at line 64 of file dEdxHitAnalyzer.h.

Referenced by analyze(), and dEdxHitAnalyzer().

reco::DeDxHitInfo::detId
DetId detId(size_t i) const
Definition: DeDxHitInfo.h:44
mps_fire.i
i
Definition: mps_fire.py:355
dEdxHitAnalyzer::dEdxMEsVector
std::vector< dEdxMEs > dEdxMEsVector
Definition: dEdxHitAnalyzer.h:71
dEdxHitAnalyzer::dEdxPixelBin
int dEdxPixelBin
Definition: dEdxHitAnalyzer.h:86
dEdxHitAnalyzer::dEdxStripBin
int dEdxStripBin
Definition: dEdxHitAnalyzer.h:82
edm::Ref::isNull
bool isNull() const
Checks for null.
Definition: Ref.h:235
dEdxHitAnalyzer::dEdxInputList_
std::vector< std::string > dEdxInputList_
Definition: dEdxHitAnalyzer.h:66
dEdxHitAnalyzer::dEdxStripMax
double dEdxStripMax
Definition: dEdxHitAnalyzer.h:84
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
dEdxHitAnalyzer::conf_
edm::ParameterSet conf_
Definition: dEdxHitAnalyzer.h:49
dEdxHitAnalyzer::dEdxPixelMax
double dEdxPixelMax
Definition: dEdxHitAnalyzer.h:88
dEdxHitAnalyzer::dEdxHarm2Min
double dEdxHarm2Min
Definition: dEdxHitAnalyzer.h:91
dEdxHitAnalyzer::doDeDxPlots_
bool doDeDxPlots_
Definition: dEdxHitAnalyzer.h:52
dEdxHitAnalyzer::dEdxNHitMax
double dEdxNHitMax
Definition: dEdxHitAnalyzer.h:80
edm::Handle< reco::TrackCollection >
reco::DeDxHitInfo::charge
float charge(size_t i) const
Definition: DeDxHitInfo.h:42
edm::Ref< TrackCollection >
DetId
Definition: DetId.h:17
reco::DeDxHitInfo::pathlength
float pathlength(size_t i) const
Definition: DeDxHitInfo.h:43
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
dEdxHitAnalyzer::dEdxTokenList_
std::vector< edm::EDGetTokenT< reco::DeDxHitInfoAss > > dEdxTokenList_
Definition: dEdxHitAnalyzer.h:67
dEdxHitAnalyzer::dEdxHarm2Max
double dEdxHarm2Max
Definition: dEdxHitAnalyzer.h:92
h
OrderedSet.t
t
Definition: OrderedSet.py:90
reco::TrackRef
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
Definition: TrackFwd.h:20
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
reco::DeDxHitInfo
Definition: DeDxHitInfo.h:14
GenericTriggerEventFlag::accept
bool accept(const edm::Event &event, const edm::EventSetup &setup)
To be called from analyze/filter() methods.
Definition: GenericTriggerEventFlag.cc:264
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
GenericTriggerEventFlag
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
Definition: GenericTriggerEventFlag.h:42
iEvent
int iEvent
Definition: GenABIO.cc:224
dEdxHitAnalyzer::fullconf_
edm::ParameterSet fullconf_
Definition: dEdxHitAnalyzer.h:48
edm::ParameterSetDescription::setUnknown
void setUnknown()
Definition: ParameterSetDescription.cc:39
dEdxHitAnalyzer::dEdxStripMin
double dEdxStripMin
Definition: dEdxHitAnalyzer.h:83
reco::DeDxHitInfo::size
size_t size() const
Definition: DeDxHitInfo.h:41
dEdxHitAnalyzer::harmonic2
double harmonic2(const reco::DeDxHitInfo *dedxHits)
Definition: dEdxHitAnalyzer.cc:104
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
dEdxHitAnalyzer::trackToken_
edm::EDGetTokenT< reco::TrackCollection > trackToken_
Definition: dEdxHitAnalyzer.h:64
GenericTriggerEventFlag::on
bool on()
Definition: GenericTriggerEventFlag.h:135
dEdxHitAnalyzer::trackInputTag_
edm::InputTag trackInputTag_
Definition: dEdxHitAnalyzer.h:63
dEdxHitAnalyzer::dEdxNHitBin
int dEdxNHitBin
Definition: dEdxHitAnalyzer.h:78
dEdxHitAnalyzer::histname
std::string histname
Definition: dEdxHitAnalyzer.h:72
GenericTriggerEventFlag::initRun
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
Definition: GenericTriggerEventFlag.cc:151
dEdxHitAnalyzer::dEdxPixelMin
double dEdxPixelMin
Definition: dEdxHitAnalyzer.h:87
dEdxHitAnalyzer::genTriggerEventFlag_
GenericTriggerEventFlag * genTriggerEventFlag_
Definition: dEdxHitAnalyzer.h:74
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:30
mps_fire.result
result
Definition: mps_fire.py:303
dEdxHitAnalyzer::MEFolderName
std::string MEFolderName
Definition: dEdxHitAnalyzer.h:76
dEdxHitAnalyzer::doAllPlots_
bool doAllPlots_
Definition: dEdxHitAnalyzer.h:51
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
dEdxHitAnalyzer::dEdxNHitMin
double dEdxNHitMin
Definition: dEdxHitAnalyzer.h:79
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
dEdxHitAnalyzer::dEdxHarm2Bin
int dEdxHarm2Bin
Definition: dEdxHitAnalyzer.h:90
edm::InputTag
Definition: InputTag.h:15
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
reco::TrackBase::highPurity
Definition: TrackBase.h:154