#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 | |
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 | |
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 143 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 217 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::DirectionType |
Definition at line 150 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::PositionType |
Definition at line 149 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::RotationType |
Definition at line 151 of file AlCaHOCalibProducer.cc.
|
explicit |
Definition at line 244 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, TFileService::make(), muonTags_, netamx, nphimx, runGCPTkAlMap::title, tok_geom_, tok_hbhe_, tok_hcalChStatus_, tok_hcalSevLvlComputer_, tok_ho_, tok_lumi_, tok_magField_, tok_muons_, tok_muonsCosmic_, tok_tower_, and tok_vertex_.
|
overridedefault |
|
overrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 393 of file AlCaHOCalibProducer.cc.
References Nevents, Noccu, and nRuns.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 400 of file AlCaHOCalibProducer.cc.
References ho_occupency, m_occupancy, SiStripPI::max, Nevents, and Noccu.
Referenced by o2olib.O2ORunMgr::executeJob().
|
static |
Definition at line 288 of file AlCaHOCalibProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 409 of file AlCaHOCalibProducer.cc.
References funct::abs(), angle(), anyDirection, SteppingHelixPropagator::applyRadX0Correction(), HOCalibVariables::caloen, RecoTauCleanerPlugins::charge, HOCalibVariables::chisq, funct::cos(), Vector3DBase< T, FrameTag >::cross(), dot(), HOCalibVariables::ecal03, CaloRecHit::energy(), findHOEtaPhi(), CaloSubdetectorGeometry::getClosestCell(), getFreeTrajectoryState(), edm::Event::getHandle(), 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(), 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, PV3DBase< T, PVType, FrameType >::y(), yhor0, yhor1, and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 922 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 1062 of file AlCaHOCalibProducer.cc.
References reco::TrackBase::charge(), submitPVValidationJobs::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 308 of file AlCaHOCalibProducer.cc.
References edm::EventID::event(), fillHOStore(), edm::EventSetup::getData(), edm::Event::getHandle(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalOuter, edm::EventBase::id(), HOCalibVariables::inslumi, edm::EventBase::isRealData(), edm::HandleBase::isValid(), m_cosmic, magField, eostools::move(), Nevents, Noccu, HOCalibVariables::nprim, HLT_FULL_cff::primaryVertices, edm::Event::put(), edm::EventID::run(), theHcalChStatus, theHcalSevLvlComputer, tok_geom_, tok_hcalChStatus_, tok_hcalSevLvlComputer_, tok_lumi_, tok_magField_, tok_muons_, tok_muonsCosmic_, and tok_vertex_.
|
private |
Definition at line 225 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 184 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), endJob(), and fillHOStore().
|
private |
Definition at line 177 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 179 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 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 186 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), fillHOStore(), and produce().
|
private |
Definition at line 214 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 212 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 185 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), endJob(), and fillHOStore().
|
private |
Definition at line 215 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 213 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 195 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer().
|
private |
Definition at line 191 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 188 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 190 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer().
|
private |
Definition at line 230 of file AlCaHOCalibProducer.cc.
Referenced by beginJob(), endJob(), and produce().
|
private |
Definition at line 218 of file AlCaHOCalibProducer.cc.
Referenced by beginJob(), endJob(), fillHOStore(), and produce().
|
private |
Definition at line 189 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 219 of file AlCaHOCalibProducer.cc.
Referenced by beginJob().
|
private |
Definition at line 224 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 192 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore().
|
private |
Definition at line 193 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore().
|
private |
Definition at line 228 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and produce().
|
private |
Definition at line 229 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and produce().
|
private |
Definition at line 208 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 203 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 207 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 209 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 204 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 201 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 210 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 197 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 199 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 173 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 174 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 176 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().