#include <Alignment/OfflineValidation/plugins/EopTreeWriter.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | endJob () override |
double | getDistInCM (double eta1, double phi1, double eta2, double phi2) |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 62 of file EopTreeWriter.cc.
|
explicit |
Definition at line 94 of file EopTreeWriter.cc.
References edm::EDConsumerBase::consumesCollector(), ecalRecHitTokenAlCaToken_, ecalRecHitTokenEBRecoToken_, ecalRecHitTokenEERecoToken_, fs_, edm::ParameterSet::getParameter(), HLT_FULL_cff::InputTag, isoPixelTkToken_, TFileService::kSharedResource, TrackAssociatorParameters::loadParameters(), TFileService::make(), parameters_, src_, theTrackCollectionToken_, tree_, and treeMemPtr_.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 123 of file EopTreeWriter.cc.
References TrackDetectorAssociator::associate(), TrackAssociatorParameters::bFieldToken, TrackDetMatchInfo::EcalRecHits, ecalRecHitTokenAlCaToken_, ecalRecHitTokenEBRecoToken_, ecalRecHitTokenEERecoToken_, PV3DBase< T, PVType, FrameType >::eta(), Exception, EopVariables::fillVariables(), geometryToken_, edm::Event::get(), edm::EventSetup::getData(), getDistInCM(), TrackDetectorAssociator::getFreeTrajectoryState(), edm::Event::getHandle(), TrackDetMatchInfo::HcalRecHits, mps_fire::i, info(), isoPixelTkToken_, TrackDetMatchInfo::nXnEnergy(), parameters_, PV3DBase< T, PVType, FrameType >::phi(), theTrackCollectionToken_, HLT_FULL_cff::track, trackAssociator_, tracks, tree_, treeMemPtr_, TrackDetMatchInfo::trkGlobPosAtEcal, TrackDetectorAssociator::useDefaultPropagator(), and TrackAssociatorParameters::useMuon.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 281 of file EopTreeWriter.cc.
References treeMemPtr_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
static |
Definition at line 328 of file EopTreeWriter.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and edm::ParameterSetDescription::setComment().
|
private |
Definition at line 287 of file EopTreeWriter.cc.
References funct::cos(), srCondWrite_cfg::deltaPhi, funct::exp(), M_PI, mathSSE::sqrt(), and funct::tan().
Referenced by analyze().
|
private |
Definition at line 86 of file EopTreeWriter.cc.
Referenced by analyze(), and EopTreeWriter().
|
private |
Definition at line 87 of file EopTreeWriter.cc.
Referenced by analyze(), and EopTreeWriter().
|
private |
Definition at line 88 of file EopTreeWriter.cc.
Referenced by analyze(), and EopTreeWriter().
|
private |
Definition at line 78 of file EopTreeWriter.cc.
Referenced by EopTreeWriter().
|
private |
Definition at line 76 of file EopTreeWriter.cc.
Referenced by analyze().
|
private |
Definition at line 85 of file EopTreeWriter.cc.
Referenced by analyze(), and EopTreeWriter().
|
private |
Definition at line 82 of file EopTreeWriter.cc.
Referenced by analyze(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Types.EDAlias::clone(), Mixins._TypedParameterizable::copy(), and EopTreeWriter().
|
private |
Definition at line 75 of file EopTreeWriter.cc.
Referenced by EopTreeWriter().
|
private |
Definition at line 84 of file EopTreeWriter.cc.
Referenced by analyze(), and EopTreeWriter().
|
private |
Definition at line 81 of file EopTreeWriter.cc.
Referenced by analyze().
|
private |
Definition at line 79 of file EopTreeWriter.cc.
Referenced by analyze(), and EopTreeWriter().
|
private |
Definition at line 80 of file EopTreeWriter.cc.
Referenced by analyze(), endJob(), and EopTreeWriter().