Public Member Functions | |
void | fill (const edm::Event &e, const edm::EventSetup &es) final |
HGCalTriggerNtupleHGCTriggerCells (const edm::ParameterSet &conf) | |
void | initialize (TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final |
~HGCalTriggerNtupleHGCTriggerCells () override | |
Public Member Functions inherited from HGCalTriggerNtupleBase | |
HGCalTriggerNtupleBase (const edm::ParameterSet &conf) | |
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_ |
edm::ESHandle< HGCalTriggerGeometryBase > | geometry_ |
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_cell_ |
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< int > | tc_panel_number_ |
std::vector< int > | tc_panel_sector_ |
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_wafer_ |
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_ |
Static Private Attributes | |
static const unsigned | kPanelMask_ = 0x7F |
static const unsigned | kPanelOffset_ = 0 |
static const unsigned | kSectorMask_ = 0x7 |
static const unsigned | kSectorOffset_ = 7 |
Additional Inherited Members |
Definition at line 20 of file HGCalTriggerNtupleHGCTriggerCells.cc.
|
private |
Definition at line 85 of file HGCalTriggerNtupleHGCTriggerCells.cc.
HGCalTriggerNtupleHGCTriggerCells::HGCalTriggerNtupleHGCTriggerCells | ( | const edm::ParameterSet & | conf | ) |
Definition at line 90 of file HGCalTriggerNtupleHGCTriggerCells.cc.
|
inlineoverride |
Definition at line 23 of file HGCalTriggerNtupleHGCTriggerCells.cc.
|
private |
Definition at line 319 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References HCALHighEnergyHPDFilter_cfi::energy, hgcalTriggerNtuples_cfi::fcPerMip, fcPerMip_, keV2fC_, phase1PixelTopology::layer, layerWeights_, Calorimetry_cff::thickness, hgcalVFEProducer_cfi::thicknessCorrection, and thicknessCorrections_.
Referenced by fill().
|
finalprivatevirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 368 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References tc_cell_, 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_panel_number_, tc_panel_sector_, tc_phi_, tc_pt_, tc_side_, tc_simenergy_, tc_subdet_, tc_uncompressedCharge_, tc_wafer_, tc_wafertype_, tc_waferu_, tc_waferv_, tc_x_, tc_y_, and tc_z_.
Referenced by fill().
|
finalvirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 160 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References BXVector< T >::begin(), calibrate(), caloparticles_map_token_, HGCalDetId::cell(), clear(), MillePedeFileConverter_cfg::e, BXVector< T >::end(), HCALHighEnergyHPDFilter_cfi::energy, HGCalTriggerTools::eventSetup(), fill_simenergy_, fill_truthmap_, filter_cells_in_multiclusters_, DetId::Forward, geometry_, edm::EventSetup::get(), get, HGCalTriggerGeometryBase::getCellsFromTriggerCell(), HGCalTriggerGeometryBase::getModuleFromTriggerCell(), DetId::HGCalHSc, DetId::HGCalTrigger, HGCHEB, triggerObjects_cff::id, HGCScintillatorDetId::ietaAbs(), HGCScintillatorDetId::iphi(), HGCalTriggerTools::isEm(), HGCalTriggerTools::isSilicon(), kPanelMask_, kPanelOffset_, kSectorMask_, kSectorOffset_, phase1PixelTopology::layer, HGCalTriggerTools::layerWithOffset(), multiclusters_token_, simhits(), HGCScintillatorDetId::subdet(), HGCalTriggerDetId::subdet(), tc_cell_, 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_panel_number_, tc_panel_sector_, tc_phi_, tc_pt_, tc_side_, tc_simenergy_, tc_subdet_, tc_uncompressedCharge_, tc_wafer_, tc_wafertype_, tc_waferu_, tc_waferv_, tc_x_, tc_y_, tc_z_, Calorimetry_cff::thickness, HGCalTriggerTools::thicknessIndex(), trigger_cells_token_, HGCalTriggerDetId::triggerCellU(), HGCalTriggerDetId::triggerCellV(), triggerTools_, HGCScintillatorDetId::type(), HGCalTriggerDetId::type(), HGCalDetId::wafer(), HGCalDetId::waferType(), HGCalTriggerDetId::waferU(), HGCalTriggerDetId::waferV(), and HGCalTriggerTools::zside().
|
finalvirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 100 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References caloparticles_map_token_, fill_simenergy_, fill_truthmap_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), multiclusters_token_, hcallasereventfilter2012_cfi::prefix, simhits_bh_token_, simhits_ee_token_, simhits_fh_token_, AlCaHLTBitMon_QueryRunRegistry::string, tc_cell_, 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_panel_number_, tc_panel_sector_, tc_phi_, tc_pt_, tc_side_, tc_simenergy_, tc_subdet_, tc_uncompressedCharge_, tc_wafer_, tc_wafertype_, tc_waferu_, tc_waferv_, tc_x_, tc_y_, tc_z_, and trigger_cells_token_.
|
private |
Definition at line 327 of file HGCalTriggerNtupleHGCTriggerCells.cc.
References HGCalTriggerGeometryBase::bhTopology(), MillePedeFileConverter_cfg::e, HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), geometry_, HGCalTriggerGeometryBase::hscTopology(), HGCalTriggerGeometryBase::isV9Geometry(), simhits_bh_token_, simhits_ee_token_, simhits_fh_token_, HGCalTriggerTools::simToReco(), and triggerTools_.
Referenced by fill().
|
private |
Definition at line 39 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 44 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by calibrate().
|
private |
Definition at line 40 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 41 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 42 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill().
|
private |
Definition at line 47 of file HGCalTriggerNtupleHGCTriggerCells.cc.
|
private |
Definition at line 43 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by calibrate().
|
staticprivate |
Definition at line 50 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill().
|
staticprivate |
Definition at line 49 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill().
|
staticprivate |
Definition at line 52 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill().
|
staticprivate |
Definition at line 51 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill().
|
private |
Definition at line 45 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by calibrate().
|
private |
Definition at line 37 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 38 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by initialize(), and simhits().
|
private |
Definition at line 38 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by initialize(), and simhits().
|
private |
Definition at line 38 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by initialize(), and simhits().
|
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 80 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 68 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 73 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 75 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 83 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 58 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 81 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 82 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 54 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 60 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 76 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 72 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 74 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 69 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 64 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 63 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 77 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 78 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 79 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 46 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by calibrate().
|
private |
Definition at line 37 of file HGCalTriggerNtupleHGCTriggerCells.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 35 of file HGCalTriggerNtupleHGCTriggerCells.cc.