Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Public Attributes | |
edm::EDGetTokenT< reco::TrackCollection > | alcareco_trackCollToken_ |
edm::EDGetTokenT< reco::TrackCollection > | ctf_trackCollToken_ |
edm::EDGetTokenT< reco::TrackCollection > | final_trackCollToken_ |
std::vector< std::pair< std::string, float * > > | floatBranches |
std::vector< std::pair< std::string, int * > > | intBranches |
edm::EDGetTokenT< reco::TrackCollection > | refit1_trackCollToken_ |
std::vector< std::pair< std::string, short * > > | shortBranches |
TTree * | tree |
Private Types | |
enum | BranchType { BranchType_short_t, BranchType_int_t, BranchType_float_t, BranchType_unknown_t } |
Private Member Functions | |
bool | actuateBranches () |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | analyzeTrackCollection (std::string strTrackType, edm::ESHandle< TransientTrackBuilder > &theTTBuilder, edm::Handle< reco::TrackCollection > &hTrackColl, bool verbose=false) |
void | beginJob () override |
void | bookAllBranches () |
bool | bookBranch (std::string bname, BranchType btype) |
void | cleanBranches () |
void | endJob () override |
reco::Vertex | fitDimuonVertex (edm::ESHandle< TransientTrackBuilder > &theTTBuilder, edm::Handle< reco::TrackCollection > &hTrackColl, bool &fitOk) |
void | initializeBranches () |
BranchType | searchArray (std::string branchname, int &position) |
template<typename varType > | |
void | setVal (std::string bname, varType value) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
Definition at line 32 of file HIPTwoBodyDecayAnalyzer.cc.
|
private |
Enumerator | |
---|---|
BranchType_short_t | |
BranchType_int_t | |
BranchType_float_t | |
BranchType_unknown_t |
Definition at line 50 of file HIPTwoBodyDecayAnalyzer.cc.
|
explicit |
Definition at line 88 of file HIPTwoBodyDecayAnalyzer.cc.
References alcareco_trackCollToken_, bookAllBranches(), ctf_trackCollToken_, final_trackCollToken_, edm::ParameterSet::getParameter(), TFileService::make(), and refit1_trackCollToken_.
|
override |
|
private |
Definition at line 215 of file HIPTwoBodyDecayAnalyzer.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, gather_cfg::cout, floatBranches, intBranches, shortBranches, and summarizeEdmComparisonLogfiles::success.
Referenced by bookAllBranches().
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 254 of file HIPTwoBodyDecayAnalyzer.cc.
References alcareco_trackCollToken_, analyzeTrackCollection(), ctf_trackCollToken_, final_trackCollToken_, edm::EventSetup::get(), get, iEvent, initializeBranches(), and refit1_trackCollToken_.
|
private |
Definition at line 290 of file HIPTwoBodyDecayAnalyzer.cc.
References TransientTrackBuilder::build(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, ALCARECOTkAlJpsiMuMu_cff::charge, RecoVertex::convertPos(), gather_cfg::cout, reco::TransientTrack::field(), fitDimuonVertex(), reco::TransientTrack::impactPointState(), edm::HandleBase::isValid(), dqmiolumiharvest::j, PV3DBase< T, PVType, FrameType >::mag(), VtxSmearedParameters_cfi::Phi, funct::pow(), setVal(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, HLT_FULL_cff::track, verbose, X, PV3DBase< T, PVType, FrameType >::x(), BeamSpotPI::Y, PV3DBase< T, PVType, FrameType >::y(), BeamSpotPI::Z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 281 of file HIPTwoBodyDecayAnalyzer.cc.
|
private |
Definition at line 156 of file HIPTwoBodyDecayAnalyzer.cc.
References actuateBranches(), bookBranch(), BranchType_float_t, BranchType_short_t, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HIPTwoBodyDecayAnalyzer().
|
private |
Definition at line 201 of file HIPTwoBodyDecayAnalyzer.cc.
References BranchType_float_t, BranchType_int_t, BranchType_short_t, CalibrationSummaryClient_cfi::btype, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, floatBranches, intBranches, and shortBranches.
Referenced by bookAllBranches().
|
private |
Definition at line 121 of file HIPTwoBodyDecayAnalyzer.cc.
References floatBranches, intBranches, and shortBranches.
Referenced by ~HIPTwoBodyDecayAnalyzer().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 282 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by o2olib.O2ORunMgr::executeJob().
|
static |
Definition at line 284 of file HIPTwoBodyDecayAnalyzer.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
private |
Definition at line 407 of file HIPTwoBodyDecayAnalyzer.cc.
References TransientTrackBuilder::build(), TransientVertex::isValid(), GlobalErrorBase< T, ErrorWeightType >::matrix(), TransientVertex::position(), TransientVertex::positionError(), HLT_FULL_cff::track, groupFilesInBlocks::tt, and KalmanVertexFitter::vertex().
Referenced by analyzeTrackCollection().
|
private |
Definition at line 141 of file HIPTwoBodyDecayAnalyzer.cc.
References floatBranches, intBranches, and shortBranches.
Referenced by analyze().
|
private |
Definition at line 100 of file HIPTwoBodyDecayAnalyzer.cc.
References BranchType_float_t, BranchType_int_t, BranchType_short_t, BranchType_unknown_t, floatBranches, intBranches, position, and shortBranches.
Referenced by setVal().
|
inlineprivate |
Definition at line 60 of file HIPTwoBodyDecayAnalyzer.cc.
References BranchType_float_t, BranchType_int_t, BranchType_short_t, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, floatBranches, intBranches, searchArray(), and shortBranches.
Referenced by analyzeTrackCollection().
edm::EDGetTokenT<reco::TrackCollection> HIPTwoBodyDecayAnalyzer::alcareco_trackCollToken_ |
Definition at line 37 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by analyze(), and HIPTwoBodyDecayAnalyzer().
edm::EDGetTokenT<reco::TrackCollection> HIPTwoBodyDecayAnalyzer::ctf_trackCollToken_ |
Definition at line 39 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by analyze(), and HIPTwoBodyDecayAnalyzer().
edm::EDGetTokenT<reco::TrackCollection> HIPTwoBodyDecayAnalyzer::final_trackCollToken_ |
Definition at line 40 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by analyze(), and HIPTwoBodyDecayAnalyzer().
std::vector<std::pair<std::string, float*> > HIPTwoBodyDecayAnalyzer::floatBranches |
Definition at line 45 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by actuateBranches(), bookBranch(), cleanBranches(), initializeBranches(), searchArray(), and setVal().
std::vector<std::pair<std::string, int*> > HIPTwoBodyDecayAnalyzer::intBranches |
Definition at line 46 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by actuateBranches(), bookBranch(), cleanBranches(), initializeBranches(), searchArray(), and setVal().
edm::EDGetTokenT<reco::TrackCollection> HIPTwoBodyDecayAnalyzer::refit1_trackCollToken_ |
Definition at line 38 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by analyze(), and HIPTwoBodyDecayAnalyzer().
std::vector<std::pair<std::string, short*> > HIPTwoBodyDecayAnalyzer::shortBranches |
Definition at line 47 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by actuateBranches(), bookBranch(), cleanBranches(), initializeBranches(), searchArray(), and setVal().
TTree* HIPTwoBodyDecayAnalyzer::tree |
Definition at line 44 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by eventstfile.Events::__iter__(), svgfig.SVG::__str__(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::beginLoop(), tree.Tree::branch_(), MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), TkAlMap.TkAlMap::detect_tracker_version(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), SimpleTreeProducer.SimpleTreeProducer::process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::process(), MetTreeProducer.MetTreeProducer::process(), python.cmstools.EventTree::SetAlias(), eventstfile.Events::size(), eventstfile.Events::to(), tree.Tree::var(), and tree.Tree::vector().