#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 | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
AlCaHOCalibProducer (const edm::ParameterSet &) | |
~AlCaHOCalibProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 () |
Private Types | |
typedef math::Error< 5 >::type | CovarianceMatrix |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
virtual void | endJob () override |
void | fillHOStore (const reco::TrackRef &ncosm, HOCalibVariables &tmpHOCalib, std::auto_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) |
virtual 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) |
Protected Member Functions inherited from edm::EDConsumerBase | |
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) |
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 154 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 219 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::DirectionType |
Definition at line 160 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::PositionType |
Definition at line 159 of file AlCaHOCalibProducer.cc.
typedef Basic3DVector<float> AlCaHOCalibProducer::RotationType |
Definition at line 161 of file AlCaHOCalibProducer.cc.
|
explicit |
Definition at line 247 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, indexGen::title, tok_hbhe_, tok_ho_, tok_lumi_, tok_muons_, tok_muonsCosmic_, tok_tower_, and tok_vertex_.
AlCaHOCalibProducer::~AlCaHOCalibProducer | ( | ) |
Definition at line 281 of file AlCaHOCalibProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 368 of file AlCaHOCalibProducer.cc.
References Nevents, Noccu, and nRuns.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 390 of file AlCaHOCalibProducer.cc.
References edm::EventSetup::get(), edm::ESHandle< class >::product(), and theHcalChStatus.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 376 of file AlCaHOCalibProducer.cc.
References ho_occupency, m_occupancy, bookConverter::max, Nevents, and Noccu.
Referenced by o2o.O2ORunMgr::executeJob().
|
private |
Definition at line 400 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(), edm::EventSetup::get(), edm::Event::getByToken(), 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(), 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< class >::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, PV3DBase< T, PVType, FrameType >::y(), yhor0, yhor1, and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 859 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 961 of file AlCaHOCalibProducer.cc.
References reco::TrackBase::charge(), 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 295 of file AlCaHOCalibProducer.cc.
References edm::EventID::event(), fillHOStore(), edm::Event::getByToken(), edm::EventBase::id(), HOCalibVariables::inslumi, edm::EventBase::isRealData(), edm::HandleBase::isValid(), m_cosmic, Nevents, Noccu, HOCalibVariables::nprim, HLT_25ns10e33_v2_cff::primaryVertices, edm::Event::put(), edm::EventID::run(), tok_lumi_, tok_muons_, tok_muonsCosmic_, and tok_vertex_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 227 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 232 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore().
|
private |
Definition at line 191 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), endJob(), and fillHOStore().
|
private |
Definition at line 184 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 186 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 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 193 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 192 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 202 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer().
|
private |
Definition at line 198 of file AlCaHOCalibProducer.cc.
|
private |
Definition at line 195 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore(), and findHOEtaPhi().
|
private |
Definition at line 197 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer().
|
private |
Definition at line 233 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 196 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 199 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore().
|
private |
Definition at line 200 of file AlCaHOCalibProducer.cc.
Referenced by fillHOStore().
|
private |
Definition at line 230 of file AlCaHOCalibProducer.cc.
Referenced by beginRun(), and fillHOStore().
|
private |
Definition at line 210 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 211 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 208 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 204 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
private |
Definition at line 212 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and fillHOStore().
|
private |
Definition at line 206 of file AlCaHOCalibProducer.cc.
Referenced by AlCaHOCalibProducer(), and produce().
|
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().