#include <vector>
#include <list>
#include <string>
#include <cmath>
#include <TEveElement.h>
#include <TEveGeoNode.h>
#include <TGeoNode.h>
#include "eve_macros.h"
Go to the source code of this file.
Functions | |
TEveGeoShape * | clone (const TEveElement *element, TEveElement *parent) |
void | expand_node (TEveElement *element) |
const char * | get_name (const TEveElement *element) |
const TGeoShape * | get_shape (const TEveElement *element) |
TGeoShape * | get_shape (TEveElement *element) |
const char * | get_title (const TEveElement *element) |
TGeoMatrix * | get_transform (const TEveElement *element) |
void | hide_tracker_endcap (TEveElement *tracker) |
bool | is_leaf_node (const TEveElement *element) |
void | set_children_visibility (TEveElement *element, const std::string &node_name, const std::vector< std::string > &children_name, bool visibility) |
void | set_color (TEveElement *element, Color_t color, float alpha, unsigned int levels) |
void | set_tracker_endcap_visibility (TEveElement *tracker, bool visibility) |
void | show_tracker_endcap (TEveElement *tracker) |
TEveGeoShape* clone | ( | const TEveElement * | element, |
TEveElement * | parent | ||
) |
Definition at line 135 of file eve_macros.cc.
References clone(), extract(), get_name(), get_shape(), get_title(), get_transform(), and makeMuonMisalignmentScenario::matrix.
Referenced by TrackValidation_cff::_addSelectorsByHp(), TrackValidation_cff::_addSelectorsByOriginalAlgoMask(), TrackValidation_cff::_addSelectorsBySrc(), trackselectionRefitting::_getModule(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::ak4JetReclustering(), applyDeepBtagging_cff::applyDeepBtagging(), BasicTrajectoryState::BasicTrajectoryState(), edm::Exception::categoryCode(), ConvertedPhotonProducer::cleanCollections(), clone(), FastTrackerRecHit::clone_(), DQMStore::cloneLumiHistograms(), DQMStore::cloneRunHistograms(), edm::service::cmssw_stacktrace_fork(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::copyCentralMETProducer(), customNtuples::create_ntuple(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::createMVAMETModule(), MuonSeedFromRecHits::createSeed(), MuonSeedCreator::createSeed(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::createShiftedModules(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::createSmearedJetModule(), customiseMTVForBPix123Holes::customiseMTVForBPix123Holes(), dqmCopyRecursively(), eGammaCorrection::eGammaCorrection(), common_cff::ExtVar(), reco::GenParticle::GenParticle(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::getCorrectedMET(), SiStripConfigDb::getDcuDetIds(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::getVariations(), ctfseeding::HitExtractor::HitExtractor(), edm::IDVectorMap< ID, C, P >::insert(), edm::OwnVector< T, P >::insert(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::jetCleaning(), extraJets_MuEGFixMoriond2017::makeRecoJetCollection(), MaterialEffectsUpdator::mass(), miniAOD_tools::miniAOD_customizeCommon(), TrackingRegionsSeedingLayerSets::const_iterator::operator++(), SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::operator++(), SeedingLayerSetsHits::SeedingLayerSet::const_iterator::operator++(), ihd::const_iterator< ValueType, HitSetType >::operator++(), IntermediateHitTriplets::RegionLayerSets::const_iterator::operator++(), SeedingLayerSetsHits::const_iterator::operator++(), VertexCompatibleWithBeam::operator=(), edm::OwnArray< T, MAX_SIZE, P >::OwnArray(), edm::OwnVector< T, P >::OwnVector(), edm::ParameterDescriptionNode::ParameterDescriptionNode(), edm::RangeMap< det_id_type, edm::OwnVector< B > >::post_insert(), MassKinFitterCandProducer::produce(), ParticleDecayProducer::produce(), AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >::produce(), PixelTracksProducer::produce(), ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >::produce(), Merger< InputCollection, OutputCollection, P >::produce(), UniqueMerger< InputCollection, OutputCollection, P >::produce(), TrackCandidateProducer::produce(), ConvBremSeedProducer::produce(), SeedToTrackProducer::produce(), TrajectorySeedProducer::produce(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::produceMET(), edm::OwnArray< T, MAX_SIZE, P >::push_back(), edm::OwnVector< T, P >::push_back(), edm::RangeMap< det_id_type, edm::OwnVector< B > >::put(), cms::Exception::raise(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::recomputeRawMetFromPfcs(), pfTools::reconfigurePF2PATTaus(), TrackingRegion::restrictedRegion(), SeedGeneratorForCRack::seeds(), SeedGeneratorForCosmics::seeds(), edm::OwnVector< T, P >::set(), Propagator::setMaxDirectionChange(), jetTools::setupBTagging(), jetTools::setupJetCorrections(), SplittingConfigurableHisto::SplittingConfigurableHisto(), pfTools::switchToPFJets(), trackTools.MakePATTrackCandidates::toolCode(), tauTools.AddTauCollection::toolCode(), common_cff::Var(), reco::PFTau::~PFTau(), and PhysicsTools::Calibration::VarProcessor::~VarProcessor().
void expand_node | ( | TEveElement * | element | ) |
Definition at line 43 of file eve_macros.cc.
References GetRecoTauVFromDQM_MC_cff::next.
Referenced by node_filter(), and set_color().
const char* get_name | ( | const TEveElement * | element | ) |
Definition at line 13 of file eve_macros.cc.
Referenced by apply_filter(), clone(), get_root_object(), and set_children_visibility().
const TGeoShape* get_shape | ( | const TEveElement * | element | ) |
TGeoShape* get_shape | ( | TEveElement * | element | ) |
Definition at line 81 of file eve_macros.cc.
const char* get_title | ( | const TEveElement * | element | ) |
TGeoMatrix* get_transform | ( | const TEveElement * | element | ) |
Definition at line 95 of file eve_macros.cc.
References mps_fire::i, makeMuonMisalignmentScenario::matrix, and class-composition::nodes.
Referenced by clone().
void hide_tracker_endcap | ( | TEveElement * | tracker | ) |
Definition at line 244 of file eve_macros.cc.
References set_tracker_endcap_visibility().
bool is_leaf_node | ( | const TEveElement * | element | ) |
void set_children_visibility | ( | TEveElement * | element, |
const std::string & | node_name, | ||
const std::vector< std::string > & | children_name, | ||
bool | visibility | ||
) |
Definition at line 193 of file eve_macros.cc.
References get_name(), mps_fire::i, is_leaf_node(), dataset::name, or, and findQualityFiles::size.
Referenced by set_tracker_endcap_visibility().
void set_color | ( | TEveElement * | element, |
Color_t | color, | ||
float | alpha, | ||
unsigned int | levels | ||
) |
Definition at line 154 of file eve_macros.cc.
References expand_node(), mps_fire::i, and set_color().
Referenced by FWProxyBuilderBase::getHaveWindow(), FWProxyBuilderBase::scaleProduct(), and set_color().
void set_tracker_endcap_visibility | ( | TEveElement * | tracker, |
bool | visibility | ||
) |
Definition at line 226 of file eve_macros.cc.
References makeMuonMisalignmentScenario::endcap, and set_children_visibility().
Referenced by hide_tracker_endcap(), and show_tracker_endcap().
void show_tracker_endcap | ( | TEveElement * | tracker | ) |
Definition at line 238 of file eve_macros.cc.
References set_tracker_endcap_visibility().