Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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, const 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 (const 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) |
Private Attributes | |
const edm::ESGetToken < TransientTrackBuilder, TransientTrackRecord > | ttkbuilderToken_ |
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 () noexcept |
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... | |
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) |
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 53 of file HIPTwoBodyDecayAnalyzer.cc.
|
explicit |
Definition at line 91 of file HIPTwoBodyDecayAnalyzer.cc.
References alcareco_trackCollToken_, bookAllBranches(), ctf_trackCollToken_, final_trackCollToken_, edm::ParameterSet::getParameter(), TFileService::kSharedResource, TFileService::make(), refit1_trackCollToken_, and tree.
|
override |
Definition at line 258 of file HIPTwoBodyDecayAnalyzer.cc.
References cleanBranches().
|
private |
Definition at line 221 of file HIPTwoBodyDecayAnalyzer.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, gather_cfg::cout, floatBranches, intBranches, shortBranches, summarizeEdmComparisonLogfiles::success, and tree.
Referenced by bookAllBranches().
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 260 of file HIPTwoBodyDecayAnalyzer.cc.
References alcareco_trackCollToken_, analyzeTrackCollection(), ctf_trackCollToken_, final_trackCollToken_, edm::Event::getByToken(), edm::EventSetup::getData(), initializeBranches(), dt_dqm_sourceclient_common_cff::reco, refit1_trackCollToken_, tree, and ttkbuilderToken_.
|
private |
Definition at line 294 of file HIPTwoBodyDecayAnalyzer.cc.
References TransientTrackBuilder::build(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, RecoTauCleanerPlugins::charge, RecoVertex::convertPos(), gather_cfg::cout, reco::TransientTrack::field(), fitDimuonVertex(), reco::TransientTrack::impactPointState(), edm::HandleBase::isValid(), dqmiolumiharvest::j, PV3DBase< T, PVType, FrameType >::mag(), colinearityKinematic::Phi, funct::pow(), dt_dqm_sourceclient_common_cff::reco, setVal(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, HLT_FULL_cff::track, 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::one::EDAnalyzerBase.
Definition at line 285 of file HIPTwoBodyDecayAnalyzer.cc.
|
private |
Definition at line 162 of file HIPTwoBodyDecayAnalyzer.cc.
References actuateBranches(), bookBranch(), BranchType_float_t, BranchType_short_t, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HIPTwoBodyDecayAnalyzer().
|
private |
Definition at line 207 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, and shortBranches.
Referenced by bookAllBranches().
|
private |
Definition at line 127 of file HIPTwoBodyDecayAnalyzer.cc.
References floatBranches, intBranches, and shortBranches.
Referenced by ~HIPTwoBodyDecayAnalyzer().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 286 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by o2olib.O2ORunMgr::executeJob().
|
static |
Definition at line 288 of file HIPTwoBodyDecayAnalyzer.cc.
References edm::ConfigurationDescriptions::addDefault(), submitPVResolutionJobs::desc, and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 411 of file HIPTwoBodyDecayAnalyzer.cc.
References TransientTrackBuilder::build(), TransientVertex::isValid(), dt_dqm_sourceclient_common_cff::reco, HLT_FULL_cff::track, and groupFilesInBlocks::tt.
Referenced by analyzeTrackCollection().
|
private |
Definition at line 147 of file HIPTwoBodyDecayAnalyzer.cc.
References floatBranches, intBranches, and shortBranches.
Referenced by analyze().
|
private |
Definition at line 106 of file HIPTwoBodyDecayAnalyzer.cc.
References BranchType_float_t, BranchType_int_t, BranchType_short_t, BranchType_unknown_t, floatBranches, intBranches, and shortBranches.
Referenced by setVal().
|
inlineprivate |
Definition at line 63 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__(), actuateBranches(), analyze(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::beginLoop(), MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), TkAlMap.TkAlMap::detect_tracker_version(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), HIPTwoBodyDecayAnalyzer(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::process(), MetTreeProducer.MetTreeProducer::process(), python.cmstools.EventTree::SetAlias(), and eventstfile.Events::to().
|
private |
Definition at line 51 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by analyze().