#include <Alignment/OfflineValidation/plugins/EopTreeWriter.cc>
Public Member Functions | |
EopTreeWriter (const edm::ParameterSet &) | |
~EopTreeWriter () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | endJob () override |
double | getDistInCM (double eta1, double phi1, double eta2, double phi2) |
Private Attributes | |
edm::Service< TFileService > | fs_ |
TrackAssociatorParameters | parameters_ |
edm::InputTag | src_ |
TrackDetectorAssociator | trackAssociator_ |
TTree * | tree_ |
EopVariables * | treeMemPtr_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 68 of file EopTreeWriter.cc.
|
explicit |
Definition at line 102 of file EopTreeWriter.cc.
References edm::EDConsumerBase::consumesCollector(), fs_, edm::ParameterSet::getParameter(), TrackAssociatorParameters::loadParameters(), TFileService::make(), metProducer_cfi::parameters, parameters_, tree_, and treeMemPtr_.
EopTreeWriter::~EopTreeWriter | ( | ) |
Definition at line 118 of file EopTreeWriter.cc.
|
overrideprivatevirtual |
Definition at line 133 of file EopTreeWriter.cc.
References TrackDetectorAssociator::associate(), RecoEcal_EventContent_cff::ec, TrackDetMatchInfo::EcalRecHits, PV3DBase< T, PVType, FrameType >::eta(), Exception, EopVariables::fillVariables(), geometry, edm::EventSetup::get(), edm::Event::getByLabel(), getDistInCM(), TrackDetectorAssociator::getFreeTrajectoryState(), CaloGeometry::getPosition(), TrackDetMatchInfo::HcalRecHits, mps_fire::i, info(), TrackDetMatchInfo::nXnEnergy(), parameters_, PV3DBase< T, PVType, FrameType >::phi(), edm::ESHandle< T >::product(), rpcPointValidation_cfi::recHit, src_, HiIsolationCommonParameters_cff::track, trackAssociator_, l1t::tracks, tree_, treeMemPtr_, TrackDetMatchInfo::trkGlobPosAtEcal, TrackDetectorAssociator::useDefaultPropagator(), and TrackAssociatorParameters::useMuon.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 292 of file EopTreeWriter.cc.
References treeMemPtr_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 299 of file EopTreeWriter.cc.
References funct::cos(), DEFINE_FWK_MODULE, hiPixelPairStep_cff::deltaPhi, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, JetChargeProducer_cfi::exp, Pi, mathSSE::sqrt(), and funct::tan().
Referenced by analyze().
|
private |
Definition at line 84 of file EopTreeWriter.cc.
Referenced by EopTreeWriter().
|
private |
Definition at line 88 of file EopTreeWriter.cc.
Referenced by analyze(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Mixins._TypedParameterizable::copy(), and EopTreeWriter().
|
private |
Definition at line 82 of file EopTreeWriter.cc.
Referenced by analyze().
|
private |
Definition at line 87 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 86 of file EopTreeWriter.cc.
Referenced by analyze(), endJob(), and EopTreeWriter().