#include <Calibration/AlCaHOCalibProducer/src/AlCaHOCalibProducer.cc>
Public Types | |
typedef Basic3DVector< float > | DirectionType |
typedef Basic3DVector< float > | PositionType |
typedef Basic3DVector< float > | RotationType |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
typedef math::Error< 5 >::type | CovarianceMatrix |
Private Member Functions | |
void | beginJob () override |
void | endJob () override |
void | fillHOStore (const reco::TrackRef &ncosm, HOCalibVariables &tmpHOCalib, std::unique_ptr< HOCalibVariableCollection > &hostore, int Noccu_old, int indx, edm::Handle< reco::TrackCollection > cosmicmuon, edm::View< reco::Muon >::const_iterator muon1, const edm::Event &iEvent, const CaloSubdetectorGeometry *, const MagneticField &) |
void | findHOEtaPhi (int iphsect, int &ietaho, int &iphiho) |
FreeTrajectoryState | getFreeTrajectoryState (const reco::Track &tk, const MagneticField *field, int itag, bool dir) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Additional Inherited Members | |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
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< B > | consumes (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) |
change magnetic field inside ../data/HOCosmicCalib_RecoLocalMuon.cff ../data/HOCosmicCalib_RecoLocalTracker.cff
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>=""> Missing towers : eta=5, phi=18-19 : eta = -5, phi =11-14
HO tile sizes Ring +-2 : width Tray 6:404.6, 5&4:347.6, 3:352.6, 2:364.6, 1:315.6 (phi ordering is opposite) lenght Tile 1:420.1, 2:545.1, 3:583.3, 4:626.0, 5:335.5
(five tiles, 1 is close to Ring 1 and 5 is towardslc endcap)
Ring +-1 : width Tray 6:404.6, 5&4:347.6, 3:352.6, 2:364.6, 1:315.6 (same as Ring+-2) lenght Tile 1:391.5, 2:394.2, 3:411.0, 4:430.9, 5:454.0, 6:426.0 (1: near R0 and 6 near R2)
Ring 0 L1 : Width Tray (6:290.6, 5&4:345.6, 3:350.6, 2:362.6, 1:298.6
lenght 1:351.2, 2:353.8, 3:359.2, 4:189.1 (4 is towards Ring1)
Ring 0 L0 : Width Tray 6:266.6, 5&4:325.6, 3:330.6, 2:341.6, 1:272.6 length 1:331.5, 2:334.0, 3:339.0, 4:248.8 (4 is towards Ring1)
Definition at line 144 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 219 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::DirectionType |
Definition at line 151 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::PositionType |
Definition at line 150 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::RotationType |
Definition at line 152 of file AlCaHOCalibProducer.cc.
|
explicit |
Definition at line 246 of file AlCaHOCalibProducer.cc.
References compareTotals::fs, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ho_occupency, TFileService::kSharedResource, m_cosmic, m_hbinfo, m_occupancy, m_sigma, muonTags_, netamx, nphimx, runGCPTkAlMap::title, tok_geom_, tok_hbhe_, tok_hcalChStatus_, tok_hcalSevLvlComputer_, tok_ho_, tok_lumi_, tok_magField_, tok_metaData_, tok_muons_, tok_muonsCosmic_, tok_tower_, and tok_vertex_.
|
overridedefault |
|
overrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 401 of file AlCaHOCalibProducer.cc.
References Nevents, Noccu, and nRuns.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 408 of file AlCaHOCalibProducer.cc.
References ho_occupency, m_occupancy, SiStripPI::max, Nevents, and Noccu.
Referenced by o2olib.O2ORunMgr::executeJob().
|
static |
Definition at line 291 of file AlCaHOCalibProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 417 of file AlCaHOCalibProducer.cc.
References funct::abs(), angle(), anyDirection, SteppingHelixPropagator::applyRadX0Correction(), HOCalibVariables::caloen, ewkMuLumiMonitorDQM_cfi::calotower, ALCARECOTkAlJpsiMuMu_cff::charge, HOCalibVariables::chisq, funct::cos(), Vector3DBase< T, FrameTag >::cross(), dot(), HOCalibVariables::ecal03, CaloRecHit::energy(), findHOEtaPhi(), CaloSubdetectorGeometry::getClosestCell(), getFreeTrajectoryState(), HcalSeverityLevelComputer::getSeverityLevel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), reco::MuonEnergy::had, reco::MuonIsolation::hadEt, HOCalibVariables::hbhesig, HOCalibVariables::hcal03, ho_occupency, HOCalibVariables::hoang, HOCalibVariables::hocorsig, HOCalibVariables::hocro, HOCalibVariables::hodx, HOCalibVariables::hody, HOCalibVariables::hoflag, HOCalibVariables::hosig, HOCalibVariables::htime, HORecHit::id(), HcalDetId::ieta(), iEvent, createfilelist::int, HcalDetId::iphi(), iring, HOCalibVariables::isect, HOCalibVariables::isect2, SteppingHelixStateInfo::isValid(), localxhor0, localxhor1, localyhor0, localyhor1, m_cosmic, m_hbinfo, m_occupancy, m_sigma, HOCalibVariables::momatho, SteppingHelixStateInfo::momentum(), HOCalibVariables::ndof, netabin, HOCalibVariables::nmuon, Noccu, nphimx, HOCalibVariables::pherr, Basic3DVector< T >::phi(), pi, PlaneBuilder::plane(), SteppingHelixStateInfo::position(), SteppingHelixPropagator::propagate(), rHOL0, rHOL1, makeMuonMisalignmentScenario::rot, SteppingHelixPropagator::setMaterialMode(), funct::sin(), mathSSE::sqrt(), reco::MuonIsolation::sumPt, theHcalChStatus, theHcalSevLvlComputer, HOCalibVariables::therr, Basic3DVector< T >::theta(), HOCalibVariables::tkpt03, tok_hbhe_, tok_ho_, tok_tower_, HOCalibVariables::trkdr, HOCalibVariables::trkdz, HOCalibVariables::trkmm, HOCalibVariables::trkph, HOCalibVariables::trkth, HOCalibVariables::trkvx, HOCalibVariables::trkvy, HOCalibVariables::trkvz, PV3DBase< T, PVType, FrameType >::x(), xhor0, xhor1, geometryCSVtoXML::xx, PV3DBase< T, PVType, FrameType >::y(), yhor0, yhor1, geometryCSVtoXML::yy, and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 930 of file AlCaHOCalibProducer.cc.
References funct::abs(), iring, localxhor0, localxhor1, localyhor0, localyhor1, netabin, nphimx, xhor0, xhor1, yhor0, and yhor1.
Referenced by fillHOStore().
|
private |
Definition at line 1070 of file AlCaHOCalibProducer.cc.
References reco::TrackBase::charge(), DeadROC_duringRun::dir, submitPVResolutionJobs::err, reco::Track::extra(), reco::Track::innerMomentum(), reco::Track::innerPosition(), reco::Track::outerPx(), reco::Track::outerPy(), reco::Track::outerPz(), reco::Track::outerX(), reco::Track::outerY(), and reco::Track::outerZ().
Referenced by fillHOStore().
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 312 of file AlCaHOCalibProducer.cc.
References fillHOStore(), edm::EventSetup::getData(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalOuter, iEvent, HOCalibVariables::inslumi, edm::HandleBase::isValid(), BXlumiParameters_cfi::lumiScale, m_cosmic, eostools::move(), Nevents, Noccu, HOCalibVariables::nprim, HLT_2023v11_cff::primaryVertices, theHcalChStatus, theHcalSevLvlComputer, tok_geom_, tok_hcalChStatus_, tok_hcalSevLvlComputer_, tok_lumi_, tok_magField_, tok_metaData_, tok_muons_, tok_muonsCosmic_, and tok_vertex_.
|
private |
Definition at line 227 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 185 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), endJob(), and fillHOStore().
|
private |
Definition at line 178 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 180 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 182 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 181 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 183 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 187 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), fillHOStore(), and produce().
|
private |
Definition at line 216 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 214 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 186 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), endJob(), and fillHOStore().
|
private |
Definition at line 217 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 215 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 196 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer().
|
private |
Definition at line 192 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 189 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 191 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer().
|
private |
Definition at line 232 of file AlCaHOCalibProducer.cc.
Referenced by beginJob(), endJob(), and produce().
|
private |
Definition at line 220 of file AlCaHOCalibProducer.cc.
Referenced by beginJob(), endJob(), fillHOStore(), and produce().
|
private |
Definition at line 190 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 221 of file AlCaHOCalibProducer.cc.
Referenced by beginJob().
|
private |
Definition at line 226 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 193 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore().
|
private |
Definition at line 194 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore().
|
private |
Definition at line 230 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and produce().
|
private |
Definition at line 231 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and produce().
|
private |
Definition at line 210 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 205 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 209 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 211 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 206 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 202 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 212 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 203 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 199 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 198 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 207 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 200 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 174 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 176 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 175 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 177 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().