CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
TICLDumper Class Reference
Inheritance diagram for TICLDumper:
edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Types

typedef std::vector< double > Vec
 
typedef ticl::Vector Vector
 
- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 TICLDumper (const edm::ParameterSet &)
 
 ~TICLDumper () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const noexcept final
 
bool wantsGlobalRuns () const noexcept final
 
bool wantsInputProcessBlocks () const noexcept final
 
bool wantsProcessBlocks () const noexcept final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const noexcept
 
bool wantsStreamRuns () const noexcept
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

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)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void beginRun (const edm::Run &, const edm::EventSetup &) override
 
void clearVariables ()
 
void endJob () override
 
void endRun (edm::Run const &iEvent, edm::EventSetup const &) override
 

Private Attributes

std::vector< TracksterToSimTracksterAssociationHelperassociations_dumperHelpers_
 the dumper helpers for each association map to dump More...
 
const std::vector< edm::ParameterSetassociations_parameterSets_
 A parameter set for each associator collection to dump (with treeName, etc) More...
 
std::vector< edm::EDGetTokenT< ticl::RecoToSimCollectionSimTracksters > > associations_recoToSim_token_
 
std::vector< edm::EDGetTokenT< ticl::SimToRecoCollectionSimTracksters > > associations_simToReco_token_
 The tokens for each assocation. More...
 
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > associations_simTracksterCollection_
 the collection of simtracksters used by the associator More...
 
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > associations_tracksterCollection_
 the collection of tracksters used by the associator More...
 
TTree * associations_tree_
 
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecordbfield_token_
 
edm::ESGetToken< CaloGeometry, CaloGeometryRecordcaloGeometry_token_
 
const edm::EDGetTokenT< std::vector< CaloParticle > > caloparticles_token_
 
std::vector< int > candidate_charge
 
std::vector< float > candidate_energy
 
std::vector< std::vector< float > > candidate_id_probabilities
 
std::vector< int > candidate_pdgId
 
std::vector< double > candidate_px
 
std::vector< double > candidate_py
 
std::vector< double > candidate_pz
 
std::vector< float > candidate_raw_energy
 
std::vector< float > candidate_time
 
std::vector< float > candidate_time_err
 
TTree * candidate_tree_
 
std::vector< float > cluster_correctedEnergy
 
std::vector< float > cluster_correctedEnergyUncertainty
 
std::vector< float > cluster_energy
 
std::vector< unsigned int > cluster_layer_id
 
std::vector< uint32_t > cluster_number_of_hits
 
std::vector< float > cluster_position_eta
 
std::vector< float > cluster_position_phi
 
std::vector< float > cluster_position_x
 
std::vector< float > cluster_position_y
 
std::vector< float > cluster_position_z
 
std::vector< uint32_t > cluster_seedID
 
std::vector< float > cluster_time
 
std::vector< float > cluster_timeErr
 
TTree * cluster_tree_
 
std::vector< int > cluster_type
 
const edm::EDGetTokenT< edm::ValueMap< std::pair< float, float > > > clustersTime_token_
 
const std::string detector_
 
std::unique_ptr< DetectorToolsdetectorTools_
 
edm::EventID eventId_
 
const edm::ESGetToken< CaloGeometry, CaloGeometryRecordgeometry_token_
 
edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecordhdc_token_
 
const edm::EDGetTokenT< std::vector< double > > hgcaltracks_eta_token_
 
const edm::EDGetTokenT< std::vector< double > > hgcaltracks_phi_token_
 
const edm::EDGetTokenT< std::vector< double > > hgcaltracks_px_token_
 
const edm::EDGetTokenT< std::vector< double > > hgcaltracks_py_token_
 
const edm::EDGetTokenT< std::vector< double > > hgcaltracks_pz_token_
 
const edm::EDGetTokenT< std::vector< double > > hgcaltracks_x_token_
 
const edm::EDGetTokenT< std::vector< double > > hgcaltracks_y_token_
 
const edm::EDGetTokenT< std::vector< double > > hgcaltracks_z_token_
 
const edm::EDGetTokenT< std::vector< reco::CaloCluster > > layer_clusters_token_
 
const edm::EDGetTokenT< std::vector< reco::Muon > > muons_token_
 
size_t nCandidates
 
unsigned int nclusters_
 
const edm::ESGetToken< Propagator, TrackingComponentsRecordpropagator_token_
 
const std::string propName_
 
std::vector< std::vector< uint32_t > > recoSuperCluster_constituentTs
 Indices to all tracksters inside the supercluster (same) More...
 
std::vector< double > recoSuperCluster_correctedEnergy
 
std::vector< double > recoSuperCluster_energy
 
std::vector< double > recoSuperCluster_position_eta
 
std::vector< double > recoSuperCluster_position_phi
 
std::vector< double > recoSuperCluster_position_x
 
std::vector< double > recoSuperCluster_position_y
 
std::vector< double > recoSuperCluster_position_z
 
std::vector< double > recoSuperCluster_rawEnergy
 
std::vector< uint32_t > recoSuperCluster_seedTs
 Index to seed trackster (into the trackster collection used to make superclusters, given by config recoSuperClusters_sourceTracksterCollection) More...
 
const edm::EDGetTokenT< reco::CaloClusterCollectionrecoSuperClusters_caloClusters_token
 
const edm::EDGetTokenT< std::vector< ticl::Trackster > > recoSuperClusters_sourceTracksters_token
 
const edm::EDGetTokenT< reco::SuperClusterCollectionrecoSuperClusters_token
 
bool saveLCs_
 
bool saveRecoSuperclusters_
 
bool saveSimTICLCandidate_
 
bool saveSuperclustering_
 
bool saveSuperclusteringDNNScore_
 
bool saveTICLCandidate_
 
bool saveTracks_
 
const edm::EDGetTokenT< std::vector< SimCluster > > simclusters_token_
 
std::vector< float > simTICLCandidate_boundaryPx
 
std::vector< float > simTICLCandidate_boundaryPy
 
std::vector< float > simTICLCandidate_boundaryPz
 
std::vector< float > simTICLCandidate_boundaryX
 
std::vector< float > simTICLCandidate_boundaryY
 
std::vector< float > simTICLCandidate_boundaryZ
 
std::vector< float > simTICLCandidate_caloParticleMass
 
std::vector< int > simTICLCandidate_charge
 
std::vector< int > simTICLCandidate_pdgId
 
std::vector< float > simTICLCandidate_raw_energy
 
std::vector< float > simTICLCandidate_regressed_energy
 
std::vector< std::vector< int > > simTICLCandidate_simTracksterCPIndex
 
std::vector< float > simTICLCandidate_time
 
const edm::EDGetTokenT< std::vector< TICLCandidate > > simTICLCandidate_token_
 
std::vector< int > simTICLCandidate_track_in_candidate
 
TTree * simTICLCandidate_tree
 
const edm::EDGetTokenT< std::vector< ticl::Trackster > > simTracksters_SC_token_
 
std::vector< std::vector< unsigned int > > superclustering_linkedResultTracksters
 
const edm::EDGetTokenT< std::vector< std::vector< unsigned int > > > superclustering_linkedResultTracksters_token
 
TTree * superclustering_tree_
 
const edm::EDGetTokenT< std::vector< TICLCandidate > > ticl_candidates_token_
 
const edm::EDGetTokenT< std::vector< ticl::Trackster > > ticl_candidates_tracksters_token_
 trackster collection used by TICLCandidate More...
 
std::vector< float > track_beta
 
std::vector< int > track_charge
 
std::vector< float > track_hgcal_eta
 
std::vector< float > track_hgcal_phi
 
std::vector< float > track_hgcal_pt
 
std::vector< float > track_hgcal_px
 
std::vector< float > track_hgcal_py
 
std::vector< float > track_hgcal_pz
 
std::vector< float > track_hgcal_x
 
std::vector< float > track_hgcal_y
 
std::vector< float > track_hgcal_z
 
std::vector< unsigned int > track_id
 
std::vector< int > track_in_candidate
 
std::vector< int > track_isMuon
 
std::vector< int > track_isTrackerMuon
 
std::vector< int > track_missing_inner_hits
 
std::vector< int > track_missing_outer_hits
 
std::vector< int > track_nhits
 
std::vector< GlobalPointtrack_pos_mtd
 
std::vector< float > track_pt
 
std::vector< int > track_quality
 
std::vector< double > track_time
 
std::vector< float > track_time_err
 
std::vector< float > track_time_mtd
 
std::vector< float > track_time_mtd_err
 
std::vector< float > track_time_quality
 
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_beta_token_
 
const edm::EDGetTokenT< std::vector< bool > > tracks_mask_token_
 
const edm::EDGetTokenT< edm::ValueMap< GlobalPoint > > tracks_pos_mtd_token_
 
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_err_token_
 
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_mtd_err_token_
 
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_mtd_token_
 
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_quality_token_
 
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_token_
 
const edm::EDGetTokenT< std::vector< reco::Track > > tracks_token_
 
TTree * tracks_tree_
 
std::vector< TracksterDumperHelpertracksters_dumperHelpers_
 the dumper helpers for each trackster collection to dump More...
 
std::vector< std::vector< uint32_t > > tracksters_in_candidate
 
const edm::EDGetTokenT< std::vector< ticl::Trackster > > tracksters_in_candidate_token_
 
const std::vector< edm::ParameterSettracksters_parameterSets_
 A parameter set for each trackster collection to dump (giving tree name, etc) More...
 
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > tracksters_token_
 a token for each trackster collection to dump More...
 
std::vector< TTree * > tracksters_trees
 TTree for each trackster collection to dump. More...
 
const edm::EDGetTokenT< std::vector< int > > tracksterSeeds_token_
 
TTree * tree_
 

Additional Inherited Members

- 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< Bconsumes (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)
 

Detailed Description

Definition at line 563 of file TICLDumper.cc.

Member Typedef Documentation

◆ Vec

typedef std::vector<double> TICLDumper::Vec

Definition at line 569 of file TICLDumper.cc.

◆ Vector

Definition at line 568 of file TICLDumper.cc.

Constructor & Destructor Documentation

◆ TICLDumper()

TICLDumper::TICLDumper ( const edm::ParameterSet ps)
explicit

Definition at line 854 of file TICLDumper.cc.

References associations_parameterSets_, associations_recoToSim_token_, associations_simToReco_token_, associations_simTracksterCollection_, associations_tracksterCollection_, edm::EDConsumerBase::consumes(), detector_, hdc_token_, SimL1EmulatorRepack_Full_cff::inputTag, AlCaHLTBitMon_QueryRunRegistry::string, tracksters_dumperHelpers_, tracksters_parameterSets_, tracksters_token_, and TracksterDumperHelper::tracksterTypeFromString().

855  : tracksters_parameterSets_(ps.getParameter<std::vector<edm::ParameterSet>>("tracksterCollections")),
858  consumes<std::vector<ticl::Trackster>>(ps.getParameter<edm::InputTag>("trackstersInCand"))),
859  layer_clusters_token_(consumes<std::vector<reco::CaloCluster>>(ps.getParameter<edm::InputTag>("layerClusters"))),
860  ticl_candidates_token_(consumes<std::vector<TICLCandidate>>(ps.getParameter<edm::InputTag>("ticlcandidates"))),
862  consumes<std::vector<ticl::Trackster>>(ps.getParameter<edm::InputTag>("ticlcandidates"))),
863  tracks_token_(consumes<std::vector<reco::Track>>(ps.getParameter<edm::InputTag>("tracks"))),
871  muons_token_(consumes<std::vector<reco::Muon>>(ps.getParameter<edm::InputTag>("muons"))),
873  consumes<edm::ValueMap<std::pair<float, float>>>(ps.getParameter<edm::InputTag>("layer_clustersTime"))),
875  consumes<std::vector<std::vector<unsigned int>>>(ps.getParameter<edm::InputTag>("superclustering"))),
877  consumes<reco::SuperClusterCollection>(ps.getParameter<edm::InputTag>("recoSuperClusters"))),
879  consumes<reco::CaloClusterCollection>(ps.getParameter<edm::InputTag>("recoSuperClusters"))),
880  recoSuperClusters_sourceTracksters_token(consumes<std::vector<ticl::Trackster>>(
881  ps.getParameter<edm::InputTag>("recoSuperClusters_sourceTracksterCollection"))),
882  caloGeometry_token_(esConsumes<CaloGeometry, CaloGeometryRecord, edm::Transition::BeginRun>()),
884  consumes<std::vector<ticl::Trackster>>(ps.getParameter<edm::InputTag>("simtrackstersSC"))),
886  consumes<std::vector<TICLCandidate>>(ps.getParameter<edm::InputTag>("simTICLCandidates"))),
887  associations_parameterSets_(ps.getParameter<std::vector<edm::ParameterSet>>("associators")),
888  // The DumperHelpers should not be moved after construction (needed by TTree branch pointers), so construct them all here
892  geometry_token_(esConsumes<CaloGeometry, CaloGeometryRecord, edm::Transition::BeginRun>()),
893  detector_(ps.getParameter<std::string>("detector")),
894  propName_(ps.getParameter<std::string>("propagator")),
895  bfield_token_(esConsumes<MagneticField, IdealMagneticFieldRecord, edm::Transition::BeginRun>()),
897  esConsumes<Propagator, TrackingComponentsRecord, edm::Transition::BeginRun>(edm::ESInputTag("", propName_))),
898  saveLCs_(ps.getParameter<bool>("saveLCs")),
899  saveSuperclustering_(ps.getParameter<bool>("saveSuperclustering")),
900  //saveSuperclusteringDNNScore_(ps.getParameter<bool>("saveSuperclusteringDNNScore")),
901  saveRecoSuperclusters_(ps.getParameter<bool>("saveRecoSuperclusters")),
902  saveTICLCandidate_(ps.getParameter<bool>("saveSimTICLCandidate")),
903  saveSimTICLCandidate_(ps.getParameter<bool>("saveSimTICLCandidate")),
904  saveTracks_(ps.getParameter<bool>("saveTracks")) {
905  std::string detectorName_ = (detector_ == "HFNose") ? "HGCalHFNoseSensitive" : "HGCalEESensitive";
906  hdc_token_ =
907  esConsumes<HGCalDDDConstants, IdealGeometryRecord, edm::Transition::BeginRun>(edm::ESInputTag("", detectorName_));
908 
909  for (edm::ParameterSet const& tracksterPset : tracksters_parameterSets_) {
910  tracksters_token_.push_back(
911  consumes<std::vector<ticl::Trackster>>(tracksterPset.getParameter<edm::InputTag>("inputTag")));
912  tracksters_dumperHelpers_.emplace_back(
913  TracksterDumperHelper::tracksterTypeFromString(tracksterPset.getParameter<std::string>("tracksterType")));
914  }
915 
916  for (edm::ParameterSet const& associationPset : associations_parameterSets_) {
917  edm::InputTag const& inputTag = associationPset.getParameter<edm::InputTag>("associatorInputTag");
918  associations_recoToSim_token_.push_back(consumes<ticl::RecoToSimCollectionSimTracksters>(
919  edm::InputTag(inputTag.label(), "recoToSim", inputTag.process())));
920  associations_simToReco_token_.push_back(consumes<ticl::SimToRecoCollectionSimTracksters>(
921  edm::InputTag(inputTag.label(), "simToReco", inputTag.process())));
923  consumes<std::vector<ticl::Trackster>>(associationPset.getParameter<edm::InputTag>("tracksterCollection")));
925  consumes<std::vector<ticl::Trackster>>(associationPset.getParameter<edm::InputTag>("simTracksterCollection")));
926  }
927 };
const edm::EDGetTokenT< reco::SuperClusterCollection > recoSuperClusters_token
Definition: TICLDumper.cc:614
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > tracksters_token_
a token for each trackster collection to dump
Definition: TICLDumper.cc:583
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometry_token_
Definition: TICLDumper.cc:638
std::vector< edm::EDGetTokenT< ticl::RecoToSimCollectionSimTracksters > > associations_recoToSim_token_
Definition: TICLDumper.cc:626
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
std::vector< TracksterToSimTracksterAssociationHelper > associations_dumperHelpers_
the dumper helpers for each association map to dump
Definition: TICLDumper.cc:628
bool saveSuperclustering_
Definition: TICLDumper.cc:646
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_beta_token_
Definition: TICLDumper.cc:598
const edm::EDGetTokenT< edm::ValueMap< GlobalPoint > > tracks_pos_mtd_token_
Definition: TICLDumper.cc:601
const edm::EDGetTokenT< std::vector< std::vector< unsigned int > > > superclustering_linkedResultTracksters_token
Definition: TICLDumper.cc:613
const edm::EDGetTokenT< reco::CaloClusterCollection > recoSuperClusters_caloClusters_token
Definition: TICLDumper.cc:615
bool saveRecoSuperclusters_
Definition: TICLDumper.cc:648
const edm::EDGetTokenT< std::vector< TICLCandidate > > ticl_candidates_token_
Definition: TICLDumper.cc:590
const edm::EDGetTokenT< std::vector< ticl::Trackster > > simTracksters_SC_token_
Definition: TICLDumper.cc:618
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_quality_token_
Definition: TICLDumper.cc:596
const edm::ESGetToken< Propagator, TrackingComponentsRecord > propagator_token_
Definition: TICLDumper.cc:642
static TracksterType tracksterTypeFromString(std::string str)
Definition: TICLDumper.cc:115
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > associations_simTracksterCollection_
the collection of simtracksters used by the associator
Definition: TICLDumper.cc:632
const edm::EDGetTokenT< std::vector< CaloParticle > > caloparticles_token_
Definition: TICLDumper.cc:636
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_token_
Definition: TICLDumper.cc:595
const edm::EDGetTokenT< std::vector< ticl::Trackster > > tracksters_in_candidate_token_
Definition: TICLDumper.cc:588
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > associations_tracksterCollection_
the collection of tracksters used by the associator
Definition: TICLDumper.cc:630
bool saveTICLCandidate_
Definition: TICLDumper.cc:649
const std::vector< edm::ParameterSet > associations_parameterSets_
A parameter set for each associator collection to dump (with treeName, etc)
Definition: TICLDumper.cc:623
const std::string propName_
Definition: TICLDumper.cc:640
bool saveLCs_
Definition: TICLDumper.cc:645
const edm::EDGetTokenT< std::vector< ticl::Trackster > > ticl_candidates_tracksters_token_
trackster collection used by TICLCandidate
Definition: TICLDumper.cc:592
edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hdc_token_
Definition: TICLDumper.cc:643
bool saveTracks_
Definition: TICLDumper.cc:651
const edm::EDGetTokenT< std::vector< ticl::Trackster > > recoSuperClusters_sourceTracksters_token
Definition: TICLDumper.cc:616
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_mtd_token_
Definition: TICLDumper.cc:599
std::vector< TracksterDumperHelper > tracksters_dumperHelpers_
the dumper helpers for each trackster collection to dump
Definition: TICLDumper.cc:585
bool saveSimTICLCandidate_
Definition: TICLDumper.cc:650
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_mtd_err_token_
Definition: TICLDumper.cc:600
const edm::EDGetTokenT< edm::ValueMap< std::pair< float, float > > > clustersTime_token_
Definition: TICLDumper.cc:611
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_err_token_
Definition: TICLDumper.cc:597
const edm::EDGetTokenT< std::vector< TICLCandidate > > simTICLCandidate_token_
Definition: TICLDumper.cc:619
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bfield_token_
Definition: TICLDumper.cc:641
const edm::EDGetTokenT< std::vector< reco::CaloCluster > > layer_clusters_token_
Definition: TICLDumper.cc:589
const std::vector< edm::ParameterSet > tracksters_parameterSets_
A parameter set for each trackster collection to dump (giving tree name, etc)
Definition: TICLDumper.cc:581
const edm::EDGetTokenT< std::vector< reco::Track > > tracks_token_
Definition: TICLDumper.cc:593
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry_token_
Definition: TICLDumper.cc:617
const edm::EDGetTokenT< std::vector< reco::Muon > > muons_token_
Definition: TICLDumper.cc:610
const edm::EDGetTokenT< std::vector< SimCluster > > simclusters_token_
Definition: TICLDumper.cc:635
std::vector< edm::EDGetTokenT< ticl::SimToRecoCollectionSimTracksters > > associations_simToReco_token_
The tokens for each assocation.
Definition: TICLDumper.cc:625
const std::string detector_
Definition: TICLDumper.cc:639

◆ ~TICLDumper()

TICLDumper::~TICLDumper ( )
override

Definition at line 929 of file TICLDumper.cc.

References clearVariables().

929 { clearVariables(); };
void clearVariables()
Definition: TICLDumper.cc:758

Member Function Documentation

◆ analyze()

void TICLDumper::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 1065 of file TICLDumper.cc.

References cms::cuda::assert(), associations_dumperHelpers_, associations_recoToSim_token_, associations_simToReco_token_, associations_simTracksterCollection_, associations_tracksterCollection_, associations_tree_, caloparticles_token_, candidate_charge, candidate_energy, candidate_id_probabilities, candidate_pdgId, candidate_px, candidate_py, candidate_pz, candidate_raw_energy, candidate_time, candidate_time_err, candidate_tree_, clearVariables(), cluster_correctedEnergy, cluster_correctedEnergyUncertainty, cluster_energy, cluster_layer_id, cluster_number_of_hits, cluster_position_eta, cluster_position_phi, cluster_position_x, cluster_position_y, cluster_position_z, cluster_seedID, cluster_time, cluster_timeErr, cluster_tree_, cluster_type, bsc_activity_cfg::clusters, clustersTime_token_, detectorTools_, hcalRecHitTable_cff::detId, eventId_, dqmdumpme::first, HLT_2024v14_cff::fraction, reco::TrackBase::highPurity, mps_fire::i, createfilelist::int, PFMuonAlgo::isMuon(), dqmiolumiharvest::j, layer_clusters_token_, PFMuonAlgo::muAssocToTrack(), DiMuonV_cfg::muons, muons_token_, nCandidates, nclusters_, trajectoryStateTransform::outerFreeState(), recoSuperCluster_constituentTs, recoSuperCluster_correctedEnergy, recoSuperCluster_energy, recoSuperCluster_position_eta, recoSuperCluster_position_phi, recoSuperCluster_position_x, recoSuperCluster_position_y, recoSuperCluster_position_z, recoSuperCluster_rawEnergy, recoSuperCluster_seedTs, recoSuperClusters_sourceTracksters_token, recoSuperClusters_token, saveLCs_, saveRecoSuperclusters_, saveSimTICLCandidate_, saveSuperclustering_, saveTICLCandidate_, saveTracks_, simclusters_token_, simTICLCandidate_boundaryPx, simTICLCandidate_boundaryPy, simTICLCandidate_boundaryPz, simTICLCandidate_boundaryX, simTICLCandidate_boundaryY, simTICLCandidate_boundaryZ, simTICLCandidate_charge, simTICLCandidate_pdgId, simTICLCandidate_raw_energy, simTICLCandidate_regressed_energy, simTICLCandidate_simTracksterCPIndex, simTICLCandidate_time, simTICLCandidate_token_, simTICLCandidate_track_in_candidate, simTICLCandidate_tree, simTracksters_SC_token_, superclustering_linkedResultTracksters, superclustering_linkedResultTracksters_token, superclustering_tree_, ticl_candidates_token_, ticl_candidates_tracksters_token_, ticlDumper_cff::ticlcandidates, HLT_2024v14_cff::track, track_beta, track_charge, track_hgcal_eta, track_hgcal_phi, track_hgcal_pt, track_hgcal_px, track_hgcal_py, track_hgcal_pz, track_hgcal_x, track_hgcal_y, track_hgcal_z, track_id, track_in_candidate, track_isMuon, track_isTrackerMuon, track_missing_inner_hits, track_missing_outer_hits, track_nhits, track_pos_mtd, track_pt, track_quality, track_time, track_time_err, track_time_mtd, track_time_mtd_err, track_time_quality, DiMuonV_cfg::tracks, tracks_beta_token_, tracks_pos_mtd_token_, tracks_time_err_token_, tracks_time_mtd_err_token_, tracks_time_mtd_token_, tracks_time_quality_token_, tracks_time_token_, tracks_token_, tracks_tree_, tracksters_dumperHelpers_, tracksters_in_candidate, tracksters_in_candidate_token_, tracksters_token_, tracksters_trees, and AlignmentTracksFromVertexSelector_cfi::vertices.

1065  {
1066  eventId_ = event.id();
1067  clearVariables();
1068 
1069  edm::Handle<std::vector<ticl::Trackster>> tracksters_in_candidate_handle;
1070  event.getByToken(tracksters_in_candidate_token_, tracksters_in_candidate_handle);
1071 
1072  //get all the layer clusters
1074  event.getByToken(layer_clusters_token_, layer_clusters_h);
1075  const auto& clusters = *layer_clusters_h;
1076 
1078  event.getByToken(clustersTime_token_, clustersTime_h);
1079  const auto& layerClustersTimes = *clustersTime_h;
1080 
1081  //TICL Candidate
1083  event.getByToken(ticl_candidates_token_, candidates_h);
1084  const auto& ticlcandidates = *candidates_h;
1085  edm::Handle<std::vector<ticl::Trackster>> ticlcandidates_tracksters_h =
1086  event.getHandle(ticl_candidates_tracksters_token_);
1087 
1088  //Track
1090  event.getByToken(tracks_token_, tracks_h);
1091  const auto& tracks = *tracks_h;
1092 
1093  edm::Handle<edm::ValueMap<float>> trackTime_h;
1094  event.getByToken(tracks_time_token_, trackTime_h);
1095  const auto& trackTime = *trackTime_h;
1096 
1097  edm::Handle<edm::ValueMap<float>> trackTimeErr_h;
1098  event.getByToken(tracks_time_err_token_, trackTimeErr_h);
1099  const auto& trackTimeErr = *trackTimeErr_h;
1100 
1101  edm::Handle<edm::ValueMap<float>> trackBeta_h;
1102  event.getByToken(tracks_beta_token_, trackBeta_h);
1103  const auto& trackBeta = *trackBeta_h;
1104 
1105  edm::Handle<edm::ValueMap<float>> trackTimeQual_h;
1106  event.getByToken(tracks_time_quality_token_, trackTimeQual_h);
1107  const auto& trackTimeQual = *trackTimeQual_h;
1108 
1109  edm::Handle<edm::ValueMap<float>> trackTimeMtd_h;
1110  event.getByToken(tracks_time_mtd_token_, trackTimeMtd_h);
1111  const auto& trackTimeMtd = *trackTimeMtd_h;
1112 
1113  edm::Handle<edm::ValueMap<float>> trackTimeMtdErr_h;
1114  event.getByToken(tracks_time_mtd_err_token_, trackTimeMtdErr_h);
1115  const auto& trackTimeMtdErr = *trackTimeMtdErr_h;
1116 
1118  event.getByToken(tracks_pos_mtd_token_, trackPosMtd_h);
1119  const auto& trackPosMtd = *trackPosMtd_h;
1120 
1121  // superclustering
1122  if (saveSuperclustering_) // To support running with Mustache
1124 
1125  // muons
1127  event.getByToken(muons_token_, muons_h);
1128  auto& muons = *muons_h;
1129 
1130  // recoSuperClusters
1131  if (saveRecoSuperclusters_) {
1132  reco::SuperClusterCollection const& recoSuperClusters = event.get(recoSuperClusters_token);
1133  // reco::CaloClusterCollection const& recoCaloClusters = event.get(recoSuperClusters_caloClusters_token);
1134  std::vector<ticl::Trackster> const& recoSuperClusters_sourceTracksters =
1136 
1137  // Map for fast lookup of hit to trackster index in recoSuperClusters_sourceTracksters
1138  std::unordered_map<DetId, unsigned> hitToTracksterMap;
1139 
1140  for (unsigned ts_id = 0; ts_id < recoSuperClusters_sourceTracksters.size(); ts_id++) {
1141  for (unsigned int lc_index : recoSuperClusters_sourceTracksters[ts_id].vertices()) {
1142  for (auto [detId, fraction] : clusters[lc_index].hitsAndFractions()) {
1143  bool insertionSucceeded = hitToTracksterMap.emplace(detId, ts_id).second;
1144  assert(insertionSucceeded && "TICLDumper found tracksters sharing rechits");
1145  }
1146  }
1147  }
1148 
1149  for (auto const& recoSc : recoSuperClusters) {
1150  recoSuperCluster_rawEnergy.push_back(recoSc.rawEnergy());
1151  recoSuperCluster_energy.push_back(recoSc.energy());
1152  recoSuperCluster_correctedEnergy.push_back(recoSc.correctedEnergy());
1153  recoSuperCluster_position_x.push_back(recoSc.position().x());
1154  recoSuperCluster_position_y.push_back(recoSc.position().y());
1155  recoSuperCluster_position_z.push_back(recoSc.position().z());
1156  recoSuperCluster_position_eta.push_back(recoSc.position().eta());
1157  recoSuperCluster_position_phi.push_back(recoSc.position().phi());
1158 
1159  // Finding the trackster that was used to create the CaloCluster, using the DetId of a hit (we assume there is no sharing of rechits between tracksters)
1160 
1161  // Seed trackster of the supercluster : Using the DetId of the seed rechit of the seed CaloCluster
1162  recoSuperCluster_seedTs.push_back(hitToTracksterMap.at(recoSc.seed()->seed()));
1163  recoSuperCluster_constituentTs.emplace_back();
1164  for (edm::Ptr<reco::CaloCluster> const& caloClusterPtr : recoSc.clusters()) {
1165  // Using the DetId of the seed rechit of the CaloCluster
1166  recoSuperCluster_constituentTs.back().push_back(hitToTracksterMap.at(caloClusterPtr->seed()));
1167  }
1168  }
1169  }
1170 
1171  edm::Handle<std::vector<TICLCandidate>> simTICLCandidates_h;
1172  event.getByToken(simTICLCandidate_token_, simTICLCandidates_h);
1173  const auto& simTICLCandidates = *simTICLCandidates_h;
1174 
1175  edm::Handle<std::vector<CaloParticle>> caloparticles_h;
1176  event.getByToken(caloparticles_token_, caloparticles_h);
1177 
1178  auto simclusters_h = event.getHandle(simclusters_token_);
1179 
1180  nclusters_ = clusters.size();
1181 
1182  // Save all the trackster collections
1183  for (unsigned int i = 0; i < tracksters_dumperHelpers_.size(); i++) {
1184  edm::Handle<std::vector<ticl::Trackster>> tracksters_handle;
1185  std::vector<ticl::Trackster> const& tracksters = event.get<std::vector<ticl::Trackster>>(tracksters_token_[i]);
1186  tracksters_dumperHelpers_[i].fillFromEvent(
1187  tracksters, clusters, layerClustersTimes, *detectorTools_, simclusters_h, caloparticles_h, tracks);
1188  tracksters_trees[i]->Fill();
1189  }
1190 
1191  const auto& simTrackstersSC_h = event.getHandle(simTracksters_SC_token_);
1192  simTICLCandidate_track_in_candidate.resize(simTICLCandidates.size(), -1);
1193  for (size_t i = 0; i < simTICLCandidates.size(); ++i) {
1194  auto const& cand = simTICLCandidates[i];
1195 
1196  simTICLCandidate_raw_energy.push_back(cand.rawEnergy());
1197  simTICLCandidate_regressed_energy.push_back(cand.p4().energy());
1198  simTICLCandidate_pdgId.push_back(cand.pdgId());
1199  simTICLCandidate_charge.push_back(cand.charge());
1200  simTICLCandidate_time.push_back(cand.time());
1201  std::vector<int> tmpIdxVec;
1202  for (auto const& simTS : cand.tracksters()) {
1203  auto trackster_idx = simTS.get() - (edm::Ptr<ticl::Trackster>(simTrackstersSC_h, 0)).get();
1204  tmpIdxVec.push_back(trackster_idx);
1205  }
1206  simTICLCandidate_simTracksterCPIndex.push_back(tmpIdxVec);
1207  tmpIdxVec.clear();
1208  auto const& trackPtr = cand.trackPtr();
1209  if (!trackPtr.isNull()) {
1210  auto const& track = *trackPtr;
1211  int iSide = int(track.eta() > 0);
1212  int tk_idx = trackPtr.get() - (edm::Ptr<reco::Track>(tracks_h, 0)).get();
1214 
1215  const auto& fts = trajectoryStateTransform::outerFreeState((track), &detectorTools_->bfield);
1216  // to the HGCal front
1217  const auto& tsos = detectorTools_->propagator.propagate(fts, detectorTools_->firstDisk_[iSide]->surface());
1218  if (tsos.isValid()) {
1219  const auto& globalPos = tsos.globalPosition();
1220  const auto& globalMom = tsos.globalMomentum();
1221  simTICLCandidate_boundaryX.push_back(globalPos.x());
1222  simTICLCandidate_boundaryY.push_back(globalPos.y());
1223  simTICLCandidate_boundaryZ.push_back(globalPos.z());
1224  simTICLCandidate_boundaryPx.push_back(globalMom.x());
1225  simTICLCandidate_boundaryPy.push_back(globalMom.y());
1226  simTICLCandidate_boundaryPz.push_back(globalMom.z());
1227  } else {
1228  simTICLCandidate_boundaryX.push_back(-999);
1229  simTICLCandidate_boundaryY.push_back(-999);
1230  simTICLCandidate_boundaryZ.push_back(-999);
1231  simTICLCandidate_boundaryPx.push_back(-999);
1232  simTICLCandidate_boundaryPy.push_back(-999);
1233  simTICLCandidate_boundaryPz.push_back(-999);
1234  }
1235  } else {
1236  simTICLCandidate_boundaryX.push_back(-999);
1237  simTICLCandidate_boundaryY.push_back(-999);
1238  simTICLCandidate_boundaryZ.push_back(-999);
1239  simTICLCandidate_boundaryPx.push_back(-999);
1240  simTICLCandidate_boundaryPy.push_back(-999);
1241  simTICLCandidate_boundaryPz.push_back(-999);
1242  }
1243  }
1244 
1245  int c_id = 0;
1246 
1247  for (auto cluster_iterator = clusters.begin(); cluster_iterator != clusters.end(); ++cluster_iterator) {
1248  auto lc_seed = cluster_iterator->seed();
1249  cluster_seedID.push_back(lc_seed);
1250  cluster_energy.push_back(cluster_iterator->energy());
1251  cluster_correctedEnergy.push_back(cluster_iterator->correctedEnergy());
1252  cluster_correctedEnergyUncertainty.push_back(cluster_iterator->correctedEnergyUncertainty());
1253  cluster_position_x.push_back(cluster_iterator->x());
1254  cluster_position_y.push_back(cluster_iterator->y());
1255  cluster_position_z.push_back(cluster_iterator->z());
1256  cluster_position_eta.push_back(cluster_iterator->eta());
1257  cluster_position_phi.push_back(cluster_iterator->phi());
1258  auto haf = cluster_iterator->hitsAndFractions();
1259  auto layerId = detectorTools_->rhtools.getLayerWithOffset(haf[0].first);
1260  cluster_layer_id.push_back(layerId);
1261  uint32_t number_of_hits = cluster_iterator->hitsAndFractions().size();
1262  cluster_number_of_hits.push_back(number_of_hits);
1263  cluster_type.push_back(detectorTools_->rhtools.getCellType(lc_seed));
1264  cluster_timeErr.push_back(layerClustersTimes.get(c_id).second);
1265  cluster_time.push_back(layerClustersTimes.get(c_id).first);
1266  c_id += 1;
1267  }
1268 
1269  tracksters_in_candidate.resize(ticlcandidates.size());
1270  track_in_candidate.resize(ticlcandidates.size(), -1);
1271  nCandidates = ticlcandidates.size();
1272  for (int i = 0; i < static_cast<int>(ticlcandidates.size()); ++i) {
1273  const auto& candidate = ticlcandidates[i];
1274  candidate_charge.push_back(candidate.charge());
1275  candidate_pdgId.push_back(candidate.pdgId());
1276  candidate_energy.push_back(candidate.energy());
1277  candidate_raw_energy.push_back(candidate.rawEnergy());
1278  candidate_px.push_back(candidate.px());
1279  candidate_py.push_back(candidate.py());
1280  candidate_pz.push_back(candidate.pz());
1281  candidate_time.push_back(candidate.time());
1282  candidate_time_err.push_back(candidate.timeError());
1283  std::vector<float> id_probs;
1284  for (int j = 0; j < 8; j++) {
1286  id_probs.push_back(candidate.id_probability(type));
1287  }
1288  candidate_id_probabilities.push_back(id_probs);
1289 
1290  auto trackster_ptrs = candidate.tracksters();
1291  auto track_ptr = candidate.trackPtr();
1292  for (const auto& ts_ptr : trackster_ptrs) {
1293  auto ts_idx = ts_ptr.get() - (edm::Ptr<ticl::Trackster>(tracksters_in_candidate_handle, 0)).get();
1294  tracksters_in_candidate[i].push_back(ts_idx);
1295  }
1296  if (track_ptr.isNull())
1297  continue;
1298  int tk_idx = track_ptr.get() - (edm::Ptr<reco::Track>(tracks_h, 0)).get();
1299  track_in_candidate[i] = tk_idx;
1300  }
1301 
1302  // trackster to simTrackster associations
1303  for (unsigned int i = 0; i < associations_dumperHelpers_.size(); i++) {
1305  event.getHandle(associations_simTracksterCollection_[i]),
1306  event.get(associations_recoToSim_token_[i]),
1307  event.get(associations_simToReco_token_[i]));
1308  }
1309  if (associations_dumperHelpers_.size() > 0)
1310  associations_tree_->Fill();
1311 
1312  //Tracks
1313  for (size_t i = 0; i < tracks.size(); i++) {
1314  const auto& track = tracks[i];
1315  reco::TrackRef trackref = reco::TrackRef(tracks_h, i);
1316  int iSide = int(track.eta() > 0);
1317  const auto& fts = trajectoryStateTransform::outerFreeState((track), &detectorTools_->bfield);
1318  // to the HGCal front
1319  const auto& tsos = detectorTools_->propagator.propagate(fts, detectorTools_->firstDisk_[iSide]->surface());
1320  if (tsos.isValid()) {
1321  const auto& globalPos = tsos.globalPosition();
1322  const auto& globalMom = tsos.globalMomentum();
1323  track_id.push_back(i);
1324  track_hgcal_x.push_back(globalPos.x());
1325  track_hgcal_y.push_back(globalPos.y());
1326  track_hgcal_z.push_back(globalPos.z());
1327  track_hgcal_eta.push_back(globalPos.eta());
1328  track_hgcal_phi.push_back(globalPos.phi());
1329  track_hgcal_px.push_back(globalMom.x());
1330  track_hgcal_py.push_back(globalMom.y());
1331  track_hgcal_pz.push_back(globalMom.z());
1332  track_hgcal_pt.push_back(globalMom.perp());
1333  track_pt.push_back(track.pt());
1334  track_quality.push_back(track.quality(reco::TrackBase::highPurity));
1335  track_missing_outer_hits.push_back(track.missingOuterHits());
1336  track_missing_inner_hits.push_back(track.missingInnerHits());
1337  track_charge.push_back(track.charge());
1338  track_time.push_back(trackTime[trackref]);
1339  track_time_quality.push_back(trackTimeQual[trackref]);
1340  track_time_err.push_back(trackTimeErr[trackref]);
1341  track_beta.push_back(trackBeta[trackref]);
1342  track_time_mtd.push_back(trackTimeMtd[trackref]);
1343  track_time_mtd_err.push_back(trackTimeMtdErr[trackref]);
1344  track_pos_mtd.push_back(trackPosMtd[trackref]);
1345  track_nhits.push_back(tracks[i].recHitsSize());
1346  int muId = PFMuonAlgo::muAssocToTrack(trackref, *muons_h);
1347  if (muId != -1) {
1348  const reco::MuonRef muonref = reco::MuonRef(muons_h, muId);
1349  track_isMuon.push_back(PFMuonAlgo::isMuon(muonref));
1350  track_isTrackerMuon.push_back(muons[muId].isTrackerMuon());
1351  } else {
1352  track_isMuon.push_back(-1);
1353  track_isTrackerMuon.push_back(-1);
1354  }
1355  }
1356  }
1357 
1358  if (saveLCs_)
1359  cluster_tree_->Fill();
1360  if (saveTICLCandidate_)
1361  candidate_tree_->Fill();
1363  superclustering_tree_->Fill();
1364  if (saveTracks_)
1365  tracks_tree_->Fill();
1367  simTICLCandidate_tree->Fill();
1368 }
const edm::EDGetTokenT< reco::SuperClusterCollection > recoSuperClusters_token
Definition: TICLDumper.cc:614
std::vector< TTree * > tracksters_trees
TTree for each trackster collection to dump.
Definition: TICLDumper.cc:586
std::vector< float > cluster_timeErr
Definition: TICLDumper.cc:721
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > tracksters_token_
a token for each trackster collection to dump
Definition: TICLDumper.cc:583
static int muAssocToTrack(const reco::TrackRef &trackref, const reco::MuonCollection &muons)
Definition: PFMuonAlgo.cc:479
std::vector< float > cluster_position_x
Definition: TICLDumper.cc:713
std::vector< edm::EDGetTokenT< ticl::RecoToSimCollectionSimTracksters > > associations_recoToSim_token_
Definition: TICLDumper.cc:626
std::vector< int > simTICLCandidate_charge
Definition: TICLDumper.cc:690
TTree * cluster_tree_
Definition: TICLDumper.cc:751
std::vector< TracksterToSimTracksterAssociationHelper > associations_dumperHelpers_
the dumper helpers for each association map to dump
Definition: TICLDumper.cc:628
std::vector< double > candidate_py
Definition: TICLDumper.cc:700
bool saveSuperclustering_
Definition: TICLDumper.cc:646
std::vector< float > simTICLCandidate_raw_energy
Definition: TICLDumper.cc:678
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_beta_token_
Definition: TICLDumper.cc:598
const edm::EDGetTokenT< edm::ValueMap< GlobalPoint > > tracks_pos_mtd_token_
Definition: TICLDumper.cc:601
static bool isMuon(const reco::PFBlockElement &elt)
Definition: PFMuonAlgo.cc:48
std::vector< double > recoSuperCluster_energy
Definition: TICLDumper.cc:666
std::vector< double > recoSuperCluster_position_x
Definition: TICLDumper.cc:668
std::vector< std::vector< uint32_t > > tracksters_in_candidate
Definition: TICLDumper.cc:705
std::vector< float > cluster_position_y
Definition: TICLDumper.cc:714
const edm::EDGetTokenT< std::vector< std::vector< unsigned int > > > superclustering_linkedResultTracksters_token
Definition: TICLDumper.cc:613
std::vector< float > cluster_correctedEnergy
Definition: TICLDumper.cc:711
std::vector< float > track_beta
Definition: TICLDumper.cc:743
std::vector< uint32_t > cluster_seedID
Definition: TICLDumper.cc:709
std::vector< float > cluster_position_z
Definition: TICLDumper.cc:715
std::vector< int > track_quality
Definition: TICLDumper.cc:736
std::vector< float > track_hgcal_y
Definition: TICLDumper.cc:727
bool saveRecoSuperclusters_
Definition: TICLDumper.cc:648
std::vector< unsigned int > track_id
Definition: TICLDumper.cc:725
const edm::EDGetTokenT< std::vector< TICLCandidate > > ticl_candidates_token_
Definition: TICLDumper.cc:590
std::vector< double > recoSuperCluster_position_z
Definition: TICLDumper.cc:670
std::vector< float > simTICLCandidate_boundaryY
Definition: TICLDumper.cc:682
std::vector< double > recoSuperCluster_rawEnergy
Definition: TICLDumper.cc:665
TTree * superclustering_tree_
Definition: TICLDumper.cc:753
const edm::EDGetTokenT< std::vector< ticl::Trackster > > simTracksters_SC_token_
Definition: TICLDumper.cc:618
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_quality_token_
Definition: TICLDumper.cc:596
void clearVariables()
Definition: TICLDumper.cc:758
std::vector< float > cluster_energy
Definition: TICLDumper.cc:710
std::vector< int > candidate_charge
Definition: TICLDumper.cc:695
std::vector< float > track_hgcal_pz
Definition: TICLDumper.cc:731
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
Definition: DiMuonV_cfg.py:214
assert(be >=bs)
std::vector< float > candidate_time
Definition: TICLDumper.cc:702
std::unique_ptr< DetectorTools > detectorTools_
Definition: TICLDumper.cc:644
std::vector< float > track_hgcal_px
Definition: TICLDumper.cc:729
TTree * candidate_tree_
Definition: TICLDumper.cc:752
std::vector< unsigned int > cluster_layer_id
Definition: TICLDumper.cc:718
std::vector< float > candidate_energy
Definition: TICLDumper.cc:697
std::vector< int > track_charge
Definition: TICLDumper.cc:739
std::vector< int > simTICLCandidate_track_in_candidate
Definition: TICLDumper.cc:691
std::vector< float > track_hgcal_eta
Definition: TICLDumper.cc:732
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > associations_simTracksterCollection_
the collection of simtracksters used by the associator
Definition: TICLDumper.cc:632
std::vector< int > cluster_type
Definition: TICLDumper.cc:719
const edm::EDGetTokenT< std::vector< CaloParticle > > caloparticles_token_
Definition: TICLDumper.cc:636
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_token_
Definition: TICLDumper.cc:595
size_t nCandidates
Definition: TICLDumper.cc:694
std::vector< float > simTICLCandidate_boundaryZ
Definition: TICLDumper.cc:683
const edm::EDGetTokenT< std::vector< ticl::Trackster > > tracksters_in_candidate_token_
Definition: TICLDumper.cc:588
std::vector< float > track_hgcal_z
Definition: TICLDumper.cc:728
std::vector< std::vector< uint32_t > > recoSuperCluster_constituentTs
Indices to all tracksters inside the supercluster (same)
Definition: TICLDumper.cc:676
std::vector< int > track_missing_outer_hits
Definition: TICLDumper.cc:737
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
std::vector< double > recoSuperCluster_position_y
Definition: TICLDumper.cc:669
std::vector< float > track_hgcal_phi
Definition: TICLDumper.cc:733
std::vector< float > cluster_time
Definition: TICLDumper.cc:720
std::vector< float > simTICLCandidate_boundaryPy
Definition: TICLDumper.cc:685
std::vector< double > track_time
Definition: TICLDumper.cc:740
std::vector< double > candidate_pz
Definition: TICLDumper.cc:701
TTree * associations_tree_
Definition: TICLDumper.cc:633
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > associations_tracksterCollection_
the collection of tracksters used by the associator
Definition: TICLDumper.cc:630
bool saveTICLCandidate_
Definition: TICLDumper.cc:649
edm::Ref< MuonCollection > MuonRef
presistent reference to a Muon
Definition: MuonFwd.h:13
std::vector< float > simTICLCandidate_boundaryPx
Definition: TICLDumper.cc:684
std::vector< float > simTICLCandidate_boundaryX
Definition: TICLDumper.cc:681
std::vector< double > candidate_px
Definition: TICLDumper.cc:699
std::vector< double > recoSuperCluster_correctedEnergy
Definition: TICLDumper.cc:667
edm::EventID eventId_
Definition: TICLDumper.cc:659
std::vector< float > track_hgcal_pt
Definition: TICLDumper.cc:734
std::vector< int > simTICLCandidate_pdgId
Definition: TICLDumper.cc:689
std::vector< float > track_time_quality
Definition: TICLDumper.cc:741
bool saveLCs_
Definition: TICLDumper.cc:645
TTree * tracks_tree_
Definition: TICLDumper.cc:754
const edm::EDGetTokenT< std::vector< ticl::Trackster > > ticl_candidates_tracksters_token_
trackster collection used by TICLCandidate
Definition: TICLDumper.cc:592
std::vector< float > simTICLCandidate_regressed_energy
Definition: TICLDumper.cc:679
std::vector< uint32_t > recoSuperCluster_seedTs
Index to seed trackster (into the trackster collection used to make superclusters, given by config recoSuperClusters_sourceTracksterCollection)
Definition: TICLDumper.cc:674
bool saveTracks_
Definition: TICLDumper.cc:651
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
Definition: TrackFwd.h:20
const edm::EDGetTokenT< std::vector< ticl::Trackster > > recoSuperClusters_sourceTracksters_token
Definition: TICLDumper.cc:616
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_mtd_token_
Definition: TICLDumper.cc:599
std::vector< TracksterDumperHelper > tracksters_dumperHelpers_
the dumper helpers for each trackster collection to dump
Definition: TICLDumper.cc:585
std::vector< float > cluster_position_eta
Definition: TICLDumper.cc:716
std::vector< float > track_pt
Definition: TICLDumper.cc:735
unsigned int nclusters_
Definition: TICLDumper.cc:660
std::vector< std::vector< float > > candidate_id_probabilities
Definition: TICLDumper.cc:704
std::vector< int > track_isTrackerMuon
Definition: TICLDumper.cc:749
std::vector< std::vector< int > > simTICLCandidate_simTracksterCPIndex
Definition: TICLDumper.cc:680
std::vector< double > recoSuperCluster_position_phi
Definition: TICLDumper.cc:672
std::vector< float > track_hgcal_py
Definition: TICLDumper.cc:730
bool saveSimTICLCandidate_
Definition: TICLDumper.cc:650
std::vector< int > track_in_candidate
Definition: TICLDumper.cc:706
std::vector< float > track_time_err
Definition: TICLDumper.cc:742
std::vector< int > track_isMuon
Definition: TICLDumper.cc:748
std::vector< float > candidate_raw_energy
Definition: TICLDumper.cc:698
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_mtd_err_token_
Definition: TICLDumper.cc:600
std::vector< float > cluster_correctedEnergyUncertainty
Definition: TICLDumper.cc:712
std::vector< int > candidate_pdgId
Definition: TICLDumper.cc:696
std::vector< float > track_time_mtd_err
Definition: TICLDumper.cc:745
const edm::EDGetTokenT< edm::ValueMap< std::pair< float, float > > > clustersTime_token_
Definition: TICLDumper.cc:611
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_err_token_
Definition: TICLDumper.cc:597
std::vector< double > recoSuperCluster_position_eta
Definition: TICLDumper.cc:671
std::vector< int > track_nhits
Definition: TICLDumper.cc:747
const edm::EDGetTokenT< std::vector< TICLCandidate > > simTICLCandidate_token_
Definition: TICLDumper.cc:619
std::vector< int > track_missing_inner_hits
Definition: TICLDumper.cc:738
std::vector< float > track_hgcal_x
Definition: TICLDumper.cc:726
std::vector< GlobalPoint > track_pos_mtd
Definition: TICLDumper.cc:746
std::vector< float > track_time_mtd
Definition: TICLDumper.cc:744
std::vector< uint32_t > cluster_number_of_hits
Definition: TICLDumper.cc:722
TTree * simTICLCandidate_tree
Definition: TICLDumper.cc:755
const edm::EDGetTokenT< std::vector< reco::CaloCluster > > layer_clusters_token_
Definition: TICLDumper.cc:589
std::vector< float > candidate_time_err
Definition: TICLDumper.cc:703
FreeTrajectoryState outerFreeState(const reco::Track &tk, const MagneticField *field, bool withErr=true)
std::vector< std::vector< unsigned int > > superclustering_linkedResultTracksters
Definition: TICLDumper.cc:663
const edm::EDGetTokenT< std::vector< reco::Track > > tracks_token_
Definition: TICLDumper.cc:593
const edm::EDGetTokenT< std::vector< reco::Muon > > muons_token_
Definition: TICLDumper.cc:610
std::vector< float > simTICLCandidate_time
Definition: TICLDumper.cc:688
Definition: event.py:1
std::vector< float > cluster_position_phi
Definition: TICLDumper.cc:717
const edm::EDGetTokenT< std::vector< SimCluster > > simclusters_token_
Definition: TICLDumper.cc:635
std::vector< edm::EDGetTokenT< ticl::SimToRecoCollectionSimTracksters > > associations_simToReco_token_
The tokens for each assocation.
Definition: TICLDumper.cc:625
std::vector< float > simTICLCandidate_boundaryPz
Definition: TICLDumper.cc:686

◆ beginJob()

void TICLDumper::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 939 of file TICLDumper.cc.

References associations_dumperHelpers_, associations_parameterSets_, associations_tree_, candidate_charge, candidate_energy, candidate_id_probabilities, candidate_pdgId, candidate_px, candidate_py, candidate_pz, candidate_raw_energy, candidate_time, candidate_time_err, candidate_tree_, cluster_correctedEnergy, cluster_correctedEnergyUncertainty, cluster_energy, cluster_layer_id, cluster_number_of_hits, cluster_position_eta, cluster_position_phi, cluster_position_x, cluster_position_y, cluster_position_z, cluster_seedID, cluster_time, cluster_timeErr, cluster_tree_, cluster_type, edm::InputTag::encode(), eventId_, compareTotals::fs, edm::ParameterSet::getParameter(), mps_fire::i, nCandidates, recoSuperCluster_constituentTs, recoSuperCluster_correctedEnergy, recoSuperCluster_energy, recoSuperCluster_position_eta, recoSuperCluster_position_phi, recoSuperCluster_position_x, recoSuperCluster_position_y, recoSuperCluster_position_z, recoSuperCluster_rawEnergy, recoSuperCluster_seedTs, saveLCs_, saveRecoSuperclusters_, saveSimTICLCandidate_, saveSuperclustering_, saveTICLCandidate_, saveTracks_, simTICLCandidate_boundaryPx, simTICLCandidate_boundaryPy, simTICLCandidate_boundaryPz, simTICLCandidate_boundaryX, simTICLCandidate_boundaryY, simTICLCandidate_boundaryZ, simTICLCandidate_caloParticleMass, simTICLCandidate_charge, simTICLCandidate_pdgId, simTICLCandidate_raw_energy, simTICLCandidate_regressed_energy, simTICLCandidate_simTracksterCPIndex, simTICLCandidate_time, simTICLCandidate_track_in_candidate, simTICLCandidate_tree, AlCaHLTBitMon_QueryRunRegistry::string, superclustering_linkedResultTracksters, superclustering_tree_, track_beta, track_charge, track_hgcal_eta, track_hgcal_phi, track_hgcal_pt, track_hgcal_x, track_hgcal_y, track_hgcal_z, track_id, track_in_candidate, track_isMuon, track_isTrackerMuon, track_missing_inner_hits, track_missing_outer_hits, track_nhits, track_pos_mtd, track_pt, track_quality, track_time, track_time_err, track_time_mtd, track_time_mtd_err, track_time_quality, tracks_tree_, tracksters_dumperHelpers_, tracksters_in_candidate, tracksters_parameterSets_, and tracksters_trees.

939  {
941 
942  // Trackster trees
943  for (unsigned int i = 0; i < tracksters_parameterSets_.size(); i++) {
944  edm::ParameterSet const& tracksterPset = tracksters_parameterSets_[i];
945  TTree* tree =
946  fs->make<TTree>(tracksterPset.getParameter<std::string>("treeName").c_str(),
947  ("Tracksters : " + tracksterPset.getParameter<std::string>("treeName") +
948  " (InputTag : " + tracksterPset.getParameter<edm::InputTag>("inputTag").encode() + ")")
949  .c_str());
950  tracksters_trees.push_back(tree);
952  }
953  if (saveLCs_) {
954  cluster_tree_ = fs->make<TTree>("clusters", "TICL tracksters");
955  cluster_tree_->Branch("event", &eventId_);
956  cluster_tree_->Branch("seedID", &cluster_seedID);
957  cluster_tree_->Branch("energy", &cluster_energy);
958  cluster_tree_->Branch("correctedEnergy", &cluster_correctedEnergy);
959  cluster_tree_->Branch("correctedEnergyUncertainty", &cluster_correctedEnergyUncertainty);
960  cluster_tree_->Branch("position_x", &cluster_position_x);
961  cluster_tree_->Branch("position_y", &cluster_position_y);
962  cluster_tree_->Branch("position_z", &cluster_position_z);
963  cluster_tree_->Branch("position_eta", &cluster_position_eta);
964  cluster_tree_->Branch("position_phi", &cluster_position_phi);
965  cluster_tree_->Branch("cluster_layer_id", &cluster_layer_id);
966  cluster_tree_->Branch("cluster_type", &cluster_type);
967  cluster_tree_->Branch("cluster_time", &cluster_time);
968  cluster_tree_->Branch("cluster_timeErr", &cluster_timeErr);
969  cluster_tree_->Branch("cluster_number_of_hits", &cluster_number_of_hits);
970  }
971  if (saveTICLCandidate_) {
972  candidate_tree_ = fs->make<TTree>("candidates", "TICL candidates");
973  candidate_tree_->Branch("event", &eventId_);
974  candidate_tree_->Branch("NCandidates", &nCandidates);
975  candidate_tree_->Branch("candidate_charge", &candidate_charge);
976  candidate_tree_->Branch("candidate_pdgId", &candidate_pdgId);
977  candidate_tree_->Branch("candidate_id_probabilities", &candidate_id_probabilities);
978  candidate_tree_->Branch("candidate_time", &candidate_time);
979  candidate_tree_->Branch("candidate_timeErr", &candidate_time_err);
980  candidate_tree_->Branch("candidate_energy", &candidate_energy);
981  candidate_tree_->Branch("candidate_raw_energy", &candidate_raw_energy);
982  candidate_tree_->Branch("candidate_px", &candidate_px);
983  candidate_tree_->Branch("candidate_py", &candidate_py);
984  candidate_tree_->Branch("candidate_pz", &candidate_pz);
985  candidate_tree_->Branch("track_in_candidate", &track_in_candidate);
986  candidate_tree_->Branch("tracksters_in_candidate", &tracksters_in_candidate);
987  }
989  superclustering_tree_ = fs->make<TTree>("superclustering", "Superclustering in HGCAL CE-E");
990  superclustering_tree_->Branch("event", &eventId_);
991  }
992  if (saveSuperclustering_) {
993  superclustering_tree_->Branch("linkedResultTracksters", &superclustering_linkedResultTracksters);
994  }
996  superclustering_tree_->Branch("recoSuperCluster_rawEnergy", &recoSuperCluster_rawEnergy);
997  superclustering_tree_->Branch("recoSuperCluster_energy", &recoSuperCluster_energy);
998  superclustering_tree_->Branch("recoSuperCluster_correctedEnergy", &recoSuperCluster_correctedEnergy);
999  superclustering_tree_->Branch("recoSuperCluster_position_x", &recoSuperCluster_position_x);
1000  superclustering_tree_->Branch("recoSuperCluster_position_y", &recoSuperCluster_position_y);
1001  superclustering_tree_->Branch("recoSuperCluster_position_z", &recoSuperCluster_position_z);
1002  superclustering_tree_->Branch("recoSuperCluster_position_eta", &recoSuperCluster_position_eta);
1003  superclustering_tree_->Branch("recoSuperCluster_position_phi", &recoSuperCluster_position_phi);
1004  superclustering_tree_->Branch("recoSuperCluster_seedTs", &recoSuperCluster_seedTs);
1005  superclustering_tree_->Branch("recoSuperCluster_constituentTs", &recoSuperCluster_constituentTs);
1006  }
1007 
1008  if (associations_parameterSets_.size() > 0) {
1009  associations_tree_ = fs->make<TTree>("associations", "Associations");
1010  associations_tree_->Branch("event", &eventId_);
1011  }
1012  for (unsigned int i = 0; i < associations_parameterSets_.size(); i++) {
1014  associations_parameterSets_[i].getParameter<std::string>("branchName"),
1015  associations_parameterSets_[i].getParameter<std::string>("suffix"));
1016  }
1017 
1018  if (saveTracks_) {
1019  tracks_tree_ = fs->make<TTree>("tracks", "Tracks");
1020  tracks_tree_->Branch("event", &eventId_);
1021  tracks_tree_->Branch("track_id", &track_id);
1022  tracks_tree_->Branch("track_hgcal_x", &track_hgcal_x);
1023  tracks_tree_->Branch("track_hgcal_y", &track_hgcal_y);
1024  tracks_tree_->Branch("track_hgcal_z", &track_hgcal_z);
1025  tracks_tree_->Branch("track_hgcal_eta", &track_hgcal_eta);
1026  tracks_tree_->Branch("track_hgcal_phi", &track_hgcal_phi);
1027  tracks_tree_->Branch("track_hgcal_pt", &track_hgcal_pt);
1028  tracks_tree_->Branch("track_pt", &track_pt);
1029  tracks_tree_->Branch("track_missing_outer_hits", &track_missing_outer_hits);
1030  tracks_tree_->Branch("track_missing_inner_hits", &track_missing_inner_hits);
1031  tracks_tree_->Branch("track_quality", &track_quality);
1032  tracks_tree_->Branch("track_charge", &track_charge);
1033  tracks_tree_->Branch("track_time", &track_time);
1034  tracks_tree_->Branch("track_time_quality", &track_time_quality);
1035  tracks_tree_->Branch("track_time_err", &track_time_err);
1036  tracks_tree_->Branch("track_beta", &track_beta);
1037  tracks_tree_->Branch("track_time_mtd", &track_time_mtd);
1038  tracks_tree_->Branch("track_time_mtd_err", &track_time_mtd_err);
1039  tracks_tree_->Branch("track_pos_mtd", &track_pos_mtd);
1040  tracks_tree_->Branch("track_nhits", &track_nhits);
1041  tracks_tree_->Branch("track_isMuon", &track_isMuon);
1042  tracks_tree_->Branch("track_isTrackerMuon", &track_isTrackerMuon);
1043  }
1044 
1045  if (saveSimTICLCandidate_) {
1046  simTICLCandidate_tree = fs->make<TTree>("simTICLCandidate", "Sim TICL Candidate");
1047  simTICLCandidate_tree->Branch("event", &eventId_);
1048  simTICLCandidate_tree->Branch("simTICLCandidate_raw_energy", &simTICLCandidate_raw_energy);
1049  simTICLCandidate_tree->Branch("simTICLCandidate_regressed_energy", &simTICLCandidate_regressed_energy);
1050  simTICLCandidate_tree->Branch("simTICLCandidate_simTracksterCPIndex", &simTICLCandidate_simTracksterCPIndex);
1051  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryX", &simTICLCandidate_boundaryX);
1052  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryY", &simTICLCandidate_boundaryY);
1053  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryZ", &simTICLCandidate_boundaryZ);
1054  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryPx", &simTICLCandidate_boundaryPx);
1055  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryPy", &simTICLCandidate_boundaryPy);
1056  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryPz", &simTICLCandidate_boundaryPz);
1057  simTICLCandidate_tree->Branch("simTICLCandidate_time", &simTICLCandidate_time);
1058  simTICLCandidate_tree->Branch("simTICLCandidate_caloParticleMass", &simTICLCandidate_caloParticleMass);
1059  simTICLCandidate_tree->Branch("simTICLCandidate_pdgId", &simTICLCandidate_pdgId);
1060  simTICLCandidate_tree->Branch("simTICLCandidate_charge", &simTICLCandidate_charge);
1061  simTICLCandidate_tree->Branch("simTICLCandidate_track_in_candidate", &simTICLCandidate_track_in_candidate);
1062  }
1063 }
std::vector< TTree * > tracksters_trees
TTree for each trackster collection to dump.
Definition: TICLDumper.cc:586
std::vector< float > cluster_timeErr
Definition: TICLDumper.cc:721
std::vector< float > cluster_position_x
Definition: TICLDumper.cc:713
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
std::vector< int > simTICLCandidate_charge
Definition: TICLDumper.cc:690
TTree * cluster_tree_
Definition: TICLDumper.cc:751
std::vector< TracksterToSimTracksterAssociationHelper > associations_dumperHelpers_
the dumper helpers for each association map to dump
Definition: TICLDumper.cc:628
std::vector< double > candidate_py
Definition: TICLDumper.cc:700
bool saveSuperclustering_
Definition: TICLDumper.cc:646
std::vector< float > simTICLCandidate_raw_energy
Definition: TICLDumper.cc:678
std::vector< double > recoSuperCluster_energy
Definition: TICLDumper.cc:666
std::vector< double > recoSuperCluster_position_x
Definition: TICLDumper.cc:668
std::vector< std::vector< uint32_t > > tracksters_in_candidate
Definition: TICLDumper.cc:705
std::vector< float > cluster_position_y
Definition: TICLDumper.cc:714
std::string encode() const
Definition: InputTag.cc:159
std::vector< float > cluster_correctedEnergy
Definition: TICLDumper.cc:711
std::vector< float > track_beta
Definition: TICLDumper.cc:743
std::vector< uint32_t > cluster_seedID
Definition: TICLDumper.cc:709
std::vector< float > cluster_position_z
Definition: TICLDumper.cc:715
std::vector< int > track_quality
Definition: TICLDumper.cc:736
std::vector< float > track_hgcal_y
Definition: TICLDumper.cc:727
bool saveRecoSuperclusters_
Definition: TICLDumper.cc:648
std::vector< unsigned int > track_id
Definition: TICLDumper.cc:725
std::vector< double > recoSuperCluster_position_z
Definition: TICLDumper.cc:670
std::vector< float > simTICLCandidate_boundaryY
Definition: TICLDumper.cc:682
std::vector< double > recoSuperCluster_rawEnergy
Definition: TICLDumper.cc:665
TTree * superclustering_tree_
Definition: TICLDumper.cc:753
std::vector< float > cluster_energy
Definition: TICLDumper.cc:710
std::vector< int > candidate_charge
Definition: TICLDumper.cc:695
std::vector< float > candidate_time
Definition: TICLDumper.cc:702
TTree * candidate_tree_
Definition: TICLDumper.cc:752
std::vector< unsigned int > cluster_layer_id
Definition: TICLDumper.cc:718
std::vector< float > candidate_energy
Definition: TICLDumper.cc:697
std::vector< int > track_charge
Definition: TICLDumper.cc:739
std::vector< int > simTICLCandidate_track_in_candidate
Definition: TICLDumper.cc:691
std::vector< float > track_hgcal_eta
Definition: TICLDumper.cc:732
std::vector< int > cluster_type
Definition: TICLDumper.cc:719
size_t nCandidates
Definition: TICLDumper.cc:694
std::vector< float > simTICLCandidate_boundaryZ
Definition: TICLDumper.cc:683
std::vector< float > track_hgcal_z
Definition: TICLDumper.cc:728
std::vector< std::vector< uint32_t > > recoSuperCluster_constituentTs
Indices to all tracksters inside the supercluster (same)
Definition: TICLDumper.cc:676
std::vector< int > track_missing_outer_hits
Definition: TICLDumper.cc:737
std::vector< double > recoSuperCluster_position_y
Definition: TICLDumper.cc:669
std::vector< float > track_hgcal_phi
Definition: TICLDumper.cc:733
std::vector< float > cluster_time
Definition: TICLDumper.cc:720
std::vector< float > simTICLCandidate_boundaryPy
Definition: TICLDumper.cc:685
std::vector< double > track_time
Definition: TICLDumper.cc:740
std::vector< double > candidate_pz
Definition: TICLDumper.cc:701
TTree * associations_tree_
Definition: TICLDumper.cc:633
bool saveTICLCandidate_
Definition: TICLDumper.cc:649
std::vector< float > simTICLCandidate_boundaryPx
Definition: TICLDumper.cc:684
std::vector< float > simTICLCandidate_boundaryX
Definition: TICLDumper.cc:681
std::vector< double > candidate_px
Definition: TICLDumper.cc:699
std::vector< double > recoSuperCluster_correctedEnergy
Definition: TICLDumper.cc:667
edm::EventID eventId_
Definition: TICLDumper.cc:659
std::vector< float > track_hgcal_pt
Definition: TICLDumper.cc:734
std::vector< int > simTICLCandidate_pdgId
Definition: TICLDumper.cc:689
const std::vector< edm::ParameterSet > associations_parameterSets_
A parameter set for each associator collection to dump (with treeName, etc)
Definition: TICLDumper.cc:623
std::vector< float > track_time_quality
Definition: TICLDumper.cc:741
bool saveLCs_
Definition: TICLDumper.cc:645
TTree * tracks_tree_
Definition: TICLDumper.cc:754
std::vector< float > simTICLCandidate_regressed_energy
Definition: TICLDumper.cc:679
std::vector< float > simTICLCandidate_caloParticleMass
Definition: TICLDumper.cc:687
std::vector< uint32_t > recoSuperCluster_seedTs
Index to seed trackster (into the trackster collection used to make superclusters, given by config recoSuperClusters_sourceTracksterCollection)
Definition: TICLDumper.cc:674
bool saveTracks_
Definition: TICLDumper.cc:651
std::vector< TracksterDumperHelper > tracksters_dumperHelpers_
the dumper helpers for each trackster collection to dump
Definition: TICLDumper.cc:585
std::vector< float > cluster_position_eta
Definition: TICLDumper.cc:716
std::vector< float > track_pt
Definition: TICLDumper.cc:735
std::vector< std::vector< float > > candidate_id_probabilities
Definition: TICLDumper.cc:704
std::vector< int > track_isTrackerMuon
Definition: TICLDumper.cc:749
std::vector< std::vector< int > > simTICLCandidate_simTracksterCPIndex
Definition: TICLDumper.cc:680
std::vector< double > recoSuperCluster_position_phi
Definition: TICLDumper.cc:672
bool saveSimTICLCandidate_
Definition: TICLDumper.cc:650
std::vector< int > track_in_candidate
Definition: TICLDumper.cc:706
std::vector< float > track_time_err
Definition: TICLDumper.cc:742
std::vector< int > track_isMuon
Definition: TICLDumper.cc:748
std::vector< float > candidate_raw_energy
Definition: TICLDumper.cc:698
std::vector< float > cluster_correctedEnergyUncertainty
Definition: TICLDumper.cc:712
std::vector< int > candidate_pdgId
Definition: TICLDumper.cc:696
std::vector< float > track_time_mtd_err
Definition: TICLDumper.cc:745
std::vector< double > recoSuperCluster_position_eta
Definition: TICLDumper.cc:671
std::vector< int > track_nhits
Definition: TICLDumper.cc:747
std::vector< int > track_missing_inner_hits
Definition: TICLDumper.cc:738
std::vector< float > track_hgcal_x
Definition: TICLDumper.cc:726
std::vector< GlobalPoint > track_pos_mtd
Definition: TICLDumper.cc:746
std::vector< float > track_time_mtd
Definition: TICLDumper.cc:744
Definition: tree.py:1
std::vector< uint32_t > cluster_number_of_hits
Definition: TICLDumper.cc:722
TTree * simTICLCandidate_tree
Definition: TICLDumper.cc:755
std::vector< float > candidate_time_err
Definition: TICLDumper.cc:703
std::vector< std::vector< unsigned int > > superclustering_linkedResultTracksters
Definition: TICLDumper.cc:663
const std::vector< edm::ParameterSet > tracksters_parameterSets_
A parameter set for each trackster collection to dump (giving tree name, etc)
Definition: TICLDumper.cc:581
std::vector< float > simTICLCandidate_time
Definition: TICLDumper.cc:688
std::vector< float > cluster_position_phi
Definition: TICLDumper.cc:717
std::vector< float > simTICLCandidate_boundaryPz
Definition: TICLDumper.cc:686

◆ beginRun()

void TICLDumper::beginRun ( const edm::Run ,
const edm::EventSetup es 
)
overrideprivate

Definition at line 931 of file TICLDumper.cc.

References bfield_token_, caloGeometry_token_, detectorTools_, edm::EventSetup::getData(), hdc_token_, and propagator_token_.

931  {
932  detectorTools_ = std::make_unique<DetectorTools>(es.getData(hdc_token_),
936 }
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
const edm::ESGetToken< Propagator, TrackingComponentsRecord > propagator_token_
Definition: TICLDumper.cc:642
std::unique_ptr< DetectorTools > detectorTools_
Definition: TICLDumper.cc:644
edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hdc_token_
Definition: TICLDumper.cc:643
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bfield_token_
Definition: TICLDumper.cc:641
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry_token_
Definition: TICLDumper.cc:617

◆ clearVariables()

void TICLDumper::clearVariables ( )
private

Definition at line 758 of file TICLDumper.cc.

References associations_dumperHelpers_, candidate_charge, candidate_energy, candidate_id_probabilities, candidate_pdgId, candidate_px, candidate_py, candidate_pz, candidate_raw_energy, candidate_time, candidate_time_err, cluster_correctedEnergy, cluster_correctedEnergyUncertainty, cluster_energy, cluster_layer_id, cluster_number_of_hits, cluster_position_eta, cluster_position_phi, cluster_position_x, cluster_position_y, cluster_position_z, cluster_seedID, cluster_time, cluster_timeErr, cluster_type, nCandidates, nclusters_, recoSuperCluster_constituentTs, recoSuperCluster_correctedEnergy, recoSuperCluster_energy, recoSuperCluster_position_eta, recoSuperCluster_position_phi, recoSuperCluster_position_x, recoSuperCluster_position_y, recoSuperCluster_position_z, recoSuperCluster_rawEnergy, recoSuperCluster_seedTs, simTICLCandidate_boundaryPx, simTICLCandidate_boundaryPy, simTICLCandidate_boundaryPz, simTICLCandidate_boundaryX, simTICLCandidate_boundaryY, simTICLCandidate_boundaryZ, simTICLCandidate_caloParticleMass, simTICLCandidate_charge, simTICLCandidate_pdgId, simTICLCandidate_raw_energy, simTICLCandidate_regressed_energy, simTICLCandidate_simTracksterCPIndex, simTICLCandidate_time, simTICLCandidate_track_in_candidate, superclustering_linkedResultTracksters, track_beta, track_charge, track_hgcal_eta, track_hgcal_phi, track_hgcal_pt, track_hgcal_px, track_hgcal_py, track_hgcal_pz, track_hgcal_x, track_hgcal_y, track_hgcal_z, track_id, track_in_candidate, track_isMuon, track_isTrackerMuon, track_missing_inner_hits, track_missing_outer_hits, track_nhits, track_pos_mtd, track_pt, track_quality, track_time, track_time_err, track_time_mtd, track_time_mtd_err, track_time_quality, tracksters_dumperHelpers_, and tracksters_in_candidate.

Referenced by analyze(), and ~TICLDumper().

758  {
759  // event info
760  nclusters_ = 0;
761 
763  tsDumper.clearVariables();
764  }
765 
767 
769  recoSuperCluster_energy.clear();
776  recoSuperCluster_seedTs.clear();
778 
788  simTICLCandidate_time.clear();
790  simTICLCandidate_pdgId.clear();
791  simTICLCandidate_charge.clear();
793 
794  nCandidates = 0;
795  candidate_charge.clear();
796  candidate_pdgId.clear();
797  candidate_energy.clear();
798  candidate_raw_energy.clear();
799  candidate_px.clear();
800  candidate_py.clear();
801  candidate_pz.clear();
802  candidate_time.clear();
803  candidate_time_err.clear();
805  tracksters_in_candidate.clear();
806  track_in_candidate.clear();
807 
808  for (auto& helper : associations_dumperHelpers_) {
809  helper.clearVariables();
810  }
811 
812  cluster_seedID.clear();
813  cluster_energy.clear();
814  cluster_correctedEnergy.clear();
816  cluster_position_x.clear();
817  cluster_position_y.clear();
818  cluster_position_z.clear();
819  cluster_position_eta.clear();
820  cluster_position_phi.clear();
821  cluster_layer_id.clear();
822  cluster_type.clear();
823  cluster_time.clear();
824  cluster_timeErr.clear();
825  cluster_number_of_hits.clear();
826 
827  track_id.clear();
828  track_hgcal_x.clear();
829  track_hgcal_y.clear();
830  track_hgcal_z.clear();
831  track_hgcal_eta.clear();
832  track_hgcal_phi.clear();
833  track_hgcal_px.clear();
834  track_hgcal_py.clear();
835  track_hgcal_pz.clear();
836  track_hgcal_pt.clear();
837  track_quality.clear();
838  track_pt.clear();
839  track_missing_outer_hits.clear();
840  track_missing_inner_hits.clear();
841  track_charge.clear();
842  track_time.clear();
843  track_time_quality.clear();
844  track_time_err.clear();
845  track_beta.clear();
846  track_time_mtd.clear();
847  track_time_mtd_err.clear();
848  track_pos_mtd.clear();
849  track_nhits.clear();
850  track_isMuon.clear();
851  track_isTrackerMuon.clear();
852 };
std::vector< float > cluster_timeErr
Definition: TICLDumper.cc:721
std::vector< float > cluster_position_x
Definition: TICLDumper.cc:713
std::vector< int > simTICLCandidate_charge
Definition: TICLDumper.cc:690
Definition: helper.py:1
std::vector< TracksterToSimTracksterAssociationHelper > associations_dumperHelpers_
the dumper helpers for each association map to dump
Definition: TICLDumper.cc:628
std::vector< double > candidate_py
Definition: TICLDumper.cc:700
std::vector< float > simTICLCandidate_raw_energy
Definition: TICLDumper.cc:678
std::vector< double > recoSuperCluster_energy
Definition: TICLDumper.cc:666
std::vector< double > recoSuperCluster_position_x
Definition: TICLDumper.cc:668
std::vector< std::vector< uint32_t > > tracksters_in_candidate
Definition: TICLDumper.cc:705
std::vector< float > cluster_position_y
Definition: TICLDumper.cc:714
std::vector< float > cluster_correctedEnergy
Definition: TICLDumper.cc:711
std::vector< float > track_beta
Definition: TICLDumper.cc:743
std::vector< uint32_t > cluster_seedID
Definition: TICLDumper.cc:709
std::vector< float > cluster_position_z
Definition: TICLDumper.cc:715
std::vector< int > track_quality
Definition: TICLDumper.cc:736
std::vector< float > track_hgcal_y
Definition: TICLDumper.cc:727
std::vector< unsigned int > track_id
Definition: TICLDumper.cc:725
std::vector< double > recoSuperCluster_position_z
Definition: TICLDumper.cc:670
std::vector< float > simTICLCandidate_boundaryY
Definition: TICLDumper.cc:682
std::vector< double > recoSuperCluster_rawEnergy
Definition: TICLDumper.cc:665
std::vector< float > cluster_energy
Definition: TICLDumper.cc:710
std::vector< int > candidate_charge
Definition: TICLDumper.cc:695
std::vector< float > track_hgcal_pz
Definition: TICLDumper.cc:731
std::vector< float > candidate_time
Definition: TICLDumper.cc:702
std::vector< float > track_hgcal_px
Definition: TICLDumper.cc:729
std::vector< unsigned int > cluster_layer_id
Definition: TICLDumper.cc:718
std::vector< float > candidate_energy
Definition: TICLDumper.cc:697
std::vector< int > track_charge
Definition: TICLDumper.cc:739
std::vector< int > simTICLCandidate_track_in_candidate
Definition: TICLDumper.cc:691
std::vector< float > track_hgcal_eta
Definition: TICLDumper.cc:732
std::vector< int > cluster_type
Definition: TICLDumper.cc:719
size_t nCandidates
Definition: TICLDumper.cc:694
std::vector< float > simTICLCandidate_boundaryZ
Definition: TICLDumper.cc:683
std::vector< float > track_hgcal_z
Definition: TICLDumper.cc:728
std::vector< std::vector< uint32_t > > recoSuperCluster_constituentTs
Indices to all tracksters inside the supercluster (same)
Definition: TICLDumper.cc:676
std::vector< int > track_missing_outer_hits
Definition: TICLDumper.cc:737
std::vector< double > recoSuperCluster_position_y
Definition: TICLDumper.cc:669
std::vector< float > track_hgcal_phi
Definition: TICLDumper.cc:733
std::vector< float > cluster_time
Definition: TICLDumper.cc:720
std::vector< float > simTICLCandidate_boundaryPy
Definition: TICLDumper.cc:685
std::vector< double > track_time
Definition: TICLDumper.cc:740
std::vector< double > candidate_pz
Definition: TICLDumper.cc:701
std::vector< float > simTICLCandidate_boundaryPx
Definition: TICLDumper.cc:684
std::vector< float > simTICLCandidate_boundaryX
Definition: TICLDumper.cc:681
std::vector< double > candidate_px
Definition: TICLDumper.cc:699
std::vector< double > recoSuperCluster_correctedEnergy
Definition: TICLDumper.cc:667
std::vector< float > track_hgcal_pt
Definition: TICLDumper.cc:734
std::vector< int > simTICLCandidate_pdgId
Definition: TICLDumper.cc:689
std::vector< float > track_time_quality
Definition: TICLDumper.cc:741
std::vector< float > simTICLCandidate_regressed_energy
Definition: TICLDumper.cc:679
std::vector< float > simTICLCandidate_caloParticleMass
Definition: TICLDumper.cc:687
std::vector< uint32_t > recoSuperCluster_seedTs
Index to seed trackster (into the trackster collection used to make superclusters, given by config recoSuperClusters_sourceTracksterCollection)
Definition: TICLDumper.cc:674
std::vector< TracksterDumperHelper > tracksters_dumperHelpers_
the dumper helpers for each trackster collection to dump
Definition: TICLDumper.cc:585
std::vector< float > cluster_position_eta
Definition: TICLDumper.cc:716
std::vector< float > track_pt
Definition: TICLDumper.cc:735
unsigned int nclusters_
Definition: TICLDumper.cc:660
std::vector< std::vector< float > > candidate_id_probabilities
Definition: TICLDumper.cc:704
std::vector< int > track_isTrackerMuon
Definition: TICLDumper.cc:749
std::vector< std::vector< int > > simTICLCandidate_simTracksterCPIndex
Definition: TICLDumper.cc:680
std::vector< double > recoSuperCluster_position_phi
Definition: TICLDumper.cc:672
std::vector< float > track_hgcal_py
Definition: TICLDumper.cc:730
std::vector< int > track_in_candidate
Definition: TICLDumper.cc:706
std::vector< float > track_time_err
Definition: TICLDumper.cc:742
std::vector< int > track_isMuon
Definition: TICLDumper.cc:748
std::vector< float > candidate_raw_energy
Definition: TICLDumper.cc:698
std::vector< float > cluster_correctedEnergyUncertainty
Definition: TICLDumper.cc:712
std::vector< int > candidate_pdgId
Definition: TICLDumper.cc:696
std::vector< float > track_time_mtd_err
Definition: TICLDumper.cc:745
std::vector< double > recoSuperCluster_position_eta
Definition: TICLDumper.cc:671
std::vector< int > track_nhits
Definition: TICLDumper.cc:747
std::vector< int > track_missing_inner_hits
Definition: TICLDumper.cc:738
std::vector< float > track_hgcal_x
Definition: TICLDumper.cc:726
std::vector< GlobalPoint > track_pos_mtd
Definition: TICLDumper.cc:746
std::vector< float > track_time_mtd
Definition: TICLDumper.cc:744
std::vector< uint32_t > cluster_number_of_hits
Definition: TICLDumper.cc:722
std::vector< float > candidate_time_err
Definition: TICLDumper.cc:703
std::vector< std::vector< unsigned int > > superclustering_linkedResultTracksters
Definition: TICLDumper.cc:663
std::vector< float > simTICLCandidate_time
Definition: TICLDumper.cc:688
std::vector< float > cluster_position_phi
Definition: TICLDumper.cc:717
std::vector< float > simTICLCandidate_boundaryPz
Definition: TICLDumper.cc:686

◆ endJob()

void TICLDumper::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 1370 of file TICLDumper.cc.

1370 {}

◆ endRun()

void TICLDumper::endRun ( edm::Run const &  iEvent,
edm::EventSetup const &   
)
inlineoverrideprivate

Definition at line 576 of file TICLDumper.cc.

576 {};

◆ fillDescriptions()

void TICLDumper::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 1372 of file TICLDumper.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, edm::ParameterSetDescription::ifValue(), ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

1372  {
1374 
1375  // Settings for dumping trackster collections
1376  edm::ParameterSetDescription tracksterDescValidator;
1377  tracksterDescValidator.add<std::string>("treeName")
1378  ->setComment("Name of the output tree for the trackster collection");
1379  tracksterDescValidator.add<edm::InputTag>("inputTag")->setComment("Input tag for the trackster collection to write");
1380  tracksterDescValidator.ifValue(
1382  "tracksterType",
1383  "Trackster",
1384  true,
1385  edm::Comment("Type of trackster. Trackster=regular trackster (from RECO). SimTracksterCP=Simtrackster "
1386  "from CaloParticle. SimTracksterSC=Simtrackster from SimCluster")),
1387  edm::allowedValues<std::string>("Trackster", "SimTracksterCP", "SimTracksterSC"));
1388  desc.addVPSet("tracksterCollections", tracksterDescValidator)->setComment("Trackster collections to dump");
1389 
1390  desc.add<edm::InputTag>("trackstersInCand", edm::InputTag("ticlTrackstersCLUE3DHigh"));
1391 
1392  desc.add<edm::InputTag>("layerClusters", edm::InputTag("hgcalMergeLayerClusters"));
1393  desc.add<edm::InputTag>("layer_clustersTime", edm::InputTag("hgcalMergeLayerClusters", "timeLayerCluster"));
1394  desc.add<edm::InputTag>("ticlcandidates", edm::InputTag("ticlTrackstersMerge"));
1395  desc.add<edm::InputTag>("tracks", edm::InputTag("generalTracks"));
1396  desc.add<edm::InputTag>("tracksTime", edm::InputTag("tofPID:t0"));
1397  desc.add<edm::InputTag>("tracksTimeQual", edm::InputTag("mtdTrackQualityMVA:mtdQualMVA"));
1398  desc.add<edm::InputTag>("tracksTimeErr", edm::InputTag("tofPID:sigmat0"));
1399  desc.add<edm::InputTag>("tracksBeta", edm::InputTag("trackExtenderWithMTD:generalTrackBeta"));
1400  desc.add<edm::InputTag>("tracksTimeMtd", edm::InputTag("trackExtenderWithMTD:generalTracktmtd"));
1401  desc.add<edm::InputTag>("tracksTimeMtdErr", edm::InputTag("trackExtenderWithMTD:generalTracksigmatmtd"));
1402  desc.add<edm::InputTag>("tracksPosMtd", edm::InputTag("trackExtenderWithMTD:generalTrackmtdpos"));
1403  desc.add<edm::InputTag>("muons", edm::InputTag("muons1stStep"));
1404  desc.add<edm::InputTag>("superclustering", edm::InputTag("ticlTracksterLinksSuperclusteringDNN"));
1405  desc.add<edm::InputTag>("recoSuperClusters", edm::InputTag("particleFlowSuperClusterHGCal"))
1406  ->setComment(
1407  "egamma supercluster collection (either from PFECALSuperClusterProducer for Mustache, or from "
1408  "TICL->Egamma converter in case of TICL DNN superclusters)");
1409  desc.add<edm::InputTag>("recoSuperClusters_sourceTracksterCollection", edm::InputTag("ticlTrackstersMerge"))
1410  ->setComment(
1411  "Trackster collection used to produce the reco::SuperCluster, used to provide a mapping back to the "
1412  "tracksters used in superclusters");
1413 
1414  desc.add<edm::InputTag>("simtrackstersSC", edm::InputTag("ticlSimTracksters"))
1415  ->setComment("SimTrackster from CaloParticle collection to use for simTICLcandidates");
1416  desc.add<edm::InputTag>("simTICLCandidates", edm::InputTag("ticlSimTracksters"));
1417 
1418  // Settings for dumping trackster associators (recoToSim & simToReco)
1419  edm::ParameterSetDescription associatorDescValidator;
1420  associatorDescValidator.add<std::string>("branchName")->setComment("Name of the output branches in the tree");
1421  associatorDescValidator.add<std::string>("suffix")->setComment("Should be CP or SC (for the output branch name)");
1422  associatorDescValidator.add<edm::InputTag>("associatorInputTag")
1423  ->setComment("Input tag for the associator (do not put the instance)");
1424  associatorDescValidator.add<edm::InputTag>("tracksterCollection")
1425  ->setComment("Collection of tracksters used by the associator");
1426  associatorDescValidator.add<edm::InputTag>("simTracksterCollection")
1427  ->setComment("Collection of SimTrackster used by the associator");
1428  desc.addVPSet("associators", associatorDescValidator)->setComment("Tracksters to SimTracksters associators to dump");
1429 
1430  desc.add<edm::InputTag>("simclusters", edm::InputTag("mix", "MergedCaloTruth"));
1431  desc.add<edm::InputTag>("caloparticles", edm::InputTag("mix", "MergedCaloTruth"));
1432  desc.add<std::string>("detector", "HGCAL");
1433  desc.add<std::string>("propagator", "PropagatorWithMaterial");
1434 
1435  desc.add<bool>("saveLCs", true);
1436  desc.add<bool>("saveTICLCandidate", true);
1437  desc.add<bool>("saveSimTICLCandidate", true);
1438  desc.add<bool>("saveTracks", true);
1439  desc.add<bool>("saveSuperclustering", true);
1440  desc.add<bool>("saveRecoSuperclusters", true)
1441  ->setComment("Save superclustering Egamma collections (as reco::SuperCluster)");
1442  descriptions.add("ticlDumper", desc);
1443 }
ParameterDescriptionNode * ifValue(ParameterDescription< T > const &switchParameter, std::unique_ptr< ParameterDescriptionCases< T >> cases)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)

Member Data Documentation

◆ associations_dumperHelpers_

std::vector<TracksterToSimTracksterAssociationHelper> TICLDumper::associations_dumperHelpers_
private

the dumper helpers for each association map to dump

Definition at line 628 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ associations_parameterSets_

const std::vector<edm::ParameterSet> TICLDumper::associations_parameterSets_
private

A parameter set for each associator collection to dump (with treeName, etc)

Definition at line 623 of file TICLDumper.cc.

Referenced by beginJob(), and TICLDumper().

◆ associations_recoToSim_token_

std::vector<edm::EDGetTokenT<ticl::RecoToSimCollectionSimTracksters> > TICLDumper::associations_recoToSim_token_
private

Definition at line 626 of file TICLDumper.cc.

Referenced by analyze(), and TICLDumper().

◆ associations_simToReco_token_

std::vector<edm::EDGetTokenT<ticl::SimToRecoCollectionSimTracksters> > TICLDumper::associations_simToReco_token_
private

The tokens for each assocation.

Definition at line 625 of file TICLDumper.cc.

Referenced by analyze(), and TICLDumper().

◆ associations_simTracksterCollection_

std::vector<edm::EDGetTokenT<std::vector<ticl::Trackster> > > TICLDumper::associations_simTracksterCollection_
private

the collection of simtracksters used by the associator

Definition at line 632 of file TICLDumper.cc.

Referenced by analyze(), and TICLDumper().

◆ associations_tracksterCollection_

std::vector<edm::EDGetTokenT<std::vector<ticl::Trackster> > > TICLDumper::associations_tracksterCollection_
private

the collection of tracksters used by the associator

Definition at line 630 of file TICLDumper.cc.

Referenced by analyze(), and TICLDumper().

◆ associations_tree_

TTree* TICLDumper::associations_tree_
private

Definition at line 633 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ bfield_token_

const edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> TICLDumper::bfield_token_
private

Definition at line 641 of file TICLDumper.cc.

Referenced by beginRun().

◆ caloGeometry_token_

edm::ESGetToken<CaloGeometry, CaloGeometryRecord> TICLDumper::caloGeometry_token_
private

Definition at line 617 of file TICLDumper.cc.

Referenced by beginRun().

◆ caloparticles_token_

const edm::EDGetTokenT<std::vector<CaloParticle> > TICLDumper::caloparticles_token_
private

Definition at line 636 of file TICLDumper.cc.

Referenced by analyze().

◆ candidate_charge

std::vector<int> TICLDumper::candidate_charge
private

Definition at line 695 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ candidate_energy

std::vector<float> TICLDumper::candidate_energy
private

Definition at line 697 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ candidate_id_probabilities

std::vector<std::vector<float> > TICLDumper::candidate_id_probabilities
private

Definition at line 704 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ candidate_pdgId

std::vector<int> TICLDumper::candidate_pdgId
private

Definition at line 696 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ candidate_px

std::vector<double> TICLDumper::candidate_px
private

Definition at line 699 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ candidate_py

std::vector<double> TICLDumper::candidate_py
private

Definition at line 700 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ candidate_pz

std::vector<double> TICLDumper::candidate_pz
private

Definition at line 701 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ candidate_raw_energy

std::vector<float> TICLDumper::candidate_raw_energy
private

Definition at line 698 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ candidate_time

std::vector<float> TICLDumper::candidate_time
private

Definition at line 702 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ candidate_time_err

std::vector<float> TICLDumper::candidate_time_err
private

Definition at line 703 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ candidate_tree_

TTree* TICLDumper::candidate_tree_
private

Definition at line 752 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ cluster_correctedEnergy

std::vector<float> TICLDumper::cluster_correctedEnergy
private

Definition at line 711 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_correctedEnergyUncertainty

std::vector<float> TICLDumper::cluster_correctedEnergyUncertainty
private

Definition at line 712 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_energy

std::vector<float> TICLDumper::cluster_energy
private

Definition at line 710 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_layer_id

std::vector<unsigned int> TICLDumper::cluster_layer_id
private

Definition at line 718 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_number_of_hits

std::vector<uint32_t> TICLDumper::cluster_number_of_hits
private

Definition at line 722 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_position_eta

std::vector<float> TICLDumper::cluster_position_eta
private

Definition at line 716 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_position_phi

std::vector<float> TICLDumper::cluster_position_phi
private

Definition at line 717 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_position_x

std::vector<float> TICLDumper::cluster_position_x
private

Definition at line 713 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_position_y

std::vector<float> TICLDumper::cluster_position_y
private

Definition at line 714 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_position_z

std::vector<float> TICLDumper::cluster_position_z
private

Definition at line 715 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_seedID

std::vector<uint32_t> TICLDumper::cluster_seedID
private

Definition at line 709 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_time

std::vector<float> TICLDumper::cluster_time
private

Definition at line 720 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_timeErr

std::vector<float> TICLDumper::cluster_timeErr
private

Definition at line 721 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ cluster_tree_

TTree* TICLDumper::cluster_tree_
private

Definition at line 751 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ cluster_type

std::vector<int> TICLDumper::cluster_type
private

Definition at line 719 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ clustersTime_token_

const edm::EDGetTokenT<edm::ValueMap<std::pair<float, float> > > TICLDumper::clustersTime_token_
private

Definition at line 611 of file TICLDumper.cc.

Referenced by analyze().

◆ detector_

const std::string TICLDumper::detector_
private

Definition at line 639 of file TICLDumper.cc.

Referenced by TICLDumper().

◆ detectorTools_

std::unique_ptr<DetectorTools> TICLDumper::detectorTools_
private

Definition at line 644 of file TICLDumper.cc.

Referenced by analyze(), and beginRun().

◆ eventId_

edm::EventID TICLDumper::eventId_
private

Definition at line 659 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ geometry_token_

const edm::ESGetToken<CaloGeometry, CaloGeometryRecord> TICLDumper::geometry_token_
private

Definition at line 638 of file TICLDumper.cc.

◆ hdc_token_

edm::ESGetToken<HGCalDDDConstants, IdealGeometryRecord> TICLDumper::hdc_token_
private

Definition at line 643 of file TICLDumper.cc.

Referenced by beginRun(), and TICLDumper().

◆ hgcaltracks_eta_token_

const edm::EDGetTokenT<std::vector<double> > TICLDumper::hgcaltracks_eta_token_
private

Definition at line 605 of file TICLDumper.cc.

◆ hgcaltracks_phi_token_

const edm::EDGetTokenT<std::vector<double> > TICLDumper::hgcaltracks_phi_token_
private

Definition at line 606 of file TICLDumper.cc.

◆ hgcaltracks_px_token_

const edm::EDGetTokenT<std::vector<double> > TICLDumper::hgcaltracks_px_token_
private

Definition at line 607 of file TICLDumper.cc.

◆ hgcaltracks_py_token_

const edm::EDGetTokenT<std::vector<double> > TICLDumper::hgcaltracks_py_token_
private

Definition at line 608 of file TICLDumper.cc.

◆ hgcaltracks_pz_token_

const edm::EDGetTokenT<std::vector<double> > TICLDumper::hgcaltracks_pz_token_
private

Definition at line 609 of file TICLDumper.cc.

◆ hgcaltracks_x_token_

const edm::EDGetTokenT<std::vector<double> > TICLDumper::hgcaltracks_x_token_
private

Definition at line 602 of file TICLDumper.cc.

◆ hgcaltracks_y_token_

const edm::EDGetTokenT<std::vector<double> > TICLDumper::hgcaltracks_y_token_
private

Definition at line 603 of file TICLDumper.cc.

◆ hgcaltracks_z_token_

const edm::EDGetTokenT<std::vector<double> > TICLDumper::hgcaltracks_z_token_
private

Definition at line 604 of file TICLDumper.cc.

◆ layer_clusters_token_

const edm::EDGetTokenT<std::vector<reco::CaloCluster> > TICLDumper::layer_clusters_token_
private

Definition at line 589 of file TICLDumper.cc.

Referenced by analyze().

◆ muons_token_

const edm::EDGetTokenT<std::vector<reco::Muon> > TICLDumper::muons_token_
private

Definition at line 610 of file TICLDumper.cc.

Referenced by analyze().

◆ nCandidates

size_t TICLDumper::nCandidates
private

Definition at line 694 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ nclusters_

unsigned int TICLDumper::nclusters_
private

Definition at line 660 of file TICLDumper.cc.

Referenced by analyze(), and clearVariables().

◆ propagator_token_

const edm::ESGetToken<Propagator, TrackingComponentsRecord> TICLDumper::propagator_token_
private

Definition at line 642 of file TICLDumper.cc.

Referenced by beginRun().

◆ propName_

const std::string TICLDumper::propName_
private

Definition at line 640 of file TICLDumper.cc.

◆ recoSuperCluster_constituentTs

std::vector<std::vector<uint32_t> > TICLDumper::recoSuperCluster_constituentTs
private

Indices to all tracksters inside the supercluster (same)

Definition at line 676 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ recoSuperCluster_correctedEnergy

std::vector<double> TICLDumper::recoSuperCluster_correctedEnergy
private

Definition at line 667 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ recoSuperCluster_energy

std::vector<double> TICLDumper::recoSuperCluster_energy
private

Definition at line 666 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ recoSuperCluster_position_eta

std::vector<double> TICLDumper::recoSuperCluster_position_eta
private

Definition at line 671 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ recoSuperCluster_position_phi

std::vector<double> TICLDumper::recoSuperCluster_position_phi
private

Definition at line 672 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ recoSuperCluster_position_x

std::vector<double> TICLDumper::recoSuperCluster_position_x
private

Definition at line 668 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ recoSuperCluster_position_y

std::vector<double> TICLDumper::recoSuperCluster_position_y
private

Definition at line 669 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ recoSuperCluster_position_z

std::vector<double> TICLDumper::recoSuperCluster_position_z
private

Definition at line 670 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ recoSuperCluster_rawEnergy

std::vector<double> TICLDumper::recoSuperCluster_rawEnergy
private

Definition at line 665 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ recoSuperCluster_seedTs

std::vector<uint32_t> TICLDumper::recoSuperCluster_seedTs
private

Index to seed trackster (into the trackster collection used to make superclusters, given by config recoSuperClusters_sourceTracksterCollection)

Definition at line 674 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ recoSuperClusters_caloClusters_token

const edm::EDGetTokenT<reco::CaloClusterCollection> TICLDumper::recoSuperClusters_caloClusters_token
private

Definition at line 615 of file TICLDumper.cc.

◆ recoSuperClusters_sourceTracksters_token

const edm::EDGetTokenT<std::vector<ticl::Trackster> > TICLDumper::recoSuperClusters_sourceTracksters_token
private

Definition at line 616 of file TICLDumper.cc.

Referenced by analyze().

◆ recoSuperClusters_token

const edm::EDGetTokenT<reco::SuperClusterCollection> TICLDumper::recoSuperClusters_token
private

Definition at line 614 of file TICLDumper.cc.

Referenced by analyze().

◆ saveLCs_

bool TICLDumper::saveLCs_
private

Definition at line 645 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ saveRecoSuperclusters_

bool TICLDumper::saveRecoSuperclusters_
private

Definition at line 648 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ saveSimTICLCandidate_

bool TICLDumper::saveSimTICLCandidate_
private

Definition at line 650 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ saveSuperclustering_

bool TICLDumper::saveSuperclustering_
private

Definition at line 646 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ saveSuperclusteringDNNScore_

bool TICLDumper::saveSuperclusteringDNNScore_
private

Definition at line 647 of file TICLDumper.cc.

◆ saveTICLCandidate_

bool TICLDumper::saveTICLCandidate_
private

Definition at line 649 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ saveTracks_

bool TICLDumper::saveTracks_
private

Definition at line 651 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ simclusters_token_

const edm::EDGetTokenT<std::vector<SimCluster> > TICLDumper::simclusters_token_
private

Definition at line 635 of file TICLDumper.cc.

Referenced by analyze().

◆ simTICLCandidate_boundaryPx

std::vector<float> TICLDumper::simTICLCandidate_boundaryPx
private

Definition at line 684 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_boundaryPy

std::vector<float> TICLDumper::simTICLCandidate_boundaryPy
private

Definition at line 685 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_boundaryPz

std::vector<float> TICLDumper::simTICLCandidate_boundaryPz
private

Definition at line 686 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_boundaryX

std::vector<float> TICLDumper::simTICLCandidate_boundaryX
private

Definition at line 681 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_boundaryY

std::vector<float> TICLDumper::simTICLCandidate_boundaryY
private

Definition at line 682 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_boundaryZ

std::vector<float> TICLDumper::simTICLCandidate_boundaryZ
private

Definition at line 683 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_caloParticleMass

std::vector<float> TICLDumper::simTICLCandidate_caloParticleMass
private

Definition at line 687 of file TICLDumper.cc.

Referenced by beginJob(), and clearVariables().

◆ simTICLCandidate_charge

std::vector<int> TICLDumper::simTICLCandidate_charge
private

Definition at line 690 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_pdgId

std::vector<int> TICLDumper::simTICLCandidate_pdgId
private

Definition at line 689 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_raw_energy

std::vector<float> TICLDumper::simTICLCandidate_raw_energy
private

Definition at line 678 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_regressed_energy

std::vector<float> TICLDumper::simTICLCandidate_regressed_energy
private

Definition at line 679 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_simTracksterCPIndex

std::vector<std::vector<int> > TICLDumper::simTICLCandidate_simTracksterCPIndex
private

Definition at line 680 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_time

std::vector<float> TICLDumper::simTICLCandidate_time
private

Definition at line 688 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_token_

const edm::EDGetTokenT<std::vector<TICLCandidate> > TICLDumper::simTICLCandidate_token_
private

Definition at line 619 of file TICLDumper.cc.

Referenced by analyze().

◆ simTICLCandidate_track_in_candidate

std::vector<int> TICLDumper::simTICLCandidate_track_in_candidate
private

Definition at line 691 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ simTICLCandidate_tree

TTree* TICLDumper::simTICLCandidate_tree
private

Definition at line 755 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ simTracksters_SC_token_

const edm::EDGetTokenT<std::vector<ticl::Trackster> > TICLDumper::simTracksters_SC_token_
private

Definition at line 618 of file TICLDumper.cc.

Referenced by analyze().

◆ superclustering_linkedResultTracksters

std::vector<std::vector<unsigned int> > TICLDumper::superclustering_linkedResultTracksters
private

Definition at line 663 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ superclustering_linkedResultTracksters_token

const edm::EDGetTokenT<std::vector<std::vector<unsigned int> > > TICLDumper::superclustering_linkedResultTracksters_token
private

Definition at line 613 of file TICLDumper.cc.

Referenced by analyze().

◆ superclustering_tree_

TTree* TICLDumper::superclustering_tree_
private

Definition at line 753 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ ticl_candidates_token_

const edm::EDGetTokenT<std::vector<TICLCandidate> > TICLDumper::ticl_candidates_token_
private

Definition at line 590 of file TICLDumper.cc.

Referenced by analyze().

◆ ticl_candidates_tracksters_token_

const edm::EDGetTokenT<std::vector<ticl::Trackster> > TICLDumper::ticl_candidates_tracksters_token_
private

trackster collection used by TICLCandidate

Definition at line 592 of file TICLDumper.cc.

Referenced by analyze().

◆ track_beta

std::vector<float> TICLDumper::track_beta
private

Definition at line 743 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_charge

std::vector<int> TICLDumper::track_charge
private

Definition at line 739 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_hgcal_eta

std::vector<float> TICLDumper::track_hgcal_eta
private

Definition at line 732 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_hgcal_phi

std::vector<float> TICLDumper::track_hgcal_phi
private

Definition at line 733 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_hgcal_pt

std::vector<float> TICLDumper::track_hgcal_pt
private

Definition at line 734 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_hgcal_px

std::vector<float> TICLDumper::track_hgcal_px
private

Definition at line 729 of file TICLDumper.cc.

Referenced by analyze(), and clearVariables().

◆ track_hgcal_py

std::vector<float> TICLDumper::track_hgcal_py
private

Definition at line 730 of file TICLDumper.cc.

Referenced by analyze(), and clearVariables().

◆ track_hgcal_pz

std::vector<float> TICLDumper::track_hgcal_pz
private

Definition at line 731 of file TICLDumper.cc.

Referenced by analyze(), and clearVariables().

◆ track_hgcal_x

std::vector<float> TICLDumper::track_hgcal_x
private

Definition at line 726 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_hgcal_y

std::vector<float> TICLDumper::track_hgcal_y
private

Definition at line 727 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_hgcal_z

std::vector<float> TICLDumper::track_hgcal_z
private

Definition at line 728 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_id

std::vector<unsigned int> TICLDumper::track_id
private

Definition at line 725 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_in_candidate

std::vector<int> TICLDumper::track_in_candidate
private

Definition at line 706 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_isMuon

std::vector<int> TICLDumper::track_isMuon
private

Definition at line 748 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_isTrackerMuon

std::vector<int> TICLDumper::track_isTrackerMuon
private

Definition at line 749 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_missing_inner_hits

std::vector<int> TICLDumper::track_missing_inner_hits
private

Definition at line 738 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_missing_outer_hits

std::vector<int> TICLDumper::track_missing_outer_hits
private

Definition at line 737 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_nhits

std::vector<int> TICLDumper::track_nhits
private

Definition at line 747 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_pos_mtd

std::vector<GlobalPoint> TICLDumper::track_pos_mtd
private

Definition at line 746 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_pt

std::vector<float> TICLDumper::track_pt
private

Definition at line 735 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_quality

std::vector<int> TICLDumper::track_quality
private

Definition at line 736 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_time

std::vector<double> TICLDumper::track_time
private

Definition at line 740 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_time_err

std::vector<float> TICLDumper::track_time_err
private

Definition at line 742 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_time_mtd

std::vector<float> TICLDumper::track_time_mtd
private

Definition at line 744 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_time_mtd_err

std::vector<float> TICLDumper::track_time_mtd_err
private

Definition at line 745 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ track_time_quality

std::vector<float> TICLDumper::track_time_quality
private

Definition at line 741 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ tracks_beta_token_

const edm::EDGetTokenT<edm::ValueMap<float> > TICLDumper::tracks_beta_token_
private

Definition at line 598 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_mask_token_

const edm::EDGetTokenT<std::vector<bool> > TICLDumper::tracks_mask_token_
private

Definition at line 594 of file TICLDumper.cc.

◆ tracks_pos_mtd_token_

const edm::EDGetTokenT<edm::ValueMap<GlobalPoint> > TICLDumper::tracks_pos_mtd_token_
private

Definition at line 601 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_time_err_token_

const edm::EDGetTokenT<edm::ValueMap<float> > TICLDumper::tracks_time_err_token_
private

Definition at line 597 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_time_mtd_err_token_

const edm::EDGetTokenT<edm::ValueMap<float> > TICLDumper::tracks_time_mtd_err_token_
private

Definition at line 600 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_time_mtd_token_

const edm::EDGetTokenT<edm::ValueMap<float> > TICLDumper::tracks_time_mtd_token_
private

Definition at line 599 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_time_quality_token_

const edm::EDGetTokenT<edm::ValueMap<float> > TICLDumper::tracks_time_quality_token_
private

Definition at line 596 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_time_token_

const edm::EDGetTokenT<edm::ValueMap<float> > TICLDumper::tracks_time_token_
private

Definition at line 595 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_token_

const edm::EDGetTokenT<std::vector<reco::Track> > TICLDumper::tracks_token_
private

Definition at line 593 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_tree_

TTree* TICLDumper::tracks_tree_
private

Definition at line 754 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ tracksters_dumperHelpers_

std::vector<TracksterDumperHelper> TICLDumper::tracksters_dumperHelpers_
private

the dumper helpers for each trackster collection to dump

Definition at line 585 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), clearVariables(), and TICLDumper().

◆ tracksters_in_candidate

std::vector<std::vector<uint32_t> > TICLDumper::tracksters_in_candidate
private

Definition at line 705 of file TICLDumper.cc.

Referenced by analyze(), beginJob(), and clearVariables().

◆ tracksters_in_candidate_token_

const edm::EDGetTokenT<std::vector<ticl::Trackster> > TICLDumper::tracksters_in_candidate_token_
private

Definition at line 588 of file TICLDumper.cc.

Referenced by analyze().

◆ tracksters_parameterSets_

const std::vector<edm::ParameterSet> TICLDumper::tracksters_parameterSets_
private

A parameter set for each trackster collection to dump (giving tree name, etc)

Definition at line 581 of file TICLDumper.cc.

Referenced by beginJob(), and TICLDumper().

◆ tracksters_token_

std::vector<edm::EDGetTokenT<std::vector<ticl::Trackster> > > TICLDumper::tracksters_token_
private

a token for each trackster collection to dump

Definition at line 583 of file TICLDumper.cc.

Referenced by analyze(), and TICLDumper().

◆ tracksters_trees

std::vector<TTree*> TICLDumper::tracksters_trees
private

TTree for each trackster collection to dump.

Definition at line 586 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ tracksterSeeds_token_

const edm::EDGetTokenT<std::vector<int> > TICLDumper::tracksterSeeds_token_
private

Definition at line 612 of file TICLDumper.cc.

◆ tree_

TTree* TICLDumper::tree_
private

Definition at line 654 of file TICLDumper.cc.