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 | bookAllBranches () |
bool | bookBranch (std::string bname, BranchType btype) |
void | cleanBranches () |
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 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) |
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 88 of file HIPTwoBodyDecayAnalyzer.cc.
References alcareco_trackCollToken_, bookAllBranches(), ctf_trackCollToken_, final_trackCollToken_, make_classfiles::fs, edm::ParameterSet::getParameter(), TFileService::kSharedResource, and refit1_trackCollToken_.
|
override |
Definition at line 255 of file HIPTwoBodyDecayAnalyzer.cc.
References cleanBranches().
|
private |
Definition at line 218 of file HIPTwoBodyDecayAnalyzer.cc.
References DMR_cfg::cerr, gather_cfg::cout, floatBranches, intBranches, shortBranches, and summarizeEdmComparisonLogfiles::success.
Referenced by bookAllBranches().
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 257 of file HIPTwoBodyDecayAnalyzer.cc.
References alcareco_trackCollToken_, analyzeTrackCollection(), ctf_trackCollToken_, final_trackCollToken_, edm::EventSetup::getData(), iEvent, initializeBranches(), refit1_trackCollToken_, and ttkbuilderToken_.
|
private |
Definition at line 291 of file HIPTwoBodyDecayAnalyzer.cc.
References TransientTrackBuilder::build(), DMR_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_2024v14_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().
|
private |
Definition at line 159 of file HIPTwoBodyDecayAnalyzer.cc.
References actuateBranches(), bookBranch(), BranchType_float_t, BranchType_short_t, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HIPTwoBodyDecayAnalyzer().
|
private |
Definition at line 204 of file HIPTwoBodyDecayAnalyzer.cc.
References make_classfiles::bname, BranchType_float_t, BranchType_int_t, BranchType_short_t, CalibrationSummaryClient_cfi::btype, DMR_cfg::cerr, floatBranches, intBranches, and shortBranches.
Referenced by bookAllBranches().
|
private |
Definition at line 124 of file HIPTwoBodyDecayAnalyzer.cc.
References floatBranches, intBranches, and shortBranches.
Referenced by ~HIPTwoBodyDecayAnalyzer().
|
static |
Definition at line 282 of file HIPTwoBodyDecayAnalyzer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
private |
Definition at line 408 of file HIPTwoBodyDecayAnalyzer.cc.
References TransientTrackBuilder::build(), TransientVertex::degreesOfFreedom(), TransientVertex::isValid(), GlobalErrorBase< T, ErrorWeightType >::matrix(), TransientVertex::position(), TransientVertex::positionError(), TransientVertex::totalChiSquared(), HLT_2024v14_cff::track, and KalmanVertexFitter::vertex().
Referenced by analyzeTrackCollection().
|
private |
Definition at line 144 of file HIPTwoBodyDecayAnalyzer.cc.
References floatBranches, intBranches, and shortBranches.
Referenced by analyze().
|
private |
Definition at line 103 of file HIPTwoBodyDecayAnalyzer.cc.
References make_classfiles::branchname, 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 make_classfiles::bname, BranchType_float_t, BranchType_int_t, BranchType_short_t, DMR_cfg::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().
|
private |
Definition at line 51 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by analyze().