#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::EDProducer | |
typedef EDProducer | 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 |
Private Types | |
typedef math::Error< 5 >::type | CovarianceMatrix |
Private Member Functions | |
void | beginJob () override |
void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) 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 edm::EventSetup &iSetup) |
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 |
Private Attributes | |
std::map< std::string, bool > | fired |
edm::ESHandle< HcalSeverityLevelComputer > | hcalSevLvlComputerHndl |
TH2F * | ho_occupency [5] |
int | iring |
float | localxhor0 |
float | localxhor1 |
float | localyhor0 |
float | localyhor1 |
bool | m_cosmic |
int | m_endTS |
bool | m_hbinfo |
bool | m_occupancy |
double | m_sigma |
int | m_startTS |
edm::InputTag | muonTags_ |
const int | ncidmx = 5 |
const int | netabin = 16 |
const int | netamx = 32 |
int | Nevents |
int | Noccu |
const int | nphimx = 72 |
int | nRuns |
unsigned int | Ntp |
const double | rHOL0 = 382.0 |
const double | rHOL1 = 407.0 |
const HcalChannelQuality * | theHcalChStatus |
edm::EDGetTokenT< HBHERecHitCollection > | tok_hbhe_ |
edm::EDGetTokenT< HORecHitCollection > | tok_ho_ |
edm::EDGetTokenT< LumiScalersCollection > | tok_lumi_ |
edm::EDGetTokenT< edm::View< reco::Muon > > | tok_muons_ |
edm::EDGetTokenT< reco::TrackCollection > | tok_muonsCosmic_ |
edm::EDGetTokenT< CaloTowerCollection > | tok_tower_ |
edm::EDGetTokenT< reco::VertexCollection > | tok_vertex_ |
float | xhor0 |
float | xhor1 |
float | yhor0 |
float | yhor1 |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
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 152 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 220 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::DirectionType |
Definition at line 158 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::PositionType |
Definition at line 157 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::RotationType |
Definition at line 159 of file AlCaHOCalibProducer.cc.
|
explicit |
Definition at line 248 of file AlCaHOCalibProducer.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ho_occupency, m_cosmic, m_hbinfo, m_occupancy, m_sigma, TFileService::make(), muonTags_, netamx, nphimx, overlapproblemtsosanalyzer_cfi::title, tok_hbhe_, tok_ho_, tok_lumi_, tok_muons_, tok_muonsCosmic_, tok_tower_, and tok_vertex_.
|
override |
Definition at line 282 of file AlCaHOCalibProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 369 of file AlCaHOCalibProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 390 of file AlCaHOCalibProducer.cc.
References edm::EventSetup::get(), get, edm::ESHandle< T >::product(), and theHcalChStatus.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 376 of file AlCaHOCalibProducer.cc.
References ho_occupency, m_occupancy, SiStripPI::max, Nevents, and Noccu.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 398 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(), edm::EventSetup::get(), get, CaloSubdetectorGeometry::getClosestCell(), getFreeTrajectoryState(), HcalSeverityLevelComputer::getSeverityLevel(), CaloGeometry::getSubdetectorGeometry(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), reco::MuonEnergy::had, reco::MuonIsolation::hadEt, HOCalibVariables::hbhesig, DetId::Hcal, HOCalibVariables::hcal03, HcalOuter, hcalSevLvlComputerHndl, 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(), edm::ESHandle< T >::product(), SteppingHelixPropagator::propagate(), rHOL0, rHOL1, makeMuonMisalignmentScenario::rot, SteppingHelixPropagator::setMaterialMode(), funct::sin(), mathSSE::sqrt(), reco::MuonIsolation::sumPt, theHcalChStatus, 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 924 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 1064 of file AlCaHOCalibProducer.cc.
References reco::TrackBase::charge(), DeadROC_duringRun::dir, runTheMatrix::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::EDProducer.
Definition at line 292 of file AlCaHOCalibProducer.cc.
References fillHOStore(), iEvent, HOCalibVariables::inslumi, edm::HandleBase::isValid(), BXlumiParameters_cfi::lumiScale, m_cosmic, eostools::move(), Nevents, Noccu, HOCalibVariables::nprim, zMuMuMuonUserData::primaryVertices, tok_lumi_, tok_muons_, tok_muonsCosmic_, and tok_vertex_.
|
private |
Definition at line 228 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 233 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore().
|
private |
Definition at line 192 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), endJob(), and fillHOStore().
|
private |
Definition at line 185 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 187 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 189 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
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 fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 194 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), fillHOStore(), and produce().
|
private |
Definition at line 217 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 215 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 193 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), endJob(), and fillHOStore().
|
private |
Definition at line 218 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 216 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 203 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer().
|
private |
Definition at line 199 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 196 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 198 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer().
|
private |
Definition at line 234 of file AlCaHOCalibProducer.cc.
Referenced by beginJob(), endJob(), and produce().
|
private |
Definition at line 221 of file AlCaHOCalibProducer.cc.
Referenced by beginJob(), endJob(), fillHOStore(), and produce().
|
private |
Definition at line 197 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 222 of file AlCaHOCalibProducer.cc.
Referenced by beginJob().
|
private |
Definition at line 227 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 200 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore().
|
private |
Definition at line 201 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore().
|
private |
Definition at line 231 of file AlCaHOCalibProducer.cc.
Referenced by beginLuminosityBlock(), and fillHOStore().
|
private |
Definition at line 211 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 212 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 206 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 205 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 213 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 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 182 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 184 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().