CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes
sistrip::MeasureLA Class Reference

#include <MeasureLA.h>

Inheritance diagram for sistrip::MeasureLA:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

Public Member Functions

 MeasureLA (const edm::ParameterSet &)
 
std::unique_ptr< SiStripLorentzAngleproduce (const SiStripLorentzAngleRcd &)
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
 ESProducer (const ESProducer &)=delete
 
ESProxyIndex const * getTokenIndices (unsigned int iIndex) const
 
ESRecordIndex const * getTokenRecordIndices (unsigned int iIndex) const
 
bool hasMayConsumes () const noexcept
 
size_t numberOfTokenIndices (unsigned int iIndex) const
 
ESProducer const & operator= (const ESProducer &)=delete
 
SerialTaskQueueChainqueue ()
 
template<typename Record >
std::optional< std::vector< ESProxyIndex > > updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &) final
 
 ~ESProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
 ESProxyFactoryProducer (const ESProxyFactoryProducer &)=delete
 
const ESProxyFactoryProduceroperator= (const ESProxyFactoryProducer &)=delete
 
 ~ESProxyFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
void createKeyedProxies (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
 DataProxyProvider ()
 
 DataProxyProvider (const DataProxyProvider &)=delete
 
const ComponentDescriptiondescription () const
 
void fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const
 
virtual void initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
bool isUsingRecord (const EventSetupRecordKey &key) const
 
KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0)
 
const DataProxyProvideroperator= (const DataProxyProvider &)=delete
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider () noexcept(false)
 

Private Types

enum  GRANULARITY { LAYER = 0, MODULE = 1, MODULESUMMARY = 2 }
 

Private Member Functions

void calibrate (const std::pair< unsigned, LA_Filler_Fitter::Method >, LA_Filler_Fitter::Result &) const
 
std::pair< unsigned, LA_Filler_Fitter::Methodcalibration_key (const std::string layer, const LA_Filler_Fitter::Method) const
 
std::pair< unsigned, LA_Filler_Fitter::Methodcalibration_key (const uint32_t detid, const LA_Filler_Fitter::Method) const
 
void process_reports () const
 
void store_calibrations ()
 
void store_methods_and_granularity (const edm::VParameterSet &)
 
void summarize_module_muH_byLayer (const LA_Filler_Fitter &)
 
void write_report_plots (const std::string, const LA_Filler_Fitter::Method, const GRANULARITY) const
 
template<class T >
void write_report_text (const std::string, const LA_Filler_Fitter::Method &, const std::map< T, LA_Filler_Fitter::Result > &) const
 
void write_report_text_ms (const std::string, const LA_Filler_Fitter::Method) const
 

Static Private Member Functions

static std::string granularity (int32_t g)
 

Private Attributes

Book book
 
bool byLayer
 
bool byModule
 
const edm::VParameterSet calibrations
 
std::map< std::pair< uint32_t, LA_Filler_Fitter::Method >, float > error_scaling
 
const edm::FileInPath fp_
 
const std::string inFileLocation
 
const std::vector< std::string > inputFiles
 
const float localybin
 
const unsigned maxEvents
 
const edm::VParameterSet measurementPreferences
 
int32_t methods
 
std::map< std::pair< uint32_t, LA_Filler_Fitter::Method >, float > offset
 
const edm::VParameterSet reports
 
std::map< std::pair< uint32_t, LA_Filler_Fitter::Method >, float > slope
 
const unsigned stripsperbin
 
TrackerTopology tTopo_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Types inherited from edm::ESProxyFactoryProducer
using EventSetupRecordKey = eventsetup::EventSetupRecordKey
 
- Protected Types inherited from edm::eventsetup::DataProxyProvider
using KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >>
 
- Protected Member Functions inherited from edm::ESProducer
template<typename T >
auto setWhatProduced (T *iThis, const char *iLabel)
 
template<typename T >
auto setWhatProduced (T *iThis, const es::Label &iLabel={})
 
template<typename T >
auto setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
auto setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={})
 
template<typename T , typename TReturn , typename TRecord >
auto setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={})
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
ESConsumesCollectorT< TRecord > setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={})
 
void usesResources (std::vector< std::string > const &)
 
- Protected Member Functions inherited from edm::ESProxyFactoryProducer
template<class TFactory >
void registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string())
 
KeyedProxiesVector registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override
 
- Protected Member Functions inherited from edm::eventsetup::DataProxyProvider
template<class T >
void usingRecord ()
 
void usingRecordWithKey (const EventSetupRecordKey &key)
 

Detailed Description

Definition at line 17 of file MeasureLA.h.

Member Enumeration Documentation

◆ GRANULARITY

Enumerator
LAYER 
MODULE 
MODULESUMMARY 

Definition at line 23 of file MeasureLA.h.

23 { LAYER = 0, MODULE = 1, MODULESUMMARY = 2 };

Constructor & Destructor Documentation

◆ MeasureLA()

sistrip::MeasureLA::MeasureLA ( const edm::ParameterSet conf)
explicit

Definition at line 22 of file MeasureLA.cc.

23  : inputFiles(conf.getParameter<std::vector<std::string> >("InputFiles")),
24  inFileLocation(conf.getParameter<std::string>("InFileLocation")),
25  fp_(conf.getParameter<edm::FileInPath>("SiStripDetInfo")),
26  reports(conf.getParameter<edm::VParameterSet>("Reports")),
27  measurementPreferences(conf.getParameter<edm::VParameterSet>("MeasurementPreferences")),
28  calibrations(conf.getParameter<edm::VParameterSet>("Calibrations")),
29  methods(0),
30  byModule(false),
31  byLayer(false),
32  localybin(conf.getUntrackedParameter<double>("LocalYBin", 0.0)),
33  stripsperbin(conf.getUntrackedParameter<unsigned>("StripsPerBin", 0)),
34  maxEvents(conf.getUntrackedParameter<unsigned>("MaxEvents", 0)),
36  conf.getParameter<edm::FileInPath>("TrackerParameters").fullPath())) {
40 
41  TChain* const chain = new TChain("la_data");
42  for (auto const& file : inputFiles)
43  chain->Add((file + inFileLocation).c_str());
44 
46  laff.fill(chain, book);
47  laff.fit(book);
50 
52  }

References book, byLayer, byModule, geometryDiff::file, LA_Filler_Fitter::fill(), LA_Filler_Fitter::fit(), inFileLocation, inputFiles, localybin, maxEvents, measurementPreferences, methods, process_reports(), produce(), reports, edm::ESProducer::setWhatProduced(), store_calibrations(), store_methods_and_granularity(), stripsperbin, summarize_module_muH_byLayer(), and tTopo_.

Member Function Documentation

◆ calibrate()

void sistrip::MeasureLA::calibrate ( const std::pair< unsigned, LA_Filler_Fitter::Method key,
LA_Filler_Fitter::Result result 
) const
inlineprivate

Definition at line 175 of file MeasureLA.cc.

176  {
177  result.calMeasured = std::make_pair<float, float>(
178  (result.measured.first - offset.find(key)->second) / slope.find(key)->second,
179  result.measured.second * error_scaling.find(key)->second / slope.find(key)->second);
180  }

References error_scaling, crabWrapper::key, offset, mps_fire::result, and slope.

Referenced by summarize_module_muH_byLayer(), and write_report_text().

◆ calibration_key() [1/2]

std::pair< uint32_t, LA_Filler_Fitter::Method > sistrip::MeasureLA::calibration_key ( const std::string  layer,
const LA_Filler_Fitter::Method  method 
) const
private

Definition at line 182 of file MeasureLA.cc.

183  {
184  std::regex format(".*(T[IO]B)_layer(\\d)([as]).*");
185  const bool isTIB = "TIB" == std::regex_replace(layer, format, "\\1");
186  const bool stereo = "s" == std::regex_replace(layer, format, "\\3");
187  const unsigned layerNum = boost::lexical_cast<unsigned>(std::regex_replace(layer, format, "\\2"));
188  return std::make_pair(LA_Filler_Fitter::layer_index(isTIB, stereo, layerNum), method);
189  }

References dqm-mbProfile::format, phase1PixelTopology::layer, LA_Filler_Fitter::layer_index(), and AlcaSiPixelAliHarvester0T_cff::method.

Referenced by summarize_module_muH_byLayer(), and write_report_text().

◆ calibration_key() [2/2]

std::pair< uint32_t, LA_Filler_Fitter::Method > sistrip::MeasureLA::calibration_key ( const uint32_t  detid,
const LA_Filler_Fitter::Method  method 
) const
private

Definition at line 191 of file MeasureLA.cc.

192  {
193  const bool isTIB = SiStripDetId(detid).subDetector() == SiStripDetId::TIB;
194  const bool stereo = isTIB ? tTopo_.tibStereo(detid) : tTopo_.tobStereo(detid);
195  const unsigned layer = isTIB ? tTopo_.tibLayer(detid) : tTopo_.tobStereo(detid);
196 
197  return std::make_pair(LA_Filler_Fitter::layer_index(isTIB, stereo, layer), method);
198  }

References phase1PixelTopology::layer, LA_Filler_Fitter::layer_index(), AlcaSiPixelAliHarvester0T_cff::method, SiStripDetId::subDetector(), SiStripDetId::TIB, TrackerTopology::tibLayer(), TrackerTopology::tibStereo(), TrackerTopology::tobStereo(), and tTopo_.

◆ granularity()

static std::string sistrip::MeasureLA::granularity ( int32_t  g)
inlinestaticprivate

Definition at line 24 of file MeasureLA.h.

24  {
25  switch (g) {
26  case LAYER:
27  return "_layer";
28  case MODULE:
29  return "_module";
30  case MODULESUMMARY:
31  return "_moduleSummary";
32  }
33  return "";
34  };

References g, LAYER, MODULE, and MODULESUMMARY.

Referenced by summarize_module_muH_byLayer(), write_report_plots(), and write_report_text_ms().

◆ process_reports()

void sistrip::MeasureLA::process_reports ( ) const
private

Definition at line 90 of file MeasureLA.cc.

90  {
91  for (auto const& p : reports) {
92  const GRANULARITY gran = (GRANULARITY)p.getParameter<int32_t>("Granularity");
93  const std::string name = p.getParameter<std::string>("ReportName");
94  const LA_Filler_Fitter::Method method = (LA_Filler_Fitter::Method)p.getParameter<int32_t>("Method");
95 
97  switch (gran) {
98  case LAYER:
100  break;
101  case MODULE:
103  break;
104  case MODULESUMMARY:
106  break;
107  }
108  }
109 
110  {
111  TFile widthsFile("widths.root", "RECREATE");
112  for (Book::const_iterator it = book.begin(".*_width"); it != book.end(); it++)
113  if (it->second)
114  it->second->Write();
115  widthsFile.Close();
116  }
117  }

References Book::begin(), book, Book::end(), LAYER, LA_Filler_Fitter::layer_results(), AlcaSiPixelAliHarvester0T_cff::method, MODULE, LA_Filler_Fitter::module_results(), MODULESUMMARY, Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, reports, AlCaHLTBitMon_QueryRunRegistry::string, write_report_plots(), write_report_text(), and write_report_text_ms().

Referenced by MeasureLA().

◆ produce()

std::unique_ptr< SiStripLorentzAngle > sistrip::MeasureLA::produce ( const SiStripLorentzAngleRcd )

Definition at line 54 of file MeasureLA.cc.

54  {
55  auto lorentzAngle = std::make_unique<SiStripLorentzAngle>();
56  /*
57  std::map<uint32_t,LA_Filler_Fitter::Result>
58  module_results = LA_Filler_Fitter::module_results(book, LA_Filler_Fitter::SQRTVAR);
59 
60  BOOST_FOREACH(const uint32_t& detid, SiStripDetInfoFileReader::read(fp_.fullPath()).getAllDetIds()) {
61  float la = module_results[detid].measure / module_results[detid].field ;
62  lorentzAngle->putLorentzAngle( detid, la );
63  }
64  */
65  return lorentzAngle;
66  }

Referenced by MeasureLA().

◆ store_calibrations()

void sistrip::MeasureLA::store_calibrations ( )
private

Definition at line 156 of file MeasureLA.cc.

156  {
157  for (auto const& p : calibrations) {
158  LA_Filler_Fitter::Method method = (LA_Filler_Fitter::Method)p.getParameter<int32_t>("Method");
159  std::vector<double> slopes(p.getParameter<std::vector<double> >("Slopes"));
160  assert(slopes.size() == 14);
161  std::vector<double> offsets(p.getParameter<std::vector<double> >("Offsets"));
162  assert(offsets.size() == 14);
163  std::vector<double> pulls(p.getParameter<std::vector<double> >("Pulls"));
164  assert(pulls.size() == 14);
165 
166  for (unsigned i = 0; i < 14; i++) {
167  const std::pair<unsigned, LA_Filler_Fitter::Method> key(i, method);
168  offset[key] = offsets[i];
169  slope[key] = slopes[i];
170  error_scaling[key] = pulls[i];
171  }
172  }
173  }

References cms::cuda::assert(), calibrations, error_scaling, mps_fire::i, crabWrapper::key, AlcaSiPixelAliHarvester0T_cff::method, offset, unpackBuffers-CaloStage1::offsets, AlCaHLTBitMon_ParallelJobs::p, and slope.

Referenced by MeasureLA().

◆ store_methods_and_granularity()

void sistrip::MeasureLA::store_methods_and_granularity ( const edm::VParameterSet vpset)
private

Definition at line 14 of file MeasureLA.cc.

14  {
15  for (auto const& p : vpset) {
16  methods |= p.getParameter<int32_t>("Method");
17  byModule = byModule || p.getParameter<int32_t>("Granularity");
18  byLayer = byLayer || !p.getParameter<int32_t>("Granularity");
19  }
20  }

References byLayer, byModule, methods, and AlCaHLTBitMon_ParallelJobs::p.

Referenced by MeasureLA().

◆ summarize_module_muH_byLayer()

void sistrip::MeasureLA::summarize_module_muH_byLayer ( const LA_Filler_Fitter laff)
private

Definition at line 68 of file MeasureLA.cc.

68  {
72  calibrate(calibration_key(result.first, method), result.second);
75  label = std::regex_replace(label, std::regex("layer"), "");
76 
77  const double mu_H = -result.second.calMeasured.first / result.second.field;
78  const double sigma_mu_H = result.second.calMeasured.second / result.second.field;
79  const double weight = pow(1. / sigma_mu_H, 2);
80 
81  book.fill(mu_H, label, 150, -0.05, 0.1, weight);
82  }
83  for (Book::iterator it = book.begin(".*" + granularity(MODULESUMMARY) + ".*"); it != book.end(); ++it) {
84  if (it->second->GetEntries())
85  it->second->Fit("gaus", "LLQ");
86  }
87  }
88  }

References Book::begin(), book, calibrate(), calibration_key(), Book::end(), Book::fill(), LA_Filler_Fitter::FIRST_METHOD, granularity(), label, LA_Filler_Fitter::LAST_METHOD, LA_Filler_Fitter::layerLabel(), visualization-live-secondInstance_cfg::m, AlcaSiPixelAliHarvester0T_cff::method, LA_Filler_Fitter::method(), LA_Filler_Fitter::module_results(), MODULESUMMARY, funct::pow(), mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by MeasureLA().

◆ write_report_plots()

void sistrip::MeasureLA::write_report_plots ( const std::string  name,
const LA_Filler_Fitter::Method  method,
const  GRANULARITY 
) const
private

Definition at line 119 of file MeasureLA.cc.

119  {
120  TFile file((name + ".root").c_str(), "RECREATE");
121  const std::string key = ".*" + granularity(gran) + ".*(" + LA_Filler_Fitter::method(method) + "|" +
122  LA_Filler_Fitter::method(method, false) + ".*)";
124  if (hist->second)
125  hist->second->Write();
126  file.Close();
127  }

References Book::begin(), book, Book::end(), geometryDiff::file, granularity(), gpuVertexFinder::hist, crabWrapper::key, AlcaSiPixelAliHarvester0T_cff::method, LA_Filler_Fitter::method(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by process_reports().

◆ write_report_text()

template<class T >
void sistrip::MeasureLA::write_report_text ( const std::string  name,
const LA_Filler_Fitter::Method _method,
const std::map< T, LA_Filler_Fitter::Result > &  _results 
) const
private

Definition at line 130 of file MeasureLA.cc.

132  {
134  std::map<T, LA_Filler_Fitter::Result> results = _results;
135  std::fstream file((name + ".dat").c_str(), std::ios::out);
136  for (auto& result : results) {
137  calibrate(calibration_key(result.first, method), result.second);
138  file << result.first << "\t" << result.second << std::endl;
139  }
140  file.close();
141  }

References calibrate(), calibration_key(), geometryDiff::file, AlcaSiPixelAliHarvester0T_cff::method, Skims_PA_cff::name, MillePedeFileConverter_cfg::out, mps_fire::result, and bookConverter::results.

Referenced by process_reports().

◆ write_report_text_ms()

void sistrip::MeasureLA::write_report_text_ms ( const std::string  name,
const LA_Filler_Fitter::Method  method 
) const
private

Definition at line 143 of file MeasureLA.cc.

143  {
144  std::fstream file((name + ".dat").c_str(), std::ios::out);
146  for (Book::const_iterator it = book.begin(key); it != book.end(); ++it) {
147  const TF1* const f = it->second->GetFunction("gaus");
148  if (f) {
149  file << it->first << "\t" << f->GetParameter(1) << "\t" << f->GetParError(1) << "\t" << f->GetParameter(2)
150  << "\t" << f->GetParError(2) << std::endl;
151  }
152  }
153  file.close();
154  }

References Book::begin(), book, Book::end(), f, geometryDiff::file, granularity(), crabWrapper::key, AlcaSiPixelAliHarvester0T_cff::method, LA_Filler_Fitter::method(), MODULESUMMARY, Skims_PA_cff::name, MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by process_reports().

Member Data Documentation

◆ book

Book sistrip::MeasureLA::book
private

◆ byLayer

bool sistrip::MeasureLA::byLayer
private

Definition at line 60 of file MeasureLA.h.

Referenced by MeasureLA(), and store_methods_and_granularity().

◆ byModule

bool sistrip::MeasureLA::byModule
private

Definition at line 60 of file MeasureLA.h.

Referenced by MeasureLA(), and store_methods_and_granularity().

◆ calibrations

const edm::VParameterSet sistrip::MeasureLA::calibrations
private

Definition at line 57 of file MeasureLA.h.

Referenced by store_calibrations().

◆ error_scaling

std::map<std::pair<uint32_t, LA_Filler_Fitter::Method>, float> sistrip::MeasureLA::error_scaling
private

Definition at line 58 of file MeasureLA.h.

Referenced by calibrate(), and store_calibrations().

◆ fp_

const edm::FileInPath sistrip::MeasureLA::fp_
private

Definition at line 56 of file MeasureLA.h.

◆ inFileLocation

const std::string sistrip::MeasureLA::inFileLocation
private

Definition at line 55 of file MeasureLA.h.

Referenced by MeasureLA().

◆ inputFiles

const std::vector<std::string> sistrip::MeasureLA::inputFiles
private

Definition at line 54 of file MeasureLA.h.

Referenced by MeasureLA(), and VarParsing.VarParsing::parseArguments().

◆ localybin

const float sistrip::MeasureLA::localybin
private

Definition at line 61 of file MeasureLA.h.

Referenced by MeasureLA().

◆ maxEvents

const unsigned sistrip::MeasureLA::maxEvents
private

Definition at line 62 of file MeasureLA.h.

Referenced by MeasureLA().

◆ measurementPreferences

const edm::VParameterSet sistrip::MeasureLA::measurementPreferences
private

Definition at line 57 of file MeasureLA.h.

Referenced by MeasureLA().

◆ methods

int32_t sistrip::MeasureLA::methods
private

Definition at line 59 of file MeasureLA.h.

Referenced by MeasureLA(), and store_methods_and_granularity().

◆ offset

std::map<std::pair<uint32_t, LA_Filler_Fitter::Method>, float> sistrip::MeasureLA::offset
private

◆ reports

const edm::VParameterSet sistrip::MeasureLA::reports
private

Definition at line 57 of file MeasureLA.h.

Referenced by MeasureLA(), and process_reports().

◆ slope

std::map<std::pair<uint32_t, LA_Filler_Fitter::Method>, float> sistrip::MeasureLA::slope
private

Definition at line 58 of file MeasureLA.h.

Referenced by calibrate(), and store_calibrations().

◆ stripsperbin

const unsigned sistrip::MeasureLA::stripsperbin
private

Definition at line 62 of file MeasureLA.h.

Referenced by MeasureLA().

◆ tTopo_

TrackerTopology sistrip::MeasureLA::tTopo_
private

Definition at line 65 of file MeasureLA.h.

Referenced by calibration_key(), and MeasureLA().

LA_Filler_Fitter::Method
Method
Definition: LA_Filler_Fitter.h:50
sistrip::MeasureLA::GRANULARITY
GRANULARITY
Definition: MeasureLA.h:23
sistrip::MeasureLA::byLayer
bool byLayer
Definition: MeasureLA.h:60
mps_fire.i
i
Definition: mps_fire.py:428
sistrip::MeasureLA::MODULESUMMARY
Definition: MeasureLA.h:23
sistrip::MeasureLA::inputFiles
const std::vector< std::string > inputFiles
Definition: MeasureLA.h:54
sistrip::MeasureLA::MODULE
Definition: MeasureLA.h:23
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
sistrip::MeasureLA::methods
int32_t methods
Definition: MeasureLA.h:59
sistrip::MeasureLA::summarize_module_muH_byLayer
void summarize_module_muH_byLayer(const LA_Filler_Fitter &)
Definition: MeasureLA.cc:68
AlcaSiPixelAliHarvester0T_cff.method
method
Definition: AlcaSiPixelAliHarvester0T_cff.py:41
sistrip::MeasureLA::store_calibrations
void store_calibrations()
Definition: MeasureLA.cc:156
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
Book::const_iterator
boost::filter_iterator< match_name, book_t::const_iterator > const_iterator
Definition: Book.h:56
sistrip::MeasureLA::byModule
bool byModule
Definition: MeasureLA.h:60
cms::cuda::assert
assert(be >=bs)
edm::VParameterSet
std::vector< ParameterSet > VParameterSet
Definition: ParameterSet.h:34
bookConverter.results
results
Definition: bookConverter.py:144
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
sistrip::MeasureLA::process_reports
void process_reports() const
Definition: MeasureLA.cc:90
TrackerTopology::tobStereo
uint32_t tobStereo(const DetId &id) const
Definition: TrackerTopology.h:275
sistrip::MeasureLA::calibrate
void calibrate(const std::pair< unsigned, LA_Filler_Fitter::Method >, LA_Filler_Fitter::Result &) const
Definition: MeasureLA.cc:175
edm::FileInPath
Definition: FileInPath.h:61
sistrip::MeasureLA::book
Book book
Definition: MeasureLA.h:63
sistrip::MeasureLA::offset
std::map< std::pair< uint32_t, LA_Filler_Fitter::Method >, float > offset
Definition: MeasureLA.h:58
LA_Filler_Fitter::layerLabel
std::string layerLabel(const SiStripDetId) const
Definition: LA_Filler.cc:127
sistrip::MeasureLA::stripsperbin
const unsigned stripsperbin
Definition: MeasureLA.h:62
dqm-mbProfile.format
format
Definition: dqm-mbProfile.py:16
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
sistrip::MeasureLA::localybin
const float localybin
Definition: MeasureLA.h:61
LA_Filler_Fitter::method
static std::string method(Method m, bool fit=true)
Definition: LA_Filler_Fitter.h:61
Book::end
iterator end(string_t re=".*")
Definition: Book.h:65
sistrip::MeasureLA::reports
const edm::VParameterSet reports
Definition: MeasureLA.h:57
sistrip::MeasureLA::maxEvents
const unsigned maxEvents
Definition: MeasureLA.h:62
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
LA_Filler_Fitter::LAST_METHOD
Definition: LA_Filler_Fitter.h:58
TrackerTopology::tibStereo
uint32_t tibStereo(const DetId &id) const
Definition: TrackerTopology.h:279
geometryDiff.file
file
Definition: geometryDiff.py:13
Book::fill
void fill(double_t X, const char *name, uint_t NbinsX, double_t Xlow, double_t Xup, double_t W=1)
Definition: Book.h:96
sistrip::MeasureLA::slope
std::map< std::pair< uint32_t, LA_Filler_Fitter::Method >, float > slope
Definition: MeasureLA.h:58
sistrip::MeasureLA::produce
std::unique_ptr< SiStripLorentzAngle > produce(const SiStripLorentzAngleRcd &)
Definition: MeasureLA.cc:54
sistrip::MeasureLA::inFileLocation
const std::string inFileLocation
Definition: MeasureLA.h:55
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
sistrip::MeasureLA::measurementPreferences
const edm::VParameterSet measurementPreferences
Definition: MeasureLA.h:57
LA_Filler_Fitter::layer_index
static unsigned layer_index(bool TIB, bool stereo, unsigned layer)
Definition: LA_Filler_Fitter.h:105
LA_Filler_Fitter::layer_results
static std::map< std::string, Result > layer_results(const Book &, const Method)
Definition: LA_Results.cc:70
sistrip::MeasureLA::LAYER
Definition: MeasureLA.h:23
gpuVertexFinder::hist
__shared__ Hist hist
Definition: gpuClusterTracksDBSCAN.h:48
sistrip::MeasureLA::write_report_text
void write_report_text(const std::string, const LA_Filler_Fitter::Method &, const std::map< T, LA_Filler_Fitter::Result > &) const
Definition: MeasureLA.cc:130
sistrip::MeasureLA::write_report_plots
void write_report_plots(const std::string, const LA_Filler_Fitter::Method, const GRANULARITY) const
Definition: MeasureLA.cc:119
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Book::iterator
boost::filter_iterator< match_name, book_t::iterator > iterator
Definition: Book.h:55
sistrip::MeasureLA::calibrations
const edm::VParameterSet calibrations
Definition: MeasureLA.h:57
Book::begin
iterator begin(string_t re=".*")
Definition: Book.h:57
SiStripDetId::subDetector
SubDetector subDetector() const
Definition: SiStripDetId.h:105
sistrip::MeasureLA::write_report_text_ms
void write_report_text_ms(const std::string, const LA_Filler_Fitter::Method) const
Definition: MeasureLA.cc:143
format
SiStripDetId::TIB
static constexpr auto TIB
Definition: SiStripDetId.h:37
LA_Filler_Fitter
Definition: LA_Filler_Fitter.h:14
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
sistrip::MeasureLA::tTopo_
TrackerTopology tTopo_
Definition: MeasureLA.h:65
unpackBuffers-CaloStage1.offsets
offsets
Definition: unpackBuffers-CaloStage1.py:127
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
mps_fire.result
result
Definition: mps_fire.py:311
sistrip::MeasureLA::error_scaling
std::map< std::pair< uint32_t, LA_Filler_Fitter::Method >, float > error_scaling
Definition: MeasureLA.h:58
SiStripDetId
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:18
sistrip::MeasureLA::store_methods_and_granularity
void store_methods_and_granularity(const edm::VParameterSet &)
Definition: MeasureLA.cc:14
LA_Filler_Fitter::module_results
static std::map< uint32_t, Result > module_results(const Book &, const Method)
Definition: LA_Results.cc:60
LA_Filler_Fitter::FIRST_METHOD
Definition: LA_Filler_Fitter.h:52
sistrip::MeasureLA::granularity
static std::string granularity(int32_t g)
Definition: MeasureLA.h:24
sistrip::MeasureLA::calibration_key
std::pair< unsigned, LA_Filler_Fitter::Method > calibration_key(const std::string layer, const LA_Filler_Fitter::Method) const
Definition: MeasureLA.cc:182
crabWrapper.key
key
Definition: crabWrapper.py:19
sistrip::MeasureLA::fp_
const edm::FileInPath fp_
Definition: MeasureLA.h:56
StandaloneTrackerTopology::fromTrackerParametersXMLFile
TrackerTopology fromTrackerParametersXMLFile(const std::string &xmlFileName)
Definition: StandaloneTrackerTopology.cc:168
label
const char * label
Definition: PFTauDecayModeTools.cc:11
weight
Definition: weight.py:1
edm::FileInPath::fullPath
std::string fullPath() const
Definition: FileInPath.cc:161
g
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 g
Definition: Activities.doc:4
TrackerTopology::tibLayer
unsigned int tibLayer(const DetId &id) const
Definition: TrackerTopology.h:150