Public Types | |
enum | TracksterType { TracksterType::Trackster, TracksterType::SimTracksterCP, TracksterType::SimTracksterSC } |
Public Member Functions | |
void | clearVariables () |
void | fillFromEvent (std::vector< ticl::Trackster > const &tracksters, std::vector< reco::CaloCluster > const &clusters, edm::ValueMap< std::pair< float, float >> const &layerClustersTimes, DetectorTools const &detectorTools, edm::Handle< std::vector< SimCluster >> simClusters_h, edm::Handle< std::vector< CaloParticle >> caloparticles_h, std::vector< reco::Track > const &tracks) |
void | initTree (TTree *trackster_tree_, edm::EventID *eventId_) |
TracksterDumperHelper (TracksterType tracksterType=TracksterType::Trackster) | |
Static Public Member Functions | |
static TracksterType | tracksterTypeFromString (std::string str) |
Private Attributes | |
unsigned int | nClusters |
unsigned int | nTracksters |
std::vector< float > | simtrackster_boundaryEta |
std::vector< float > | simtrackster_boundaryPhi |
std::vector< float > | simtrackster_boundaryPx |
std::vector< float > | simtrackster_boundaryPy |
std::vector< float > | simtrackster_boundaryPz |
std::vector< float > | simtrackster_boundaryX |
std::vector< float > | simtrackster_boundaryY |
std::vector< float > | simtrackster_boundaryZ |
std::vector< int > | simtrackster_pdgID |
std::vector< float > | simtrackster_regressed_pt |
std::vector< float > | simtrackster_timeBoundary |
std::vector< float > | simtrackster_track_boundaryEta |
std::vector< float > | simtrackster_track_boundaryPhi |
std::vector< float > | simtrackster_track_boundaryPx |
std::vector< float > | simtrackster_track_boundaryPy |
std::vector< float > | simtrackster_track_boundaryPz |
std::vector< float > | simtrackster_track_boundaryX |
std::vector< float > | simtrackster_track_boundaryY |
std::vector< float > | simtrackster_track_boundaryZ |
std::vector< int > | simtrackster_trackIdx |
std::vector< float > | simtrackster_trackTime |
std::vector< float > | trackster_barycenter_eta |
std::vector< float > | trackster_barycenter_phi |
std::vector< float > | trackster_barycenter_x |
std::vector< float > | trackster_barycenter_y |
std::vector< float > | trackster_barycenter_z |
std::vector< float > | trackster_EV1 |
std::vector< float > | trackster_EV2 |
std::vector< float > | trackster_EV3 |
std::vector< float > | trackster_eVector0_x |
std::vector< float > | trackster_eVector0_y |
std::vector< float > | trackster_eVector0_z |
std::vector< std::vector< float > > | trackster_id_probabilities |
std::vector< float > | trackster_raw_em_energy |
std::vector< float > | trackster_raw_em_pt |
std::vector< float > | trackster_raw_energy |
std::vector< float > | trackster_raw_pt |
std::vector< float > | trackster_regressed_energy |
std::vector< float > | trackster_sigmaPCA1 |
std::vector< float > | trackster_sigmaPCA2 |
std::vector< float > | trackster_sigmaPCA3 |
std::vector< float > | trackster_time |
std::vector< float > | trackster_timeError |
std::vector< std::vector< float > > | trackster_vertices_correctedEnergy |
std::vector< std::vector< float > > | trackster_vertices_correctedEnergyUncertainty |
std::vector< std::vector< float > > | trackster_vertices_energy |
std::vector< std::vector< uint32_t > > | trackster_vertices_indexes |
std::vector< std::vector< float > > | trackster_vertices_multiplicity |
std::vector< std::vector< float > > | trackster_vertices_time |
std::vector< std::vector< float > > | trackster_vertices_timeErr |
std::vector< std::vector< float > > | trackster_vertices_x |
std::vector< std::vector< float > > | trackster_vertices_y |
std::vector< std::vector< float > > | trackster_vertices_z |
TracksterType | tracksterType_ |
Definition at line 107 of file TICLDumper.cc.
|
strong |
Enumerator | |
---|---|
Trackster | Regular trackster (from RECO) |
SimTracksterCP | SimTrackster from CaloParticle. |
SimTracksterSC | SimTrackster from SimCluster. |
Definition at line 109 of file TICLDumper.cc.
|
inline |
tracksterType : dtermines additional information that will be saved (calo truth information, track information)
Definition at line 126 of file TICLDumper.cc.
|
inline |
Definition at line 193 of file TICLDumper.cc.
References nClusters, nTracksters, simtrackster_boundaryEta, simtrackster_boundaryPhi, simtrackster_boundaryPx, simtrackster_boundaryPy, simtrackster_boundaryPz, simtrackster_boundaryX, simtrackster_boundaryY, simtrackster_boundaryZ, simtrackster_pdgID, simtrackster_regressed_pt, simtrackster_timeBoundary, simtrackster_track_boundaryEta, simtrackster_track_boundaryPhi, simtrackster_track_boundaryPx, simtrackster_track_boundaryPy, simtrackster_track_boundaryPz, simtrackster_track_boundaryX, simtrackster_track_boundaryY, simtrackster_track_boundaryZ, simtrackster_trackIdx, simtrackster_trackTime, trackster_barycenter_eta, trackster_barycenter_phi, trackster_barycenter_x, trackster_barycenter_y, trackster_barycenter_z, trackster_EV1, trackster_EV2, trackster_EV3, trackster_eVector0_x, trackster_eVector0_y, trackster_eVector0_z, trackster_id_probabilities, trackster_raw_em_energy, trackster_raw_em_pt, trackster_raw_energy, trackster_raw_pt, trackster_regressed_energy, trackster_sigmaPCA1, trackster_sigmaPCA2, trackster_sigmaPCA3, trackster_time, trackster_timeError, trackster_vertices_correctedEnergy, trackster_vertices_correctedEnergyUncertainty, trackster_vertices_energy, trackster_vertices_indexes, trackster_vertices_multiplicity, trackster_vertices_time, trackster_vertices_timeErr, trackster_vertices_x, trackster_vertices_y, and trackster_vertices_z.
|
inline |
Definition at line 253 of file TICLDumper.cc.
References DetectorTools::bfield, SimTracksters_cff::caloparticles, bsc_activity_cfg::clusters, DetectorTools::firstDisk_, TrajectoryStateOnSurface::globalPosition(), mps_fire::i, heavyIonCSV_trainingSettings::idx, createfilelist::int, nClusters, nTracksters, getGTfromDQMFile::obj, trajectoryStateTransform::outerFreeState(), Propagator::propagate(), DetectorTools::propagator, SimTracksters_cff::simclusters, cscDigiValidation_cfi::simTrack, simtrackster_boundaryEta, simtrackster_boundaryPhi, simtrackster_boundaryPx, simtrackster_boundaryPy, simtrackster_boundaryPz, simtrackster_boundaryX, simtrackster_boundaryY, simtrackster_boundaryZ, simtrackster_pdgID, simtrackster_regressed_pt, simtrackster_timeBoundary, simtrackster_track_boundaryEta, simtrackster_track_boundaryPhi, simtrackster_track_boundaryPx, simtrackster_track_boundaryPy, simtrackster_track_boundaryPz, simtrackster_track_boundaryX, simtrackster_track_boundaryY, simtrackster_track_boundaryZ, simtrackster_trackIdx, simtrackster_trackTime, SimTracksterCP, SimTracksterSC, HLT_2024v14_cff::track, DiMuonV_cfg::tracks, Trackster, trackster_barycenter_eta, trackster_barycenter_phi, trackster_barycenter_x, trackster_barycenter_y, trackster_barycenter_z, trackster_EV1, trackster_EV2, trackster_EV3, trackster_eVector0_x, trackster_eVector0_y, trackster_eVector0_z, trackster_id_probabilities, trackster_raw_em_energy, trackster_raw_em_pt, trackster_raw_energy, trackster_raw_pt, trackster_regressed_energy, trackster_sigmaPCA1, trackster_sigmaPCA2, trackster_sigmaPCA3, trackster_time, trackster_timeError, trackster_vertices_correctedEnergy, trackster_vertices_correctedEnergyUncertainty, trackster_vertices_energy, trackster_vertices_indexes, trackster_vertices_multiplicity, trackster_vertices_time, trackster_vertices_timeErr, trackster_vertices_x, trackster_vertices_y, trackster_vertices_z, tracksterType_, x, y, and z.
|
inline |
To be called once after tree creation. eventId_ should be a pointer to the EventID. Do not copy/move or resize vector holding object after calling this function
Definition at line 132 of file TICLDumper.cc.
References nClusters, nTracksters, simtrackster_boundaryEta, simtrackster_boundaryPhi, simtrackster_boundaryPx, simtrackster_boundaryPy, simtrackster_boundaryPz, simtrackster_boundaryX, simtrackster_boundaryY, simtrackster_boundaryZ, simtrackster_pdgID, simtrackster_regressed_pt, simtrackster_timeBoundary, simtrackster_track_boundaryEta, simtrackster_track_boundaryPhi, simtrackster_track_boundaryPx, simtrackster_track_boundaryPy, simtrackster_track_boundaryPz, simtrackster_track_boundaryX, simtrackster_track_boundaryY, simtrackster_track_boundaryZ, simtrackster_trackIdx, simtrackster_trackTime, Trackster, trackster_barycenter_eta, trackster_barycenter_phi, trackster_barycenter_x, trackster_barycenter_y, trackster_barycenter_z, trackster_EV1, trackster_EV2, trackster_EV3, trackster_eVector0_x, trackster_eVector0_y, trackster_eVector0_z, trackster_id_probabilities, trackster_raw_em_energy, trackster_raw_em_pt, trackster_raw_energy, trackster_raw_pt, trackster_regressed_energy, trackster_sigmaPCA1, trackster_sigmaPCA2, trackster_sigmaPCA3, trackster_time, trackster_timeError, trackster_vertices_correctedEnergy, trackster_vertices_correctedEnergyUncertainty, trackster_vertices_energy, trackster_vertices_indexes, trackster_vertices_multiplicity, trackster_vertices_time, trackster_vertices_timeErr, trackster_vertices_x, trackster_vertices_y, trackster_vertices_z, and tracksterType_.
|
inlinestatic |
Definition at line 115 of file TICLDumper.cc.
References SimTracksterCP, SimTracksterSC, str, and Trackster.
Referenced by TICLDumper::TICLDumper().
|
private |
Definition at line 422 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 421 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 454 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 455 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 456 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 457 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 458 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 451 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 452 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 453 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 447 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 446 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 450 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 462 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 463 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 464 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 465 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 466 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 459 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 460 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 461 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 448 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 449 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 442 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 443 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 430 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 431 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 432 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 433 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 434 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 435 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 436 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 437 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 438 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 468 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 427 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 429 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 426 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 428 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 425 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 439 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 440 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 441 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 423 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 424 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 476 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 477 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 475 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 469 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 478 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 473 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 474 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 470 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 471 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 472 of file TICLDumper.cc.
Referenced by clearVariables(), fillFromEvent(), and initTree().
|
private |
Definition at line 419 of file TICLDumper.cc.
Referenced by fillFromEvent(), and initTree().