Public Member Functions | |
void | fill (const edm::Event &e, const HGCalTriggerNtupleEventSetup &es) final |
HGCalTriggerNtupleHGCTriggerCells (const edm::ParameterSet &conf) | |
void | initialize (TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final |
~HGCalTriggerNtupleHGCTriggerCells () override | |
Public Member Functions inherited from HGCalTriggerNtupleBase | |
bool | accessEventSetup () const |
virtual void | fill (const edm::Event &, const edm::EventSetup &) |
HGCalTriggerNtupleBase (const edm::ParameterSet &conf) | |
const std::string & | name () const |
virtual | ~HGCalTriggerNtupleBase () |
Private Types | |
typedef edm::AssociationMap < edm::OneToMany < CaloParticleCollection, l1t::HGCalTriggerCellBxCollection > > | CaloToCellsMap |
Private Member Functions | |
double | calibrate (double, int, unsigned) |
void | clear () final |
void | simhits (const edm::Event &e, std::unordered_map< uint32_t, double > &simhits_ee, std::unordered_map< uint32_t, double > &simhits_fh, std::unordered_map< uint32_t, double > &simhits_bh) |
Private Attributes | |
edm::EDGetToken | caloparticles_map_token_ |
std::vector< double > | fcPerMip_ |
bool | fill_simenergy_ |
bool | fill_truthmap_ |
bool | filter_cells_in_multiclusters_ |
double | keV2fC_ |
std::vector< double > | layerWeights_ |
edm::EDGetToken | multiclusters_token_ |
edm::EDGetToken | simhits_bh_token_ |
edm::EDGetToken | simhits_ee_token_ |
edm::EDGetToken | simhits_fh_token_ |
std::vector< int > | tc_cellu_ |
std::vector< int > | tc_cellv_ |
std::vector< uint32_t > | tc_cluster_id_ |
std::vector< uint32_t > | tc_compressedCharge_ |
std::vector< uint32_t > | tc_data_ |
std::vector< float > | tc_energy_ |
std::vector< float > | tc_eta_ |
std::vector< int > | tc_genparticle_index_ |
std::vector< uint32_t > | tc_id_ |
std::vector< int > | tc_layer_ |
std::vector< float > | tc_mipPt_ |
std::vector< uint32_t > | tc_multicluster_id_ |
std::vector< float > | tc_multicluster_pt_ |
int | tc_n_ |
std::vector< float > | tc_phi_ |
std::vector< float > | tc_pt_ |
std::vector< int > | tc_side_ |
std::vector< float > | tc_simenergy_ |
std::vector< int > | tc_subdet_ |
std::vector< uint32_t > | tc_uncompressedCharge_ |
std::vector< int > | tc_wafertype_ |
std::vector< int > | tc_waferu_ |
std::vector< int > | tc_waferv_ |
std::vector< float > | tc_x_ |
std::vector< float > | tc_y_ |
std::vector< float > | tc_z_ |
std::vector< double > | thicknessCorrections_ |
edm::EDGetToken | trigger_cells_token_ |
HGCalTriggerTools | triggerTools_ |
Additional Inherited Members | |
Protected Attributes inherited from HGCalTriggerNtupleBase | |
bool | accessEventSetup_ = true |
const std::string | name_ |
Definition at line 18 of file HGCalTriggerNtupleHGCTriggerCells.cc.
|
private |
Definition at line 73 of file HGCalTriggerNtupleHGCTriggerCells.cc.
HGCalTriggerNtupleHGCTriggerCells::HGCalTriggerNtupleHGCTriggerCells | ( | const edm::ParameterSet & | conf | ) |
Definition at line 78 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References HGCalTriggerNtupleBase::accessEventSetup_.
|
inlineoverride |
Definition at line 21 of file HGCalTriggerNtupleHGCTriggerCells.cc.
|
private |
Definition at line 278 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References hgcalTriggerNtuples_cfi::fcPerMip, fcPerMip_, keV2fC_, phase1PixelTopology::layer, layerWeights_, TrackerMaterial_cfi::thickness, and thicknessCorrections_.
Referenced by fill().
|
finalprivatevirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 326 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References tc_cellu_, tc_cellv_, tc_cluster_id_, tc_compressedCharge_, tc_data_, tc_energy_, tc_eta_, tc_genparticle_index_, tc_id_, tc_layer_, tc_mipPt_, tc_multicluster_id_, tc_multicluster_pt_, tc_n_, tc_phi_, tc_pt_, tc_side_, tc_simenergy_, tc_subdet_, tc_uncompressedCharge_, tc_wafertype_, tc_waferu_, tc_waferv_, tc_x_, tc_y_, and tc_z_.
Referenced by fill().
|
finalvirtual |
Reimplemented from HGCalTriggerNtupleBase.
Definition at line 146 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References BXVector< T >::begin(), calibrate(), caloparticles_map_token_, clear(), BXVector< T >::end(), relval_parameters_module::energy, Exception, fill_simenergy_, fill_truthmap_, filter_cells_in_multiclusters_, HGCalTriggerNtupleEventSetup::geometry, edm::Event::getByToken(), HGCalTriggerGeometryBase::getCellsFromTriggerCell(), HGCalTriggerTools::getTriggerGeometry(), DetId::HGCalHSc, DetId::HGCalTrigger, gpuClustering::id, HGCScintillatorDetId::ietaAbs(), HGCScintillatorDetId::iphi(), HGCalTriggerTools::isEm(), HGCalTriggerTools::isSilicon(), phase1PixelTopology::layer, HGCalTriggerTools::layerWithOffset(), multiclusters_token_, edm::ESHandle< class >::product(), HGCalTriggerTools::setGeometry(), simhits(), HGCScintillatorDetId::subdet(), HGCalTriggerDetId::subdet(), tc_cellu_, tc_cellv_, tc_cluster_id_, tc_compressedCharge_, tc_data_, tc_energy_, tc_eta_, tc_genparticle_index_, tc_id_, tc_layer_, tc_mipPt_, tc_multicluster_id_, tc_multicluster_pt_, tc_n_, tc_phi_, tc_pt_, tc_side_, tc_simenergy_, tc_subdet_, tc_uncompressedCharge_, tc_wafertype_, tc_waferu_, tc_waferv_, tc_x_, tc_y_, tc_z_, TrackerMaterial_cfi::thickness, HGCalTriggerTools::thicknessIndex(), trigger_cells_token_, HGCalTriggerDetId::triggerCellU(), HGCalTriggerDetId::triggerCellV(), triggerTools_, HGCScintillatorDetId::type(), HGCalTriggerDetId::type(), HGCalTriggerDetId::waferU(), HGCalTriggerDetId::waferV(), and HGCalTriggerTools::zside().
|
finalvirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 90 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References caloparticles_map_token_, fill_simenergy_, fill_truthmap_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), multiclusters_token_, PostProcessorHGCAL_cfi::prefix, simhits_bh_token_, simhits_ee_token_, simhits_fh_token_, AlCaHLTBitMon_QueryRunRegistry::string, tc_cellu_, tc_cellv_, tc_cluster_id_, tc_compressedCharge_, tc_data_, tc_energy_, tc_eta_, tc_genparticle_index_, tc_id_, tc_layer_, tc_mipPt_, tc_multicluster_id_, tc_multicluster_pt_, tc_n_, tc_phi_, tc_pt_, tc_side_, tc_simenergy_, tc_subdet_, tc_uncompressedCharge_, tc_wafertype_, tc_waferu_, tc_waferv_, tc_x_, tc_y_, tc_z_, and trigger_cells_token_.
|
private |
Definition at line 286 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), edm::Event::getByToken(), HGCalTriggerTools::getTriggerGeometry(), HGCalTriggerGeometryBase::hscTopology(), simhits_bh_token_, simhits_ee_token_, simhits_fh_token_, HGCalTriggerTools::simToReco(), and triggerTools_.
Referenced by fill().
|
private |
Definition at line 37 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 42 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by calibrate().
|
private |
Definition at line 38 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 39 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 40 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill().
|
private |
Definition at line 41 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by calibrate().
|
private |
Definition at line 43 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by calibrate().
|
private |
Definition at line 35 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 36 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by initialize(), and simhits().
|
private |
Definition at line 36 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by initialize(), and simhits().
|
private |
Definition at line 36 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by initialize(), and simhits().
|
private |
Definition at line 54 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 55 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 68 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 58 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 56 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 61 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 63 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 71 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 47 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 50 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 59 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 69 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 70 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 46 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 64 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 60 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 49 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 62 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 48 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 57 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 53 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 51 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 52 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 65 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 66 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 67 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 44 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by calibrate().
|
private |
Definition at line 35 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 33 of file HGCalTriggerNtupleHGCTriggerCells.cc.