|
| DTFineDelayCorr (const edm::ParameterSet &ps) |
| Constructor. More...
|
|
virtual | ~DTFineDelayCorr () |
| Destructor. More...
|
|
| DTLocalTriggerBaseTest () |
| Constructor. More...
|
|
virtual | ~DTLocalTriggerBaseTest () |
| Destructor. More...
|
|
virtual void | analyze (edm::Event const &, edm::EventSetup const &) final |
|
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
| DQMEDHarvester (void) |
|
virtual void | endJob () final |
|
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
| EDAnalyzer ()=default |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDAnalyzerBase () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
|
void | beginRun (const edm::Run &run, const edm::EventSetup &evSU) |
| Begin Run. More...
|
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) |
|
void | runClientDiagnostic (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) |
| DQM Client Diagnostic. More...
|
|
void | writeConsts (const std::string &outputFileName) const |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &context) |
| BeginRun. More...
|
|
void | bookCmsHistos (DQMStore::IBooker &, std::string hTag, std::string folder="", bool isGlb=false) |
| Book the new MEs (CMS summary) More...
|
|
void | bookSectorHistos (DQMStore::IBooker &, int wheel, int sector, std::string hTag, std::string folder="") |
| Book the new MEs (for each sector) More...
|
|
void | bookWheelHistos (DQMStore::IBooker &, int wheel, std::string hTag, std::string folder="") |
| Book the new MEs (for each wheel) More...
|
|
std::string | category () |
| Get message logger name. More...
|
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) |
|
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) |
| Perform client diagnostic in online. More...
|
|
void | endRun (edm::Run const &run, edm::EventSetup const &context) |
| Perform client diagnostic in offline. More...
|
|
std::string | fullName (std::string htype) |
| Create fullname from histo partial name. More...
|
|
template<class T > |
T * | getHisto (MonitorElement *me) |
| Convert ME to Histogram fo type T. More...
|
|
std::string | getMEName (std::string histoTag, std::string subfolder, const DTChamberId &chambid) |
| Get the ME name (by chamber) More...
|
|
std::string | getMEName (std::string histoTag, std::string subfolder, int wh) |
| Get the ME name (by wheel) More...
|
|
std::pair< float, float > | phiRange (const DTChamberId &id) |
| Calculate phi range for histograms. More...
|
|
void | setConfig (const edm::ParameterSet &ps, std::string name) |
| Set configuration variables. More...
|
|
std::string & | topFolder (bool isDCC) |
| Get top folder name. More...
|
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
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 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) |
|
Definition at line 29 of file DTFineDelayCorr.h.
DQM Client Diagnostic.
Implements DTLocalTriggerBaseTest.
Definition at line 85 of file DTFineDelayCorr.cc.
References python.rootplot.argparse::category, gather_cfg::cout, DTChamberId, DTLayerId, DTTopology::firstChannel(), DQMStore::IGetter::get(), DTConfigPedestals::getOffset(), DTLayer::id(), geometryCSVtoXML::line, timingPdfMaker::mean, TrigPrimClient_cfi::minEntries, DTTimeUnits::ns, DetId::rawId(), DTChamberId::sector(), DTLayer::specificTopology(), DTChamberId::station(), relativeConstraints::station, and DTChamberId::wheel().
86 int coarseDelay = -999;
87 float oldFineDelay = -999;
93 while (getline(oldDelaysFile, line)) {
94 if( line ==
"" || line[0] ==
'#' )
continue;
96 int wheelKey,sectorKey, stationKey;
105 pair<int,float> oldDelays = make_pair(coarseDelay,oldFineDelay);
107 oldDelayMap.insert(make_pair(oldDelayKey,oldDelays));
112 vector<const DTChamber*>::const_iterator chambIt =
muonGeom->chambers().begin();
113 vector<const DTChamber*>::const_iterator chambEnd =
muonGeom->chambers().end();
114 for (; chambIt!=chambEnd; ++chambIt) {
116 uint32_t indexCh = chId.
rawId();
117 int wheel = chId.
wheel();
118 int sector = chId.
sector();
122 vector<float> newDelays;
129 coarseDelay = int(delay/25.);
130 oldFineDelay = delay - coarseDelay * 25.;
139 float newFineDelay = -999;
145 TF1 *funct = t0H->GetFunction(
"gaus");
146 mean = funct->GetParameter(1);
149 mean = t0H->GetMean();
158 float bpFineDelay = (wpFineDelay < 12.5)? (wpFineDelay + 12.5) : (wpFineDelay - 12.5);
160 float diffFineDelays = oldFineDelay + (mean - bpFineDelay);
161 int bxDiff = (int) (diffFineDelays / 25);
162 coarseDelay += bxDiff;
163 newFineDelay = fmodf(diffFineDelays, 25);
172 newDelays.push_back(wheel);
173 newDelays.push_back(sector);
174 newDelays.push_back(station);
175 newDelays.push_back(coarseDelay);
176 newDelays.push_back(newFineDelay);
177 pair< DTChamberId, vector<float> > chDelays;
178 chDelays.first = chId;
179 chDelays.second = newDelays;
edm::ESHandle< DTConfigManager > dtConfig
MonitorElement * get(const std::string &path)
DTLayerId id() const
Return the DetId of this SL.
std::map< DTChamberId, std::pair< int, float > > oldDelayMap
edm::ESHandle< DTGeometry > muonGeom
int firstChannel() const
Returns the wire number of the first wire.
uint32_t rawId() const
get the raw id
const DTTopology & specificTopology() const
float getOffset(const DTWireId &wire) const
Get wire by wire delay.
std::string category()
Get message logger name.
std::map< DTChamberId, std::vector< float > > delayMap
std::string t0MeanHistoTag
std::string getMEName(std::string histoTag, std::string subfolder, const DTChamberId &chambid)
Get the ME name (by chamber)
edm::ESHandle< DTTPGParameters > worstPhaseMap
std::string oldDelaysInputFile
int station() const
Return the station number.
int wheel() const
Return the wheel number.