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 | 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 | |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
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 |
Definition at line 252 of file HIPTwoBodyDecayAnalyzer.cc.
References cleanBranches().
|
private |
Definition at line 215 of file HIPTwoBodyDecayAnalyzer.cc.
References beam_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, floatBranches, intBranches, shortBranches, and summarizeEdmComparisonLogfiles::success.
Referenced by bookAllBranches(), and setVal().
|
overrideprivate |
Definition at line 254 of file HIPTwoBodyDecayAnalyzer.cc.
References alcareco_trackCollToken_, analyzeTrackCollection(), ctf_trackCollToken_, final_trackCollToken_, edm::EventSetup::get(), edm::Event::getByToken(), initializeBranches(), and refit1_trackCollToken_.
|
private |
Definition at line 290 of file HIPTwoBodyDecayAnalyzer.cc.
References TransientTrackBuilder::build(), beam_dqm_sourceclient-live_cfg::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_2018_cff::track, X, PV3DBase< T, PVType, FrameType >::x(), DOFs::Y, PV3DBase< T, PVType, FrameType >::y(), DOFs::Z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze(), and setVal().
|
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, beam_dqm_sourceclient-live_cfg::cerr, floatBranches, intBranches, and shortBranches.
Referenced by bookAllBranches().
|
private |
Definition at line 121 of file HIPTwoBodyDecayAnalyzer.cc.
References floatBranches, intBranches, and shortBranches.
Referenced by setVal(), and ~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 edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 407 of file HIPTwoBodyDecayAnalyzer.cc.
References TransientTrackBuilder::build(), DEFINE_FWK_MODULE, TransientVertex::degreesOfFreedom(), TransientVertex::isValid(), GlobalErrorBase< T, ErrorWeightType >::matrix(), TransientVertex::position(), TransientVertex::positionError(), TransientVertex::totalChiSquared(), HLT_2018_cff::track, groupFilesInBlocks::tt, and KalmanVertexFitter::vertex().
Referenced by analyzeTrackCollection(), and setVal().
|
private |
Definition at line 141 of file HIPTwoBodyDecayAnalyzer.cc.
References floatBranches, intBranches, and shortBranches.
Referenced by analyze(), and setVal().
|
private |
Definition at line 100 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 60 of file HIPTwoBodyDecayAnalyzer.cc.
References actuateBranches(), analyzeTrackCollection(), BranchType_float_t, BranchType_int_t, BranchType_short_t, beam_dqm_sourceclient-live_cfg::cerr, cleanBranches(), fitDimuonVertex(), initializeBranches(), searchArray(), and AlCaHLTBitMon_QueryRunRegistry::string.
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(), and searchArray().
std::vector<std::pair<std::string, int*> > HIPTwoBodyDecayAnalyzer::intBranches |
Definition at line 46 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by actuateBranches(), bookBranch(), cleanBranches(), initializeBranches(), and searchArray().
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(), and searchArray().
TTree* HIPTwoBodyDecayAnalyzer::tree |
Definition at line 44 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by eventstfile.Events::__iter__(), svgfig.SVG::__str__(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::beginLoop(), MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::process(), MetTreeProducer.MetTreeProducer::process(), python.cmstools.EventTree::SetAlias(), and eventstfile.Events::to().