CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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< TracksterToTracksterMap > > associations_recoToSim_token_
 
std::vector< edm::EDGetTokenT< TracksterToTracksterMap > > associations_simToReco_token_
 The tokens for each assocation. 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 548 of file TICLDumper.cc.

Member Typedef Documentation

◆ Vec

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

Definition at line 554 of file TICLDumper.cc.

◆ Vector

Definition at line 553 of file TICLDumper.cc.

Constructor & Destructor Documentation

◆ TICLDumper()

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

Definition at line 836 of file TICLDumper.cc.

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

837  : tracksters_parameterSets_(ps.getParameter<std::vector<edm::ParameterSet>>("tracksterCollections")),
840  consumes<std::vector<ticl::Trackster>>(ps.getParameter<edm::InputTag>("trackstersInCand"))),
841  layer_clusters_token_(consumes<std::vector<reco::CaloCluster>>(ps.getParameter<edm::InputTag>("layerClusters"))),
842  ticl_candidates_token_(consumes<std::vector<TICLCandidate>>(ps.getParameter<edm::InputTag>("ticlcandidates"))),
844  consumes<std::vector<ticl::Trackster>>(ps.getParameter<edm::InputTag>("ticlcandidates"))),
845  tracks_token_(consumes<std::vector<reco::Track>>(ps.getParameter<edm::InputTag>("tracks"))),
853  muons_token_(consumes<std::vector<reco::Muon>>(ps.getParameter<edm::InputTag>("muons"))),
855  consumes<edm::ValueMap<std::pair<float, float>>>(ps.getParameter<edm::InputTag>("layer_clustersTime"))),
857  consumes<std::vector<std::vector<unsigned int>>>(ps.getParameter<edm::InputTag>("superclustering"))),
859  consumes<reco::SuperClusterCollection>(ps.getParameter<edm::InputTag>("recoSuperClusters"))),
861  consumes<reco::CaloClusterCollection>(ps.getParameter<edm::InputTag>("recoSuperClusters"))),
862  recoSuperClusters_sourceTracksters_token(consumes<std::vector<ticl::Trackster>>(
863  ps.getParameter<edm::InputTag>("recoSuperClusters_sourceTracksterCollection"))),
864  caloGeometry_token_(esConsumes<CaloGeometry, CaloGeometryRecord, edm::Transition::BeginRun>()),
866  consumes<std::vector<ticl::Trackster>>(ps.getParameter<edm::InputTag>("simtrackstersSC"))),
868  consumes<std::vector<TICLCandidate>>(ps.getParameter<edm::InputTag>("simTICLCandidates"))),
869  associations_parameterSets_(ps.getParameter<std::vector<edm::ParameterSet>>("associators")),
870  // The DumperHelpers should not be moved after construction (needed by TTree branch pointers), so construct them all here
874  geometry_token_(esConsumes<CaloGeometry, CaloGeometryRecord, edm::Transition::BeginRun>()),
875  detector_(ps.getParameter<std::string>("detector")),
876  propName_(ps.getParameter<std::string>("propagator")),
877  bfield_token_(esConsumes<MagneticField, IdealMagneticFieldRecord, edm::Transition::BeginRun>()),
879  esConsumes<Propagator, TrackingComponentsRecord, edm::Transition::BeginRun>(edm::ESInputTag("", propName_))),
880  saveLCs_(ps.getParameter<bool>("saveLCs")),
881  saveSuperclustering_(ps.getParameter<bool>("saveSuperclustering")),
882  //saveSuperclusteringDNNScore_(ps.getParameter<bool>("saveSuperclusteringDNNScore")),
883  saveRecoSuperclusters_(ps.getParameter<bool>("saveRecoSuperclusters")),
884  saveTICLCandidate_(ps.getParameter<bool>("saveSimTICLCandidate")),
885  saveSimTICLCandidate_(ps.getParameter<bool>("saveSimTICLCandidate")),
886  saveTracks_(ps.getParameter<bool>("saveTracks")) {
887  std::string detectorName_ = (detector_ == "HFNose") ? "HGCalHFNoseSensitive" : "HGCalEESensitive";
888  hdc_token_ =
889  esConsumes<HGCalDDDConstants, IdealGeometryRecord, edm::Transition::BeginRun>(edm::ESInputTag("", detectorName_));
890 
891  for (edm::ParameterSet const& tracksterPset : tracksters_parameterSets_) {
892  tracksters_token_.push_back(
893  consumes<std::vector<ticl::Trackster>>(tracksterPset.getParameter<edm::InputTag>("inputTag")));
894  tracksters_dumperHelpers_.emplace_back(
895  TracksterDumperHelper::tracksterTypeFromString(tracksterPset.getParameter<std::string>("tracksterType")));
896  }
897 
898  for (edm::ParameterSet const& associationPset : associations_parameterSets_) {
899  associations_recoToSim_token_.push_back(consumes<TracksterToTracksterMap>(
900  edm::InputTag(associationPset.getParameter<edm::InputTag>("associatorRecoToSimInputTag"))));
901  associations_simToReco_token_.push_back(consumes<TracksterToTracksterMap>(
902  edm::InputTag(associationPset.getParameter<edm::InputTag>("associatorSimToRecoInputTag"))));
903  }
904 };
const edm::EDGetTokenT< reco::SuperClusterCollection > recoSuperClusters_token
Definition: TICLDumper.cc:599
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > tracksters_token_
a token for each trackster collection to dump
Definition: TICLDumper.cc:568
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometry_token_
Definition: TICLDumper.cc:620
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:613
bool saveSuperclustering_
Definition: TICLDumper.cc:628
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_beta_token_
Definition: TICLDumper.cc:583
const edm::EDGetTokenT< edm::ValueMap< GlobalPoint > > tracks_pos_mtd_token_
Definition: TICLDumper.cc:586
std::vector< edm::EDGetTokenT< TracksterToTracksterMap > > associations_simToReco_token_
The tokens for each assocation.
Definition: TICLDumper.cc:610
const edm::EDGetTokenT< std::vector< std::vector< unsigned int > > > superclustering_linkedResultTracksters_token
Definition: TICLDumper.cc:598
const edm::EDGetTokenT< reco::CaloClusterCollection > recoSuperClusters_caloClusters_token
Definition: TICLDumper.cc:600
bool saveRecoSuperclusters_
Definition: TICLDumper.cc:630
const edm::EDGetTokenT< std::vector< TICLCandidate > > ticl_candidates_token_
Definition: TICLDumper.cc:575
const edm::EDGetTokenT< std::vector< ticl::Trackster > > simTracksters_SC_token_
Definition: TICLDumper.cc:603
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_quality_token_
Definition: TICLDumper.cc:581
const edm::ESGetToken< Propagator, TrackingComponentsRecord > propagator_token_
Definition: TICLDumper.cc:624
static TracksterType tracksterTypeFromString(std::string str)
Definition: TICLDumper.cc:117
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const edm::EDGetTokenT< std::vector< CaloParticle > > caloparticles_token_
Definition: TICLDumper.cc:618
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_token_
Definition: TICLDumper.cc:580
const edm::EDGetTokenT< std::vector< ticl::Trackster > > tracksters_in_candidate_token_
Definition: TICLDumper.cc:573
bool saveTICLCandidate_
Definition: TICLDumper.cc:631
const std::vector< edm::ParameterSet > associations_parameterSets_
A parameter set for each associator collection to dump (with treeName, etc)
Definition: TICLDumper.cc:608
const std::string propName_
Definition: TICLDumper.cc:622
bool saveLCs_
Definition: TICLDumper.cc:627
const edm::EDGetTokenT< std::vector< ticl::Trackster > > ticl_candidates_tracksters_token_
trackster collection used by TICLCandidate
Definition: TICLDumper.cc:577
edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hdc_token_
Definition: TICLDumper.cc:625
bool saveTracks_
Definition: TICLDumper.cc:633
const edm::EDGetTokenT< std::vector< ticl::Trackster > > recoSuperClusters_sourceTracksters_token
Definition: TICLDumper.cc:601
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_mtd_token_
Definition: TICLDumper.cc:584
std::vector< TracksterDumperHelper > tracksters_dumperHelpers_
the dumper helpers for each trackster collection to dump
Definition: TICLDumper.cc:570
bool saveSimTICLCandidate_
Definition: TICLDumper.cc:632
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_mtd_err_token_
Definition: TICLDumper.cc:585
std::vector< edm::EDGetTokenT< TracksterToTracksterMap > > associations_recoToSim_token_
Definition: TICLDumper.cc:611
const edm::EDGetTokenT< edm::ValueMap< std::pair< float, float > > > clustersTime_token_
Definition: TICLDumper.cc:596
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_err_token_
Definition: TICLDumper.cc:582
const edm::EDGetTokenT< std::vector< TICLCandidate > > simTICLCandidate_token_
Definition: TICLDumper.cc:604
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bfield_token_
Definition: TICLDumper.cc:623
const edm::EDGetTokenT< std::vector< reco::CaloCluster > > layer_clusters_token_
Definition: TICLDumper.cc:574
const std::vector< edm::ParameterSet > tracksters_parameterSets_
A parameter set for each trackster collection to dump (giving tree name, etc)
Definition: TICLDumper.cc:566
const edm::EDGetTokenT< std::vector< reco::Track > > tracks_token_
Definition: TICLDumper.cc:578
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry_token_
Definition: TICLDumper.cc:602
const edm::EDGetTokenT< std::vector< reco::Muon > > muons_token_
Definition: TICLDumper.cc:595
const edm::EDGetTokenT< std::vector< SimCluster > > simclusters_token_
Definition: TICLDumper.cc:617
const std::string detector_
Definition: TICLDumper.cc:621

◆ ~TICLDumper()

TICLDumper::~TICLDumper ( )
override

Definition at line 906 of file TICLDumper.cc.

References clearVariables().

906 { clearVariables(); };
void clearVariables()
Definition: TICLDumper.cc:740

Member Function Documentation

◆ analyze()

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

Implements edm::one::EDAnalyzerBase.

Definition at line 1042 of file TICLDumper.cc.

References cms::cuda::assert(), associations_dumperHelpers_, associations_recoToSim_token_, associations_simToReco_token_, 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, TSToSimTSAssociationByHits_cfi::hitToTracksterMap, 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_, HitToTracksterAssociation_cfi::tracksters, tracksters_dumperHelpers_, tracksters_in_candidate, tracksters_in_candidate_token_, tracksters_token_, tracksters_trees, and AlignmentTracksFromVertexSelector_cfi::vertices.

1042  {
1043  eventId_ = event.id();
1044  clearVariables();
1045 
1046  edm::Handle<std::vector<ticl::Trackster>> tracksters_in_candidate_handle;
1047  event.getByToken(tracksters_in_candidate_token_, tracksters_in_candidate_handle);
1048 
1049  //get all the layer clusters
1051  event.getByToken(layer_clusters_token_, layer_clusters_h);
1052  const auto& clusters = *layer_clusters_h;
1053 
1055  event.getByToken(clustersTime_token_, clustersTime_h);
1056  const auto& layerClustersTimes = *clustersTime_h;
1057 
1058  //TICL Candidate
1060  event.getByToken(ticl_candidates_token_, candidates_h);
1061  const auto& ticlcandidates = *candidates_h;
1062  edm::Handle<std::vector<ticl::Trackster>> ticlcandidates_tracksters_h =
1063  event.getHandle(ticl_candidates_tracksters_token_);
1064 
1065  //Track
1067  event.getByToken(tracks_token_, tracks_h);
1068  const auto& tracks = *tracks_h;
1069 
1070  edm::Handle<edm::ValueMap<float>> trackTime_h;
1071  event.getByToken(tracks_time_token_, trackTime_h);
1072  const auto& trackTime = *trackTime_h;
1073 
1074  edm::Handle<edm::ValueMap<float>> trackTimeErr_h;
1075  event.getByToken(tracks_time_err_token_, trackTimeErr_h);
1076  const auto& trackTimeErr = *trackTimeErr_h;
1077 
1078  edm::Handle<edm::ValueMap<float>> trackBeta_h;
1079  event.getByToken(tracks_beta_token_, trackBeta_h);
1080  const auto& trackBeta = *trackBeta_h;
1081 
1082  edm::Handle<edm::ValueMap<float>> trackTimeQual_h;
1083  event.getByToken(tracks_time_quality_token_, trackTimeQual_h);
1084  const auto& trackTimeQual = *trackTimeQual_h;
1085 
1086  edm::Handle<edm::ValueMap<float>> trackTimeMtd_h;
1087  event.getByToken(tracks_time_mtd_token_, trackTimeMtd_h);
1088  const auto& trackTimeMtd = *trackTimeMtd_h;
1089 
1090  edm::Handle<edm::ValueMap<float>> trackTimeMtdErr_h;
1091  event.getByToken(tracks_time_mtd_err_token_, trackTimeMtdErr_h);
1092  const auto& trackTimeMtdErr = *trackTimeMtdErr_h;
1093 
1095  event.getByToken(tracks_pos_mtd_token_, trackPosMtd_h);
1096  const auto& trackPosMtd = *trackPosMtd_h;
1097 
1098  // superclustering
1099  if (saveSuperclustering_) // To support running with Mustache
1101 
1102  // muons
1104  event.getByToken(muons_token_, muons_h);
1105  auto& muons = *muons_h;
1106 
1107  // recoSuperClusters
1108  if (saveRecoSuperclusters_) {
1109  reco::SuperClusterCollection const& recoSuperClusters = event.get(recoSuperClusters_token);
1110  // reco::CaloClusterCollection const& recoCaloClusters = event.get(recoSuperClusters_caloClusters_token);
1111  std::vector<ticl::Trackster> const& recoSuperClusters_sourceTracksters =
1113 
1114  // Map for fast lookup of hit to trackster index in recoSuperClusters_sourceTracksters
1115  std::unordered_map<DetId, unsigned> hitToTracksterMap;
1116 
1117  for (unsigned ts_id = 0; ts_id < recoSuperClusters_sourceTracksters.size(); ts_id++) {
1118  for (unsigned int lc_index : recoSuperClusters_sourceTracksters[ts_id].vertices()) {
1119  for (auto [detId, fraction] : clusters[lc_index].hitsAndFractions()) {
1120  bool insertionSucceeded = hitToTracksterMap.emplace(detId, ts_id).second;
1121  assert(insertionSucceeded && "TICLDumper found tracksters sharing rechits");
1122  }
1123  }
1124  }
1125 
1126  for (auto const& recoSc : recoSuperClusters) {
1127  recoSuperCluster_rawEnergy.push_back(recoSc.rawEnergy());
1128  recoSuperCluster_energy.push_back(recoSc.energy());
1129  recoSuperCluster_correctedEnergy.push_back(recoSc.correctedEnergy());
1130  recoSuperCluster_position_x.push_back(recoSc.position().x());
1131  recoSuperCluster_position_y.push_back(recoSc.position().y());
1132  recoSuperCluster_position_z.push_back(recoSc.position().z());
1133  recoSuperCluster_position_eta.push_back(recoSc.position().eta());
1134  recoSuperCluster_position_phi.push_back(recoSc.position().phi());
1135 
1136  // 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)
1137 
1138  // Seed trackster of the supercluster : Using the DetId of the seed rechit of the seed CaloCluster
1139  recoSuperCluster_seedTs.push_back(hitToTracksterMap.at(recoSc.seed()->seed()));
1140  recoSuperCluster_constituentTs.emplace_back();
1141  for (edm::Ptr<reco::CaloCluster> const& caloClusterPtr : recoSc.clusters()) {
1142  // Using the DetId of the seed rechit of the CaloCluster
1143  recoSuperCluster_constituentTs.back().push_back(hitToTracksterMap.at(caloClusterPtr->seed()));
1144  }
1145  }
1146  }
1147 
1148  edm::Handle<std::vector<TICLCandidate>> simTICLCandidates_h;
1149  event.getByToken(simTICLCandidate_token_, simTICLCandidates_h);
1150  const auto& simTICLCandidates = *simTICLCandidates_h;
1151 
1152  edm::Handle<std::vector<CaloParticle>> caloparticles_h;
1153  event.getByToken(caloparticles_token_, caloparticles_h);
1154 
1155  auto simclusters_h = event.getHandle(simclusters_token_);
1156 
1157  nclusters_ = clusters.size();
1158 
1159  // Save all the trackster collections
1160  for (unsigned int i = 0; i < tracksters_dumperHelpers_.size(); i++) {
1161  edm::Handle<std::vector<ticl::Trackster>> tracksters_handle;
1162  std::vector<ticl::Trackster> const& tracksters = event.get<std::vector<ticl::Trackster>>(tracksters_token_[i]);
1163  tracksters_dumperHelpers_[i].fillFromEvent(
1164  tracksters, clusters, layerClustersTimes, *detectorTools_, simclusters_h, caloparticles_h, tracks);
1165  tracksters_trees[i]->Fill();
1166  }
1167 
1168  const auto& simTrackstersSC_h = event.getHandle(simTracksters_SC_token_);
1169  simTICLCandidate_track_in_candidate.resize(simTICLCandidates.size(), -1);
1170  for (size_t i = 0; i < simTICLCandidates.size(); ++i) {
1171  auto const& cand = simTICLCandidates[i];
1172 
1173  simTICLCandidate_raw_energy.push_back(cand.rawEnergy());
1174  simTICLCandidate_regressed_energy.push_back(cand.p4().energy());
1175  simTICLCandidate_pdgId.push_back(cand.pdgId());
1176  simTICLCandidate_charge.push_back(cand.charge());
1177  simTICLCandidate_time.push_back(cand.time());
1178  std::vector<int> tmpIdxVec;
1179  for (auto const& simTS : cand.tracksters()) {
1180  auto trackster_idx = simTS.get() - (edm::Ptr<ticl::Trackster>(simTrackstersSC_h, 0)).get();
1181  tmpIdxVec.push_back(trackster_idx);
1182  }
1183  simTICLCandidate_simTracksterCPIndex.push_back(tmpIdxVec);
1184  tmpIdxVec.clear();
1185  auto const& trackPtr = cand.trackPtr();
1186  if (!trackPtr.isNull()) {
1187  auto const& track = *trackPtr;
1188  int iSide = int(track.eta() > 0);
1189  int tk_idx = trackPtr.get() - (edm::Ptr<reco::Track>(tracks_h, 0)).get();
1191 
1192  const auto& fts = trajectoryStateTransform::outerFreeState((track), &detectorTools_->bfield);
1193  // to the HGCal front
1194  const auto& tsos = detectorTools_->propagator.propagate(fts, detectorTools_->firstDisk_[iSide]->surface());
1195  if (tsos.isValid()) {
1196  const auto& globalPos = tsos.globalPosition();
1197  const auto& globalMom = tsos.globalMomentum();
1198  simTICLCandidate_boundaryX.push_back(globalPos.x());
1199  simTICLCandidate_boundaryY.push_back(globalPos.y());
1200  simTICLCandidate_boundaryZ.push_back(globalPos.z());
1201  simTICLCandidate_boundaryPx.push_back(globalMom.x());
1202  simTICLCandidate_boundaryPy.push_back(globalMom.y());
1203  simTICLCandidate_boundaryPz.push_back(globalMom.z());
1204  } else {
1205  simTICLCandidate_boundaryX.push_back(-999);
1206  simTICLCandidate_boundaryY.push_back(-999);
1207  simTICLCandidate_boundaryZ.push_back(-999);
1208  simTICLCandidate_boundaryPx.push_back(-999);
1209  simTICLCandidate_boundaryPy.push_back(-999);
1210  simTICLCandidate_boundaryPz.push_back(-999);
1211  }
1212  } else {
1213  simTICLCandidate_boundaryX.push_back(-999);
1214  simTICLCandidate_boundaryY.push_back(-999);
1215  simTICLCandidate_boundaryZ.push_back(-999);
1216  simTICLCandidate_boundaryPx.push_back(-999);
1217  simTICLCandidate_boundaryPy.push_back(-999);
1218  simTICLCandidate_boundaryPz.push_back(-999);
1219  }
1220  }
1221 
1222  int c_id = 0;
1223 
1224  for (auto cluster_iterator = clusters.begin(); cluster_iterator != clusters.end(); ++cluster_iterator) {
1225  auto lc_seed = cluster_iterator->seed();
1226  cluster_seedID.push_back(lc_seed);
1227  cluster_energy.push_back(cluster_iterator->energy());
1228  cluster_correctedEnergy.push_back(cluster_iterator->correctedEnergy());
1229  cluster_correctedEnergyUncertainty.push_back(cluster_iterator->correctedEnergyUncertainty());
1230  cluster_position_x.push_back(cluster_iterator->x());
1231  cluster_position_y.push_back(cluster_iterator->y());
1232  cluster_position_z.push_back(cluster_iterator->z());
1233  cluster_position_eta.push_back(cluster_iterator->eta());
1234  cluster_position_phi.push_back(cluster_iterator->phi());
1235  auto haf = cluster_iterator->hitsAndFractions();
1236  auto layerId = detectorTools_->rhtools.getLayerWithOffset(haf[0].first);
1237  cluster_layer_id.push_back(layerId);
1238  uint32_t number_of_hits = cluster_iterator->hitsAndFractions().size();
1239  cluster_number_of_hits.push_back(number_of_hits);
1240  cluster_type.push_back(detectorTools_->rhtools.getCellType(lc_seed));
1241  cluster_timeErr.push_back(layerClustersTimes.get(c_id).second);
1242  cluster_time.push_back(layerClustersTimes.get(c_id).first);
1243  c_id += 1;
1244  }
1245 
1246  tracksters_in_candidate.resize(ticlcandidates.size());
1247  track_in_candidate.resize(ticlcandidates.size(), -1);
1248  nCandidates = ticlcandidates.size();
1249  for (int i = 0; i < static_cast<int>(ticlcandidates.size()); ++i) {
1250  const auto& candidate = ticlcandidates[i];
1251  candidate_charge.push_back(candidate.charge());
1252  candidate_pdgId.push_back(candidate.pdgId());
1253  candidate_energy.push_back(candidate.energy());
1254  candidate_raw_energy.push_back(candidate.rawEnergy());
1255  candidate_px.push_back(candidate.px());
1256  candidate_py.push_back(candidate.py());
1257  candidate_pz.push_back(candidate.pz());
1258  candidate_time.push_back(candidate.time());
1259  candidate_time_err.push_back(candidate.timeError());
1260  std::vector<float> id_probs;
1261  for (int j = 0; j < 8; j++) {
1263  id_probs.push_back(candidate.id_probability(type));
1264  }
1265  candidate_id_probabilities.push_back(id_probs);
1266 
1267  auto trackster_ptrs = candidate.tracksters();
1268  auto track_ptr = candidate.trackPtr();
1269  for (const auto& ts_ptr : trackster_ptrs) {
1270  auto ts_idx = ts_ptr.get() - (edm::Ptr<ticl::Trackster>(tracksters_in_candidate_handle, 0)).get();
1271  tracksters_in_candidate[i].push_back(ts_idx);
1272  }
1273  if (track_ptr.isNull())
1274  continue;
1275  int tk_idx = track_ptr.get() - (edm::Ptr<reco::Track>(tracks_h, 0)).get();
1276  track_in_candidate[i] = tk_idx;
1277  }
1278 
1279  // trackster to simTrackster associations
1280  for (unsigned int i = 0; i < associations_dumperHelpers_.size(); i++) {
1282  event.get(associations_simToReco_token_[i]));
1283  }
1284  if (associations_dumperHelpers_.size() > 0)
1285  associations_tree_->Fill();
1286 
1287  //Tracks
1288  for (size_t i = 0; i < tracks.size(); i++) {
1289  const auto& track = tracks[i];
1290  reco::TrackRef trackref = reco::TrackRef(tracks_h, i);
1291  int iSide = int(track.eta() > 0);
1292  const auto& fts = trajectoryStateTransform::outerFreeState((track), &detectorTools_->bfield);
1293  // to the HGCal front
1294  const auto& tsos = detectorTools_->propagator.propagate(fts, detectorTools_->firstDisk_[iSide]->surface());
1295  if (tsos.isValid()) {
1296  const auto& globalPos = tsos.globalPosition();
1297  const auto& globalMom = tsos.globalMomentum();
1298  track_id.push_back(i);
1299  track_hgcal_x.push_back(globalPos.x());
1300  track_hgcal_y.push_back(globalPos.y());
1301  track_hgcal_z.push_back(globalPos.z());
1302  track_hgcal_eta.push_back(globalPos.eta());
1303  track_hgcal_phi.push_back(globalPos.phi());
1304  track_hgcal_px.push_back(globalMom.x());
1305  track_hgcal_py.push_back(globalMom.y());
1306  track_hgcal_pz.push_back(globalMom.z());
1307  track_hgcal_pt.push_back(globalMom.perp());
1308  track_pt.push_back(track.pt());
1309  track_quality.push_back(track.quality(reco::TrackBase::highPurity));
1310  track_missing_outer_hits.push_back(track.missingOuterHits());
1311  track_missing_inner_hits.push_back(track.missingInnerHits());
1312  track_charge.push_back(track.charge());
1313  track_time.push_back(trackTime[trackref]);
1314  track_time_quality.push_back(trackTimeQual[trackref]);
1315  track_time_err.push_back(trackTimeErr[trackref]);
1316  track_beta.push_back(trackBeta[trackref]);
1317  track_time_mtd.push_back(trackTimeMtd[trackref]);
1318  track_time_mtd_err.push_back(trackTimeMtdErr[trackref]);
1319  track_pos_mtd.push_back(trackPosMtd[trackref]);
1320  track_nhits.push_back(tracks[i].recHitsSize());
1321  int muId = PFMuonAlgo::muAssocToTrack(trackref, *muons_h);
1322  if (muId != -1) {
1323  const reco::MuonRef muonref = reco::MuonRef(muons_h, muId);
1324  track_isMuon.push_back(PFMuonAlgo::isMuon(muonref));
1325  track_isTrackerMuon.push_back(muons[muId].isTrackerMuon());
1326  } else {
1327  track_isMuon.push_back(-1);
1328  track_isTrackerMuon.push_back(-1);
1329  }
1330  }
1331  }
1332 
1333  if (saveLCs_)
1334  cluster_tree_->Fill();
1335  if (saveTICLCandidate_)
1336  candidate_tree_->Fill();
1338  superclustering_tree_->Fill();
1339  if (saveTracks_)
1340  tracks_tree_->Fill();
1342  simTICLCandidate_tree->Fill();
1343 }
const edm::EDGetTokenT< reco::SuperClusterCollection > recoSuperClusters_token
Definition: TICLDumper.cc:599
std::vector< TTree * > tracksters_trees
TTree for each trackster collection to dump.
Definition: TICLDumper.cc:571
std::vector< float > cluster_timeErr
Definition: TICLDumper.cc:703
std::vector< edm::EDGetTokenT< std::vector< ticl::Trackster > > > tracksters_token_
a token for each trackster collection to dump
Definition: TICLDumper.cc:568
static int muAssocToTrack(const reco::TrackRef &trackref, const reco::MuonCollection &muons)
Definition: PFMuonAlgo.cc:479
std::vector< float > cluster_position_x
Definition: TICLDumper.cc:695
std::vector< int > simTICLCandidate_charge
Definition: TICLDumper.cc:672
TTree * cluster_tree_
Definition: TICLDumper.cc:733
std::vector< TracksterToSimTracksterAssociationHelper > associations_dumperHelpers_
the dumper helpers for each association map to dump
Definition: TICLDumper.cc:613
std::vector< double > candidate_py
Definition: TICLDumper.cc:682
bool saveSuperclustering_
Definition: TICLDumper.cc:628
std::vector< float > simTICLCandidate_raw_energy
Definition: TICLDumper.cc:660
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_beta_token_
Definition: TICLDumper.cc:583
const edm::EDGetTokenT< edm::ValueMap< GlobalPoint > > tracks_pos_mtd_token_
Definition: TICLDumper.cc:586
static bool isMuon(const reco::PFBlockElement &elt)
Definition: PFMuonAlgo.cc:48
std::vector< edm::EDGetTokenT< TracksterToTracksterMap > > associations_simToReco_token_
The tokens for each assocation.
Definition: TICLDumper.cc:610
std::vector< double > recoSuperCluster_energy
Definition: TICLDumper.cc:648
std::vector< double > recoSuperCluster_position_x
Definition: TICLDumper.cc:650
std::vector< std::vector< uint32_t > > tracksters_in_candidate
Definition: TICLDumper.cc:687
std::vector< float > cluster_position_y
Definition: TICLDumper.cc:696
const edm::EDGetTokenT< std::vector< std::vector< unsigned int > > > superclustering_linkedResultTracksters_token
Definition: TICLDumper.cc:598
std::vector< float > cluster_correctedEnergy
Definition: TICLDumper.cc:693
std::vector< float > track_beta
Definition: TICLDumper.cc:725
std::vector< uint32_t > cluster_seedID
Definition: TICLDumper.cc:691
std::vector< float > cluster_position_z
Definition: TICLDumper.cc:697
std::vector< int > track_quality
Definition: TICLDumper.cc:718
std::vector< float > track_hgcal_y
Definition: TICLDumper.cc:709
bool saveRecoSuperclusters_
Definition: TICLDumper.cc:630
std::vector< unsigned int > track_id
Definition: TICLDumper.cc:707
const edm::EDGetTokenT< std::vector< TICLCandidate > > ticl_candidates_token_
Definition: TICLDumper.cc:575
std::vector< double > recoSuperCluster_position_z
Definition: TICLDumper.cc:652
std::vector< float > simTICLCandidate_boundaryY
Definition: TICLDumper.cc:664
std::vector< double > recoSuperCluster_rawEnergy
Definition: TICLDumper.cc:647
TTree * superclustering_tree_
Definition: TICLDumper.cc:735
const edm::EDGetTokenT< std::vector< ticl::Trackster > > simTracksters_SC_token_
Definition: TICLDumper.cc:603
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_quality_token_
Definition: TICLDumper.cc:581
void clearVariables()
Definition: TICLDumper.cc:740
std::vector< float > cluster_energy
Definition: TICLDumper.cc:692
std::vector< int > candidate_charge
Definition: TICLDumper.cc:677
std::vector< float > track_hgcal_pz
Definition: TICLDumper.cc:713
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:684
std::unique_ptr< DetectorTools > detectorTools_
Definition: TICLDumper.cc:626
std::vector< float > track_hgcal_px
Definition: TICLDumper.cc:711
TTree * candidate_tree_
Definition: TICLDumper.cc:734
std::vector< unsigned int > cluster_layer_id
Definition: TICLDumper.cc:700
std::vector< float > candidate_energy
Definition: TICLDumper.cc:679
std::vector< int > track_charge
Definition: TICLDumper.cc:721
std::vector< int > simTICLCandidate_track_in_candidate
Definition: TICLDumper.cc:673
std::vector< float > track_hgcal_eta
Definition: TICLDumper.cc:714
std::vector< int > cluster_type
Definition: TICLDumper.cc:701
const edm::EDGetTokenT< std::vector< CaloParticle > > caloparticles_token_
Definition: TICLDumper.cc:618
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_token_
Definition: TICLDumper.cc:580
size_t nCandidates
Definition: TICLDumper.cc:676
std::vector< float > simTICLCandidate_boundaryZ
Definition: TICLDumper.cc:665
const edm::EDGetTokenT< std::vector< ticl::Trackster > > tracksters_in_candidate_token_
Definition: TICLDumper.cc:573
std::vector< float > track_hgcal_z
Definition: TICLDumper.cc:710
std::vector< std::vector< uint32_t > > recoSuperCluster_constituentTs
Indices to all tracksters inside the supercluster (same)
Definition: TICLDumper.cc:658
std::vector< int > track_missing_outer_hits
Definition: TICLDumper.cc:719
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
std::vector< double > recoSuperCluster_position_y
Definition: TICLDumper.cc:651
std::vector< float > track_hgcal_phi
Definition: TICLDumper.cc:715
std::vector< float > cluster_time
Definition: TICLDumper.cc:702
std::vector< float > simTICLCandidate_boundaryPy
Definition: TICLDumper.cc:667
std::vector< double > track_time
Definition: TICLDumper.cc:722
std::vector< double > candidate_pz
Definition: TICLDumper.cc:683
TTree * associations_tree_
Definition: TICLDumper.cc:615
bool saveTICLCandidate_
Definition: TICLDumper.cc:631
edm::Ref< MuonCollection > MuonRef
presistent reference to a Muon
Definition: MuonFwd.h:13
std::vector< float > simTICLCandidate_boundaryPx
Definition: TICLDumper.cc:666
std::vector< float > simTICLCandidate_boundaryX
Definition: TICLDumper.cc:663
std::vector< double > candidate_px
Definition: TICLDumper.cc:681
std::vector< double > recoSuperCluster_correctedEnergy
Definition: TICLDumper.cc:649
edm::EventID eventId_
Definition: TICLDumper.cc:641
std::vector< float > track_hgcal_pt
Definition: TICLDumper.cc:716
std::vector< int > simTICLCandidate_pdgId
Definition: TICLDumper.cc:671
std::vector< float > track_time_quality
Definition: TICLDumper.cc:723
bool saveLCs_
Definition: TICLDumper.cc:627
TTree * tracks_tree_
Definition: TICLDumper.cc:736
const edm::EDGetTokenT< std::vector< ticl::Trackster > > ticl_candidates_tracksters_token_
trackster collection used by TICLCandidate
Definition: TICLDumper.cc:577
std::vector< float > simTICLCandidate_regressed_energy
Definition: TICLDumper.cc:661
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:656
bool saveTracks_
Definition: TICLDumper.cc:633
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:601
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_mtd_token_
Definition: TICLDumper.cc:584
std::vector< TracksterDumperHelper > tracksters_dumperHelpers_
the dumper helpers for each trackster collection to dump
Definition: TICLDumper.cc:570
std::vector< float > cluster_position_eta
Definition: TICLDumper.cc:698
std::vector< float > track_pt
Definition: TICLDumper.cc:717
unsigned int nclusters_
Definition: TICLDumper.cc:642
std::vector< std::vector< float > > candidate_id_probabilities
Definition: TICLDumper.cc:686
std::vector< int > track_isTrackerMuon
Definition: TICLDumper.cc:731
std::vector< std::vector< int > > simTICLCandidate_simTracksterCPIndex
Definition: TICLDumper.cc:662
std::vector< double > recoSuperCluster_position_phi
Definition: TICLDumper.cc:654
std::vector< float > track_hgcal_py
Definition: TICLDumper.cc:712
bool saveSimTICLCandidate_
Definition: TICLDumper.cc:632
std::vector< int > track_in_candidate
Definition: TICLDumper.cc:688
std::vector< float > track_time_err
Definition: TICLDumper.cc:724
std::vector< int > track_isMuon
Definition: TICLDumper.cc:730
std::vector< float > candidate_raw_energy
Definition: TICLDumper.cc:680
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_mtd_err_token_
Definition: TICLDumper.cc:585
std::vector< edm::EDGetTokenT< TracksterToTracksterMap > > associations_recoToSim_token_
Definition: TICLDumper.cc:611
std::vector< float > cluster_correctedEnergyUncertainty
Definition: TICLDumper.cc:694
std::vector< int > candidate_pdgId
Definition: TICLDumper.cc:678
std::vector< float > track_time_mtd_err
Definition: TICLDumper.cc:727
const edm::EDGetTokenT< edm::ValueMap< std::pair< float, float > > > clustersTime_token_
Definition: TICLDumper.cc:596
const edm::EDGetTokenT< edm::ValueMap< float > > tracks_time_err_token_
Definition: TICLDumper.cc:582
std::vector< double > recoSuperCluster_position_eta
Definition: TICLDumper.cc:653
std::vector< int > track_nhits
Definition: TICLDumper.cc:729
const edm::EDGetTokenT< std::vector< TICLCandidate > > simTICLCandidate_token_
Definition: TICLDumper.cc:604
std::vector< int > track_missing_inner_hits
Definition: TICLDumper.cc:720
std::vector< float > track_hgcal_x
Definition: TICLDumper.cc:708
std::vector< GlobalPoint > track_pos_mtd
Definition: TICLDumper.cc:728
std::vector< float > track_time_mtd
Definition: TICLDumper.cc:726
std::vector< uint32_t > cluster_number_of_hits
Definition: TICLDumper.cc:704
TTree * simTICLCandidate_tree
Definition: TICLDumper.cc:737
const edm::EDGetTokenT< std::vector< reco::CaloCluster > > layer_clusters_token_
Definition: TICLDumper.cc:574
std::vector< float > candidate_time_err
Definition: TICLDumper.cc:685
FreeTrajectoryState outerFreeState(const reco::Track &tk, const MagneticField *field, bool withErr=true)
std::vector< std::vector< unsigned int > > superclustering_linkedResultTracksters
Definition: TICLDumper.cc:645
const edm::EDGetTokenT< std::vector< reco::Track > > tracks_token_
Definition: TICLDumper.cc:578
const edm::EDGetTokenT< std::vector< reco::Muon > > muons_token_
Definition: TICLDumper.cc:595
std::vector< float > simTICLCandidate_time
Definition: TICLDumper.cc:670
Definition: event.py:1
std::vector< float > cluster_position_phi
Definition: TICLDumper.cc:699
const edm::EDGetTokenT< std::vector< SimCluster > > simclusters_token_
Definition: TICLDumper.cc:617
std::vector< float > simTICLCandidate_boundaryPz
Definition: TICLDumper.cc:668

◆ beginJob()

void TICLDumper::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 916 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_, make_classfiles::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.

916  {
918 
919  // Trackster trees
920  for (unsigned int i = 0; i < tracksters_parameterSets_.size(); i++) {
921  edm::ParameterSet const& tracksterPset = tracksters_parameterSets_[i];
922  TTree* tree =
923  fs->make<TTree>(tracksterPset.getParameter<std::string>("treeName").c_str(),
924  ("Tracksters : " + tracksterPset.getParameter<std::string>("treeName") +
925  " (InputTag : " + tracksterPset.getParameter<edm::InputTag>("inputTag").encode() + ")")
926  .c_str());
927  tracksters_trees.push_back(tree);
929  }
930  if (saveLCs_) {
931  cluster_tree_ = fs->make<TTree>("clusters", "TICL tracksters");
932  cluster_tree_->Branch("event", &eventId_);
933  cluster_tree_->Branch("seedID", &cluster_seedID);
934  cluster_tree_->Branch("energy", &cluster_energy);
935  cluster_tree_->Branch("correctedEnergy", &cluster_correctedEnergy);
936  cluster_tree_->Branch("correctedEnergyUncertainty", &cluster_correctedEnergyUncertainty);
937  cluster_tree_->Branch("position_x", &cluster_position_x);
938  cluster_tree_->Branch("position_y", &cluster_position_y);
939  cluster_tree_->Branch("position_z", &cluster_position_z);
940  cluster_tree_->Branch("position_eta", &cluster_position_eta);
941  cluster_tree_->Branch("position_phi", &cluster_position_phi);
942  cluster_tree_->Branch("cluster_layer_id", &cluster_layer_id);
943  cluster_tree_->Branch("cluster_type", &cluster_type);
944  cluster_tree_->Branch("cluster_time", &cluster_time);
945  cluster_tree_->Branch("cluster_timeErr", &cluster_timeErr);
946  cluster_tree_->Branch("cluster_number_of_hits", &cluster_number_of_hits);
947  }
948  if (saveTICLCandidate_) {
949  candidate_tree_ = fs->make<TTree>("candidates", "TICL candidates");
950  candidate_tree_->Branch("event", &eventId_);
951  candidate_tree_->Branch("NCandidates", &nCandidates);
952  candidate_tree_->Branch("candidate_charge", &candidate_charge);
953  candidate_tree_->Branch("candidate_pdgId", &candidate_pdgId);
954  candidate_tree_->Branch("candidate_id_probabilities", &candidate_id_probabilities);
955  candidate_tree_->Branch("candidate_time", &candidate_time);
956  candidate_tree_->Branch("candidate_timeErr", &candidate_time_err);
957  candidate_tree_->Branch("candidate_energy", &candidate_energy);
958  candidate_tree_->Branch("candidate_raw_energy", &candidate_raw_energy);
959  candidate_tree_->Branch("candidate_px", &candidate_px);
960  candidate_tree_->Branch("candidate_py", &candidate_py);
961  candidate_tree_->Branch("candidate_pz", &candidate_pz);
962  candidate_tree_->Branch("track_in_candidate", &track_in_candidate);
963  candidate_tree_->Branch("tracksters_in_candidate", &tracksters_in_candidate);
964  }
966  superclustering_tree_ = fs->make<TTree>("superclustering", "Superclustering in HGCAL CE-E");
967  superclustering_tree_->Branch("event", &eventId_);
968  }
969  if (saveSuperclustering_) {
970  superclustering_tree_->Branch("linkedResultTracksters", &superclustering_linkedResultTracksters);
971  }
973  superclustering_tree_->Branch("recoSuperCluster_rawEnergy", &recoSuperCluster_rawEnergy);
974  superclustering_tree_->Branch("recoSuperCluster_energy", &recoSuperCluster_energy);
975  superclustering_tree_->Branch("recoSuperCluster_correctedEnergy", &recoSuperCluster_correctedEnergy);
976  superclustering_tree_->Branch("recoSuperCluster_position_x", &recoSuperCluster_position_x);
977  superclustering_tree_->Branch("recoSuperCluster_position_y", &recoSuperCluster_position_y);
978  superclustering_tree_->Branch("recoSuperCluster_position_z", &recoSuperCluster_position_z);
979  superclustering_tree_->Branch("recoSuperCluster_position_eta", &recoSuperCluster_position_eta);
980  superclustering_tree_->Branch("recoSuperCluster_position_phi", &recoSuperCluster_position_phi);
981  superclustering_tree_->Branch("recoSuperCluster_seedTs", &recoSuperCluster_seedTs);
982  superclustering_tree_->Branch("recoSuperCluster_constituentTs", &recoSuperCluster_constituentTs);
983  }
984 
985  if (associations_parameterSets_.size() > 0) {
986  associations_tree_ = fs->make<TTree>("associations", "Associations");
987  associations_tree_->Branch("event", &eventId_);
988  }
989  for (unsigned int i = 0; i < associations_parameterSets_.size(); i++) {
991  associations_parameterSets_[i].getParameter<std::string>("branchName"),
992  associations_parameterSets_[i].getParameter<std::string>("suffix"));
993  }
994 
995  if (saveTracks_) {
996  tracks_tree_ = fs->make<TTree>("tracks", "Tracks");
997  tracks_tree_->Branch("event", &eventId_);
998  tracks_tree_->Branch("track_id", &track_id);
999  tracks_tree_->Branch("track_hgcal_x", &track_hgcal_x);
1000  tracks_tree_->Branch("track_hgcal_y", &track_hgcal_y);
1001  tracks_tree_->Branch("track_hgcal_z", &track_hgcal_z);
1002  tracks_tree_->Branch("track_hgcal_eta", &track_hgcal_eta);
1003  tracks_tree_->Branch("track_hgcal_phi", &track_hgcal_phi);
1004  tracks_tree_->Branch("track_hgcal_pt", &track_hgcal_pt);
1005  tracks_tree_->Branch("track_pt", &track_pt);
1006  tracks_tree_->Branch("track_missing_outer_hits", &track_missing_outer_hits);
1007  tracks_tree_->Branch("track_missing_inner_hits", &track_missing_inner_hits);
1008  tracks_tree_->Branch("track_quality", &track_quality);
1009  tracks_tree_->Branch("track_charge", &track_charge);
1010  tracks_tree_->Branch("track_time", &track_time);
1011  tracks_tree_->Branch("track_time_quality", &track_time_quality);
1012  tracks_tree_->Branch("track_time_err", &track_time_err);
1013  tracks_tree_->Branch("track_beta", &track_beta);
1014  tracks_tree_->Branch("track_time_mtd", &track_time_mtd);
1015  tracks_tree_->Branch("track_time_mtd_err", &track_time_mtd_err);
1016  tracks_tree_->Branch("track_pos_mtd", &track_pos_mtd);
1017  tracks_tree_->Branch("track_nhits", &track_nhits);
1018  tracks_tree_->Branch("track_isMuon", &track_isMuon);
1019  tracks_tree_->Branch("track_isTrackerMuon", &track_isTrackerMuon);
1020  }
1021 
1022  if (saveSimTICLCandidate_) {
1023  simTICLCandidate_tree = fs->make<TTree>("simTICLCandidate", "Sim TICL Candidate");
1024  simTICLCandidate_tree->Branch("event", &eventId_);
1025  simTICLCandidate_tree->Branch("simTICLCandidate_raw_energy", &simTICLCandidate_raw_energy);
1026  simTICLCandidate_tree->Branch("simTICLCandidate_regressed_energy", &simTICLCandidate_regressed_energy);
1027  simTICLCandidate_tree->Branch("simTICLCandidate_simTracksterCPIndex", &simTICLCandidate_simTracksterCPIndex);
1028  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryX", &simTICLCandidate_boundaryX);
1029  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryY", &simTICLCandidate_boundaryY);
1030  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryZ", &simTICLCandidate_boundaryZ);
1031  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryPx", &simTICLCandidate_boundaryPx);
1032  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryPy", &simTICLCandidate_boundaryPy);
1033  simTICLCandidate_tree->Branch("simTICLCandidate_boundaryPz", &simTICLCandidate_boundaryPz);
1034  simTICLCandidate_tree->Branch("simTICLCandidate_time", &simTICLCandidate_time);
1035  simTICLCandidate_tree->Branch("simTICLCandidate_caloParticleMass", &simTICLCandidate_caloParticleMass);
1036  simTICLCandidate_tree->Branch("simTICLCandidate_pdgId", &simTICLCandidate_pdgId);
1037  simTICLCandidate_tree->Branch("simTICLCandidate_charge", &simTICLCandidate_charge);
1038  simTICLCandidate_tree->Branch("simTICLCandidate_track_in_candidate", &simTICLCandidate_track_in_candidate);
1039  }
1040 }
std::vector< TTree * > tracksters_trees
TTree for each trackster collection to dump.
Definition: TICLDumper.cc:571
std::vector< float > cluster_timeErr
Definition: TICLDumper.cc:703
std::vector< float > cluster_position_x
Definition: TICLDumper.cc:695
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
std::vector< int > simTICLCandidate_charge
Definition: TICLDumper.cc:672
TTree * cluster_tree_
Definition: TICLDumper.cc:733
std::vector< TracksterToSimTracksterAssociationHelper > associations_dumperHelpers_
the dumper helpers for each association map to dump
Definition: TICLDumper.cc:613
std::vector< double > candidate_py
Definition: TICLDumper.cc:682
bool saveSuperclustering_
Definition: TICLDumper.cc:628
std::vector< float > simTICLCandidate_raw_energy
Definition: TICLDumper.cc:660
std::vector< double > recoSuperCluster_energy
Definition: TICLDumper.cc:648
std::vector< double > recoSuperCluster_position_x
Definition: TICLDumper.cc:650
std::vector< std::vector< uint32_t > > tracksters_in_candidate
Definition: TICLDumper.cc:687
std::vector< float > cluster_position_y
Definition: TICLDumper.cc:696
std::string encode() const
Definition: InputTag.cc:159
std::vector< float > cluster_correctedEnergy
Definition: TICLDumper.cc:693
std::vector< float > track_beta
Definition: TICLDumper.cc:725
std::vector< uint32_t > cluster_seedID
Definition: TICLDumper.cc:691
std::vector< float > cluster_position_z
Definition: TICLDumper.cc:697
std::vector< int > track_quality
Definition: TICLDumper.cc:718
std::vector< float > track_hgcal_y
Definition: TICLDumper.cc:709
bool saveRecoSuperclusters_
Definition: TICLDumper.cc:630
std::vector< unsigned int > track_id
Definition: TICLDumper.cc:707
std::vector< double > recoSuperCluster_position_z
Definition: TICLDumper.cc:652
std::vector< float > simTICLCandidate_boundaryY
Definition: TICLDumper.cc:664
std::vector< double > recoSuperCluster_rawEnergy
Definition: TICLDumper.cc:647
TTree * superclustering_tree_
Definition: TICLDumper.cc:735
std::vector< float > cluster_energy
Definition: TICLDumper.cc:692
std::vector< int > candidate_charge
Definition: TICLDumper.cc:677
std::vector< float > candidate_time
Definition: TICLDumper.cc:684
TTree * candidate_tree_
Definition: TICLDumper.cc:734
std::vector< unsigned int > cluster_layer_id
Definition: TICLDumper.cc:700
std::vector< float > candidate_energy
Definition: TICLDumper.cc:679
std::vector< int > track_charge
Definition: TICLDumper.cc:721
std::vector< int > simTICLCandidate_track_in_candidate
Definition: TICLDumper.cc:673
std::vector< float > track_hgcal_eta
Definition: TICLDumper.cc:714
std::vector< int > cluster_type
Definition: TICLDumper.cc:701
size_t nCandidates
Definition: TICLDumper.cc:676
std::vector< float > simTICLCandidate_boundaryZ
Definition: TICLDumper.cc:665
std::vector< float > track_hgcal_z
Definition: TICLDumper.cc:710
std::vector< std::vector< uint32_t > > recoSuperCluster_constituentTs
Indices to all tracksters inside the supercluster (same)
Definition: TICLDumper.cc:658
std::vector< int > track_missing_outer_hits
Definition: TICLDumper.cc:719
std::vector< double > recoSuperCluster_position_y
Definition: TICLDumper.cc:651
std::vector< float > track_hgcal_phi
Definition: TICLDumper.cc:715
std::vector< float > cluster_time
Definition: TICLDumper.cc:702
std::vector< float > simTICLCandidate_boundaryPy
Definition: TICLDumper.cc:667
std::vector< double > track_time
Definition: TICLDumper.cc:722
std::vector< double > candidate_pz
Definition: TICLDumper.cc:683
TTree * associations_tree_
Definition: TICLDumper.cc:615
bool saveTICLCandidate_
Definition: TICLDumper.cc:631
std::vector< float > simTICLCandidate_boundaryPx
Definition: TICLDumper.cc:666
std::vector< float > simTICLCandidate_boundaryX
Definition: TICLDumper.cc:663
std::vector< double > candidate_px
Definition: TICLDumper.cc:681
std::vector< double > recoSuperCluster_correctedEnergy
Definition: TICLDumper.cc:649
edm::EventID eventId_
Definition: TICLDumper.cc:641
std::vector< float > track_hgcal_pt
Definition: TICLDumper.cc:716
std::vector< int > simTICLCandidate_pdgId
Definition: TICLDumper.cc:671
const std::vector< edm::ParameterSet > associations_parameterSets_
A parameter set for each associator collection to dump (with treeName, etc)
Definition: TICLDumper.cc:608
std::vector< float > track_time_quality
Definition: TICLDumper.cc:723
bool saveLCs_
Definition: TICLDumper.cc:627
TTree * tracks_tree_
Definition: TICLDumper.cc:736
std::vector< float > simTICLCandidate_regressed_energy
Definition: TICLDumper.cc:661
std::vector< float > simTICLCandidate_caloParticleMass
Definition: TICLDumper.cc:669
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:656
bool saveTracks_
Definition: TICLDumper.cc:633
std::vector< TracksterDumperHelper > tracksters_dumperHelpers_
the dumper helpers for each trackster collection to dump
Definition: TICLDumper.cc:570
std::vector< float > cluster_position_eta
Definition: TICLDumper.cc:698
std::vector< float > track_pt
Definition: TICLDumper.cc:717
std::vector< std::vector< float > > candidate_id_probabilities
Definition: TICLDumper.cc:686
std::vector< int > track_isTrackerMuon
Definition: TICLDumper.cc:731
std::vector< std::vector< int > > simTICLCandidate_simTracksterCPIndex
Definition: TICLDumper.cc:662
std::vector< double > recoSuperCluster_position_phi
Definition: TICLDumper.cc:654
bool saveSimTICLCandidate_
Definition: TICLDumper.cc:632
std::vector< int > track_in_candidate
Definition: TICLDumper.cc:688
std::vector< float > track_time_err
Definition: TICLDumper.cc:724
std::vector< int > track_isMuon
Definition: TICLDumper.cc:730
std::vector< float > candidate_raw_energy
Definition: TICLDumper.cc:680
std::vector< float > cluster_correctedEnergyUncertainty
Definition: TICLDumper.cc:694
std::vector< int > candidate_pdgId
Definition: TICLDumper.cc:678
std::vector< float > track_time_mtd_err
Definition: TICLDumper.cc:727
std::vector< double > recoSuperCluster_position_eta
Definition: TICLDumper.cc:653
std::vector< int > track_nhits
Definition: TICLDumper.cc:729
std::vector< int > track_missing_inner_hits
Definition: TICLDumper.cc:720
std::vector< float > track_hgcal_x
Definition: TICLDumper.cc:708
std::vector< GlobalPoint > track_pos_mtd
Definition: TICLDumper.cc:728
std::vector< float > track_time_mtd
Definition: TICLDumper.cc:726
Definition: tree.py:1
std::vector< uint32_t > cluster_number_of_hits
Definition: TICLDumper.cc:704
TTree * simTICLCandidate_tree
Definition: TICLDumper.cc:737
std::vector< float > candidate_time_err
Definition: TICLDumper.cc:685
std::vector< std::vector< unsigned int > > superclustering_linkedResultTracksters
Definition: TICLDumper.cc:645
const std::vector< edm::ParameterSet > tracksters_parameterSets_
A parameter set for each trackster collection to dump (giving tree name, etc)
Definition: TICLDumper.cc:566
std::vector< float > simTICLCandidate_time
Definition: TICLDumper.cc:670
std::vector< float > cluster_position_phi
Definition: TICLDumper.cc:699
std::vector< float > simTICLCandidate_boundaryPz
Definition: TICLDumper.cc:668

◆ beginRun()

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

Definition at line 908 of file TICLDumper.cc.

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

908  {
909  detectorTools_ = std::make_unique<DetectorTools>(es.getData(hdc_token_),
913 }
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:624
std::unique_ptr< DetectorTools > detectorTools_
Definition: TICLDumper.cc:626
edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hdc_token_
Definition: TICLDumper.cc:625
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bfield_token_
Definition: TICLDumper.cc:623
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry_token_
Definition: TICLDumper.cc:602

◆ clearVariables()

void TICLDumper::clearVariables ( )
private

Definition at line 740 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().

740  {
741  // event info
742  nclusters_ = 0;
743 
745  tsDumper.clearVariables();
746  }
747 
749 
751  recoSuperCluster_energy.clear();
758  recoSuperCluster_seedTs.clear();
760 
770  simTICLCandidate_time.clear();
772  simTICLCandidate_pdgId.clear();
773  simTICLCandidate_charge.clear();
775 
776  nCandidates = 0;
777  candidate_charge.clear();
778  candidate_pdgId.clear();
779  candidate_energy.clear();
780  candidate_raw_energy.clear();
781  candidate_px.clear();
782  candidate_py.clear();
783  candidate_pz.clear();
784  candidate_time.clear();
785  candidate_time_err.clear();
787  tracksters_in_candidate.clear();
788  track_in_candidate.clear();
789 
790  for (auto& helper : associations_dumperHelpers_) {
791  helper.clearVariables();
792  }
793 
794  cluster_seedID.clear();
795  cluster_energy.clear();
796  cluster_correctedEnergy.clear();
798  cluster_position_x.clear();
799  cluster_position_y.clear();
800  cluster_position_z.clear();
801  cluster_position_eta.clear();
802  cluster_position_phi.clear();
803  cluster_layer_id.clear();
804  cluster_type.clear();
805  cluster_time.clear();
806  cluster_timeErr.clear();
807  cluster_number_of_hits.clear();
808 
809  track_id.clear();
810  track_hgcal_x.clear();
811  track_hgcal_y.clear();
812  track_hgcal_z.clear();
813  track_hgcal_eta.clear();
814  track_hgcal_phi.clear();
815  track_hgcal_px.clear();
816  track_hgcal_py.clear();
817  track_hgcal_pz.clear();
818  track_hgcal_pt.clear();
819  track_quality.clear();
820  track_pt.clear();
821  track_missing_outer_hits.clear();
822  track_missing_inner_hits.clear();
823  track_charge.clear();
824  track_time.clear();
825  track_time_quality.clear();
826  track_time_err.clear();
827  track_beta.clear();
828  track_time_mtd.clear();
829  track_time_mtd_err.clear();
830  track_pos_mtd.clear();
831  track_nhits.clear();
832  track_isMuon.clear();
833  track_isTrackerMuon.clear();
834 };
std::vector< float > cluster_timeErr
Definition: TICLDumper.cc:703
std::vector< float > cluster_position_x
Definition: TICLDumper.cc:695
std::vector< int > simTICLCandidate_charge
Definition: TICLDumper.cc:672
Definition: helper.py:1
std::vector< TracksterToSimTracksterAssociationHelper > associations_dumperHelpers_
the dumper helpers for each association map to dump
Definition: TICLDumper.cc:613
std::vector< double > candidate_py
Definition: TICLDumper.cc:682
std::vector< float > simTICLCandidate_raw_energy
Definition: TICLDumper.cc:660
std::vector< double > recoSuperCluster_energy
Definition: TICLDumper.cc:648
std::vector< double > recoSuperCluster_position_x
Definition: TICLDumper.cc:650
std::vector< std::vector< uint32_t > > tracksters_in_candidate
Definition: TICLDumper.cc:687
std::vector< float > cluster_position_y
Definition: TICLDumper.cc:696
std::vector< float > cluster_correctedEnergy
Definition: TICLDumper.cc:693
std::vector< float > track_beta
Definition: TICLDumper.cc:725
std::vector< uint32_t > cluster_seedID
Definition: TICLDumper.cc:691
std::vector< float > cluster_position_z
Definition: TICLDumper.cc:697
std::vector< int > track_quality
Definition: TICLDumper.cc:718
std::vector< float > track_hgcal_y
Definition: TICLDumper.cc:709
std::vector< unsigned int > track_id
Definition: TICLDumper.cc:707
std::vector< double > recoSuperCluster_position_z
Definition: TICLDumper.cc:652
std::vector< float > simTICLCandidate_boundaryY
Definition: TICLDumper.cc:664
std::vector< double > recoSuperCluster_rawEnergy
Definition: TICLDumper.cc:647
std::vector< float > cluster_energy
Definition: TICLDumper.cc:692
std::vector< int > candidate_charge
Definition: TICLDumper.cc:677
std::vector< float > track_hgcal_pz
Definition: TICLDumper.cc:713
std::vector< float > candidate_time
Definition: TICLDumper.cc:684
std::vector< float > track_hgcal_px
Definition: TICLDumper.cc:711
std::vector< unsigned int > cluster_layer_id
Definition: TICLDumper.cc:700
std::vector< float > candidate_energy
Definition: TICLDumper.cc:679
std::vector< int > track_charge
Definition: TICLDumper.cc:721
std::vector< int > simTICLCandidate_track_in_candidate
Definition: TICLDumper.cc:673
std::vector< float > track_hgcal_eta
Definition: TICLDumper.cc:714
std::vector< int > cluster_type
Definition: TICLDumper.cc:701
size_t nCandidates
Definition: TICLDumper.cc:676
std::vector< float > simTICLCandidate_boundaryZ
Definition: TICLDumper.cc:665
std::vector< float > track_hgcal_z
Definition: TICLDumper.cc:710
std::vector< std::vector< uint32_t > > recoSuperCluster_constituentTs
Indices to all tracksters inside the supercluster (same)
Definition: TICLDumper.cc:658
std::vector< int > track_missing_outer_hits
Definition: TICLDumper.cc:719
std::vector< double > recoSuperCluster_position_y
Definition: TICLDumper.cc:651
std::vector< float > track_hgcal_phi
Definition: TICLDumper.cc:715
std::vector< float > cluster_time
Definition: TICLDumper.cc:702
std::vector< float > simTICLCandidate_boundaryPy
Definition: TICLDumper.cc:667
std::vector< double > track_time
Definition: TICLDumper.cc:722
std::vector< double > candidate_pz
Definition: TICLDumper.cc:683
std::vector< float > simTICLCandidate_boundaryPx
Definition: TICLDumper.cc:666
std::vector< float > simTICLCandidate_boundaryX
Definition: TICLDumper.cc:663
std::vector< double > candidate_px
Definition: TICLDumper.cc:681
std::vector< double > recoSuperCluster_correctedEnergy
Definition: TICLDumper.cc:649
std::vector< float > track_hgcal_pt
Definition: TICLDumper.cc:716
std::vector< int > simTICLCandidate_pdgId
Definition: TICLDumper.cc:671
std::vector< float > track_time_quality
Definition: TICLDumper.cc:723
std::vector< float > simTICLCandidate_regressed_energy
Definition: TICLDumper.cc:661
std::vector< float > simTICLCandidate_caloParticleMass
Definition: TICLDumper.cc:669
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:656
std::vector< TracksterDumperHelper > tracksters_dumperHelpers_
the dumper helpers for each trackster collection to dump
Definition: TICLDumper.cc:570
std::vector< float > cluster_position_eta
Definition: TICLDumper.cc:698
std::vector< float > track_pt
Definition: TICLDumper.cc:717
unsigned int nclusters_
Definition: TICLDumper.cc:642
std::vector< std::vector< float > > candidate_id_probabilities
Definition: TICLDumper.cc:686
std::vector< int > track_isTrackerMuon
Definition: TICLDumper.cc:731
std::vector< std::vector< int > > simTICLCandidate_simTracksterCPIndex
Definition: TICLDumper.cc:662
std::vector< double > recoSuperCluster_position_phi
Definition: TICLDumper.cc:654
std::vector< float > track_hgcal_py
Definition: TICLDumper.cc:712
std::vector< int > track_in_candidate
Definition: TICLDumper.cc:688
std::vector< float > track_time_err
Definition: TICLDumper.cc:724
std::vector< int > track_isMuon
Definition: TICLDumper.cc:730
std::vector< float > candidate_raw_energy
Definition: TICLDumper.cc:680
std::vector< float > cluster_correctedEnergyUncertainty
Definition: TICLDumper.cc:694
std::vector< int > candidate_pdgId
Definition: TICLDumper.cc:678
std::vector< float > track_time_mtd_err
Definition: TICLDumper.cc:727
std::vector< double > recoSuperCluster_position_eta
Definition: TICLDumper.cc:653
std::vector< int > track_nhits
Definition: TICLDumper.cc:729
std::vector< int > track_missing_inner_hits
Definition: TICLDumper.cc:720
std::vector< float > track_hgcal_x
Definition: TICLDumper.cc:708
std::vector< GlobalPoint > track_pos_mtd
Definition: TICLDumper.cc:728
std::vector< float > track_time_mtd
Definition: TICLDumper.cc:726
std::vector< uint32_t > cluster_number_of_hits
Definition: TICLDumper.cc:704
std::vector< float > candidate_time_err
Definition: TICLDumper.cc:685
std::vector< std::vector< unsigned int > > superclustering_linkedResultTracksters
Definition: TICLDumper.cc:645
std::vector< float > simTICLCandidate_time
Definition: TICLDumper.cc:670
std::vector< float > cluster_position_phi
Definition: TICLDumper.cc:699
std::vector< float > simTICLCandidate_boundaryPz
Definition: TICLDumper.cc:668

◆ endJob()

void TICLDumper::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 1345 of file TICLDumper.cc.

1345 {}

◆ endRun()

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

Definition at line 561 of file TICLDumper.cc.

561 {};

◆ fillDescriptions()

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

Definition at line 1347 of file TICLDumper.cc.

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

1347  {
1349 
1350  // Settings for dumping trackster collections
1351  edm::ParameterSetDescription tracksterDescValidator;
1352  tracksterDescValidator.add<std::string>("treeName")
1353  ->setComment("Name of the output tree for the trackster collection");
1354  tracksterDescValidator.add<edm::InputTag>("inputTag")->setComment("Input tag for the trackster collection to write");
1355  tracksterDescValidator.ifValue(
1357  "tracksterType",
1358  "Trackster",
1359  true,
1360  edm::Comment("Type of trackster. Trackster=regular trackster (from RECO). SimTracksterCP=Simtrackster "
1361  "from CaloParticle. SimTracksterSC=Simtrackster from SimCluster")),
1362  edm::allowedValues<std::string>("Trackster", "SimTracksterCP", "SimTracksterSC"));
1363  desc.addVPSet("tracksterCollections", tracksterDescValidator)->setComment("Trackster collections to dump");
1364 
1365  desc.add<edm::InputTag>("trackstersInCand", edm::InputTag("ticlTrackstersCLUE3DHigh"));
1366 
1367  desc.add<edm::InputTag>("layerClusters", edm::InputTag("hgcalMergeLayerClusters"));
1368  desc.add<edm::InputTag>("layer_clustersTime", edm::InputTag("hgcalMergeLayerClusters", "timeLayerCluster"));
1369  desc.add<edm::InputTag>("ticlcandidates", edm::InputTag("ticlTrackstersMerge"));
1370  desc.add<edm::InputTag>("tracks", edm::InputTag("generalTracks"));
1371  desc.add<edm::InputTag>("tracksTime", edm::InputTag("tofPID:t0"));
1372  desc.add<edm::InputTag>("tracksTimeQual", edm::InputTag("mtdTrackQualityMVA:mtdQualMVA"));
1373  desc.add<edm::InputTag>("tracksTimeErr", edm::InputTag("tofPID:sigmat0"));
1374  desc.add<edm::InputTag>("tracksBeta", edm::InputTag("trackExtenderWithMTD:generalTrackBeta"));
1375  desc.add<edm::InputTag>("tracksTimeMtd", edm::InputTag("trackExtenderWithMTD:generalTracktmtd"));
1376  desc.add<edm::InputTag>("tracksTimeMtdErr", edm::InputTag("trackExtenderWithMTD:generalTracksigmatmtd"));
1377  desc.add<edm::InputTag>("tracksPosMtd", edm::InputTag("trackExtenderWithMTD:generalTrackmtdpos"));
1378  desc.add<edm::InputTag>("muons", edm::InputTag("muons1stStep"));
1379  desc.add<edm::InputTag>("superclustering", edm::InputTag("ticlTracksterLinksSuperclusteringDNN"));
1380  desc.add<edm::InputTag>("recoSuperClusters", edm::InputTag("particleFlowSuperClusterHGCal"))
1381  ->setComment(
1382  "egamma supercluster collection (either from PFECALSuperClusterProducer for Mustache, or from "
1383  "TICL->Egamma converter in case of TICL DNN superclusters)");
1384  desc.add<edm::InputTag>("recoSuperClusters_sourceTracksterCollection", edm::InputTag("ticlTrackstersMerge"))
1385  ->setComment(
1386  "Trackster collection used to produce the reco::SuperCluster, used to provide a mapping back to the "
1387  "tracksters used in superclusters");
1388 
1389  desc.add<edm::InputTag>("simtrackstersSC", edm::InputTag("ticlSimTracksters"))
1390  ->setComment("SimTrackster from CaloParticle collection to use for simTICLcandidates");
1391  desc.add<edm::InputTag>("simTICLCandidates", edm::InputTag("ticlSimTracksters"));
1392 
1393  // Settings for dumping trackster associators (recoToSim & simToReco)
1394  edm::ParameterSetDescription associatorDescValidator;
1395  associatorDescValidator.add<std::string>("branchName")->setComment("Name of the output branches in the tree");
1396  associatorDescValidator.add<std::string>("suffix")->setComment("Should be CP or SC (for the output branch name)");
1397  associatorDescValidator.add<edm::InputTag>("associatorRecoToSimInputTag")
1398  ->setComment("Input tag for the RecoToSim associator to dump");
1399  associatorDescValidator.add<edm::InputTag>("associatorSimToRecoInputTag")
1400  ->setComment("Input tag for the SimToReco associator to dump");
1401  desc.addVPSet("associators", associatorDescValidator)->setComment("Tracksters to SimTracksters associators to dump");
1402 
1403  desc.add<edm::InputTag>("simclusters", edm::InputTag("mix", "MergedCaloTruth"));
1404  desc.add<edm::InputTag>("caloparticles", edm::InputTag("mix", "MergedCaloTruth"));
1405  desc.add<std::string>("detector", "HGCAL");
1406  desc.add<std::string>("propagator", "PropagatorWithMaterial");
1407 
1408  desc.add<bool>("saveLCs", true);
1409  desc.add<bool>("saveTICLCandidate", true);
1410  desc.add<bool>("saveSimTICLCandidate", true);
1411  desc.add<bool>("saveTracks", true);
1412  desc.add<bool>("saveSuperclustering", true);
1413  desc.add<bool>("saveRecoSuperclusters", true)
1414  ->setComment("Save superclustering Egamma collections (as reco::SuperCluster)");
1415  descriptions.add("ticlDumper", desc);
1416 }
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 613 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 608 of file TICLDumper.cc.

Referenced by beginJob(), and TICLDumper().

◆ associations_recoToSim_token_

std::vector<edm::EDGetTokenT<TracksterToTracksterMap> > TICLDumper::associations_recoToSim_token_
private

Definition at line 611 of file TICLDumper.cc.

Referenced by analyze(), and TICLDumper().

◆ associations_simToReco_token_

std::vector<edm::EDGetTokenT<TracksterToTracksterMap> > TICLDumper::associations_simToReco_token_
private

The tokens for each assocation.

Definition at line 610 of file TICLDumper.cc.

Referenced by analyze(), and TICLDumper().

◆ associations_tree_

TTree* TICLDumper::associations_tree_
private

Definition at line 615 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ bfield_token_

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

Definition at line 623 of file TICLDumper.cc.

Referenced by beginRun().

◆ caloGeometry_token_

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

Definition at line 602 of file TICLDumper.cc.

Referenced by beginRun().

◆ caloparticles_token_

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

Definition at line 618 of file TICLDumper.cc.

Referenced by analyze().

◆ candidate_charge

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

Definition at line 677 of file TICLDumper.cc.

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

◆ candidate_energy

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

Definition at line 679 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 686 of file TICLDumper.cc.

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

◆ candidate_pdgId

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

Definition at line 678 of file TICLDumper.cc.

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

◆ candidate_px

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

Definition at line 681 of file TICLDumper.cc.

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

◆ candidate_py

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

Definition at line 682 of file TICLDumper.cc.

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

◆ candidate_pz

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

Definition at line 683 of file TICLDumper.cc.

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

◆ candidate_raw_energy

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

Definition at line 680 of file TICLDumper.cc.

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

◆ candidate_time

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

Definition at line 684 of file TICLDumper.cc.

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

◆ candidate_time_err

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

Definition at line 685 of file TICLDumper.cc.

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

◆ candidate_tree_

TTree* TICLDumper::candidate_tree_
private

Definition at line 734 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ cluster_correctedEnergy

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

Definition at line 693 of file TICLDumper.cc.

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

◆ cluster_correctedEnergyUncertainty

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

Definition at line 694 of file TICLDumper.cc.

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

◆ cluster_energy

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

Definition at line 692 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 700 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 704 of file TICLDumper.cc.

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

◆ cluster_position_eta

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

Definition at line 698 of file TICLDumper.cc.

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

◆ cluster_position_phi

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

Definition at line 699 of file TICLDumper.cc.

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

◆ cluster_position_x

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

Definition at line 695 of file TICLDumper.cc.

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

◆ cluster_position_y

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

Definition at line 696 of file TICLDumper.cc.

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

◆ cluster_position_z

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

Definition at line 697 of file TICLDumper.cc.

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

◆ cluster_seedID

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

Definition at line 691 of file TICLDumper.cc.

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

◆ cluster_time

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

Definition at line 702 of file TICLDumper.cc.

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

◆ cluster_timeErr

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

Definition at line 703 of file TICLDumper.cc.

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

◆ cluster_tree_

TTree* TICLDumper::cluster_tree_
private

Definition at line 733 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ cluster_type

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

Definition at line 701 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 596 of file TICLDumper.cc.

Referenced by analyze().

◆ detector_

const std::string TICLDumper::detector_
private

Definition at line 621 of file TICLDumper.cc.

Referenced by TICLDumper().

◆ detectorTools_

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

Definition at line 626 of file TICLDumper.cc.

Referenced by analyze(), and beginRun().

◆ eventId_

edm::EventID TICLDumper::eventId_
private

Definition at line 641 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ geometry_token_

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

Definition at line 620 of file TICLDumper.cc.

◆ hdc_token_

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

Definition at line 625 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 590 of file TICLDumper.cc.

◆ hgcaltracks_phi_token_

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

Definition at line 591 of file TICLDumper.cc.

◆ hgcaltracks_px_token_

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

Definition at line 592 of file TICLDumper.cc.

◆ hgcaltracks_py_token_

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

Definition at line 593 of file TICLDumper.cc.

◆ hgcaltracks_pz_token_

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

Definition at line 594 of file TICLDumper.cc.

◆ hgcaltracks_x_token_

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

Definition at line 587 of file TICLDumper.cc.

◆ hgcaltracks_y_token_

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

Definition at line 588 of file TICLDumper.cc.

◆ hgcaltracks_z_token_

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

Definition at line 589 of file TICLDumper.cc.

◆ layer_clusters_token_

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

Definition at line 574 of file TICLDumper.cc.

Referenced by analyze().

◆ muons_token_

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

Definition at line 595 of file TICLDumper.cc.

Referenced by analyze().

◆ nCandidates

size_t TICLDumper::nCandidates
private

Definition at line 676 of file TICLDumper.cc.

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

◆ nclusters_

unsigned int TICLDumper::nclusters_
private

Definition at line 642 of file TICLDumper.cc.

Referenced by analyze(), and clearVariables().

◆ propagator_token_

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

Definition at line 624 of file TICLDumper.cc.

Referenced by beginRun().

◆ propName_

const std::string TICLDumper::propName_
private

Definition at line 622 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 658 of file TICLDumper.cc.

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

◆ recoSuperCluster_correctedEnergy

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

Definition at line 649 of file TICLDumper.cc.

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

◆ recoSuperCluster_energy

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

Definition at line 648 of file TICLDumper.cc.

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

◆ recoSuperCluster_position_eta

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

Definition at line 653 of file TICLDumper.cc.

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

◆ recoSuperCluster_position_phi

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

Definition at line 654 of file TICLDumper.cc.

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

◆ recoSuperCluster_position_x

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

Definition at line 650 of file TICLDumper.cc.

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

◆ recoSuperCluster_position_y

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

Definition at line 651 of file TICLDumper.cc.

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

◆ recoSuperCluster_position_z

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

Definition at line 652 of file TICLDumper.cc.

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

◆ recoSuperCluster_rawEnergy

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

Definition at line 647 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 656 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 600 of file TICLDumper.cc.

◆ recoSuperClusters_sourceTracksters_token

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

Definition at line 601 of file TICLDumper.cc.

Referenced by analyze().

◆ recoSuperClusters_token

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

Definition at line 599 of file TICLDumper.cc.

Referenced by analyze().

◆ saveLCs_

bool TICLDumper::saveLCs_
private

Definition at line 627 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ saveRecoSuperclusters_

bool TICLDumper::saveRecoSuperclusters_
private

Definition at line 630 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ saveSimTICLCandidate_

bool TICLDumper::saveSimTICLCandidate_
private

Definition at line 632 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ saveSuperclustering_

bool TICLDumper::saveSuperclustering_
private

Definition at line 628 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ saveSuperclusteringDNNScore_

bool TICLDumper::saveSuperclusteringDNNScore_
private

Definition at line 629 of file TICLDumper.cc.

◆ saveTICLCandidate_

bool TICLDumper::saveTICLCandidate_
private

Definition at line 631 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ saveTracks_

bool TICLDumper::saveTracks_
private

Definition at line 633 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ simclusters_token_

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

Definition at line 617 of file TICLDumper.cc.

Referenced by analyze().

◆ simTICLCandidate_boundaryPx

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

Definition at line 666 of file TICLDumper.cc.

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

◆ simTICLCandidate_boundaryPy

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

Definition at line 667 of file TICLDumper.cc.

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

◆ simTICLCandidate_boundaryPz

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

Definition at line 668 of file TICLDumper.cc.

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

◆ simTICLCandidate_boundaryX

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

Definition at line 663 of file TICLDumper.cc.

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

◆ simTICLCandidate_boundaryY

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

Definition at line 664 of file TICLDumper.cc.

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

◆ simTICLCandidate_boundaryZ

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

Definition at line 665 of file TICLDumper.cc.

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

◆ simTICLCandidate_caloParticleMass

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

Definition at line 669 of file TICLDumper.cc.

Referenced by beginJob(), and clearVariables().

◆ simTICLCandidate_charge

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

Definition at line 672 of file TICLDumper.cc.

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

◆ simTICLCandidate_pdgId

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

Definition at line 671 of file TICLDumper.cc.

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

◆ simTICLCandidate_raw_energy

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

Definition at line 660 of file TICLDumper.cc.

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

◆ simTICLCandidate_regressed_energy

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

Definition at line 661 of file TICLDumper.cc.

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

◆ simTICLCandidate_simTracksterCPIndex

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

Definition at line 662 of file TICLDumper.cc.

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

◆ simTICLCandidate_time

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

Definition at line 670 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 604 of file TICLDumper.cc.

Referenced by analyze().

◆ simTICLCandidate_track_in_candidate

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

Definition at line 673 of file TICLDumper.cc.

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

◆ simTICLCandidate_tree

TTree* TICLDumper::simTICLCandidate_tree
private

Definition at line 737 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 603 of file TICLDumper.cc.

Referenced by analyze().

◆ superclustering_linkedResultTracksters

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

Definition at line 645 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 598 of file TICLDumper.cc.

Referenced by analyze().

◆ superclustering_tree_

TTree* TICLDumper::superclustering_tree_
private

Definition at line 735 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 575 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 577 of file TICLDumper.cc.

Referenced by analyze().

◆ track_beta

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

Definition at line 725 of file TICLDumper.cc.

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

◆ track_charge

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

Definition at line 721 of file TICLDumper.cc.

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

◆ track_hgcal_eta

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

Definition at line 714 of file TICLDumper.cc.

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

◆ track_hgcal_phi

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

Definition at line 715 of file TICLDumper.cc.

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

◆ track_hgcal_pt

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

Definition at line 716 of file TICLDumper.cc.

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

◆ track_hgcal_px

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

Definition at line 711 of file TICLDumper.cc.

Referenced by analyze(), and clearVariables().

◆ track_hgcal_py

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

Definition at line 712 of file TICLDumper.cc.

Referenced by analyze(), and clearVariables().

◆ track_hgcal_pz

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

Definition at line 713 of file TICLDumper.cc.

Referenced by analyze(), and clearVariables().

◆ track_hgcal_x

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

Definition at line 708 of file TICLDumper.cc.

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

◆ track_hgcal_y

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

Definition at line 709 of file TICLDumper.cc.

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

◆ track_hgcal_z

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

Definition at line 710 of file TICLDumper.cc.

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

◆ track_id

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

Definition at line 707 of file TICLDumper.cc.

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

◆ track_in_candidate

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

Definition at line 688 of file TICLDumper.cc.

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

◆ track_isMuon

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

Definition at line 730 of file TICLDumper.cc.

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

◆ track_isTrackerMuon

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

Definition at line 731 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 720 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 719 of file TICLDumper.cc.

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

◆ track_nhits

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

Definition at line 729 of file TICLDumper.cc.

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

◆ track_pos_mtd

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

Definition at line 728 of file TICLDumper.cc.

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

◆ track_pt

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

Definition at line 717 of file TICLDumper.cc.

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

◆ track_quality

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

Definition at line 718 of file TICLDumper.cc.

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

◆ track_time

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

Definition at line 722 of file TICLDumper.cc.

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

◆ track_time_err

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

Definition at line 724 of file TICLDumper.cc.

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

◆ track_time_mtd

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

Definition at line 726 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 727 of file TICLDumper.cc.

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

◆ track_time_quality

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

Definition at line 723 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 583 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_mask_token_

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

Definition at line 579 of file TICLDumper.cc.

◆ tracks_pos_mtd_token_

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

Definition at line 586 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 582 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 585 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 584 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 581 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_time_token_

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

Definition at line 580 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_token_

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

Definition at line 578 of file TICLDumper.cc.

Referenced by analyze().

◆ tracks_tree_

TTree* TICLDumper::tracks_tree_
private

Definition at line 736 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 570 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 687 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 573 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 566 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 568 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 571 of file TICLDumper.cc.

Referenced by analyze(), and beginJob().

◆ tracksterSeeds_token_

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

Definition at line 597 of file TICLDumper.cc.

◆ tree_

TTree* TICLDumper::tree_
private

Definition at line 636 of file TICLDumper.cc.