Public Types | |
enum | ReachHGCal { notReach = 0, outsideEESurface = 1, onEESurface = 2 } |
Public Member Functions | |
void | fill (const edm::Event &, const HGCalTriggerNtupleEventSetup &) final |
HGCalTriggerNtupleGen (const edm::ParameterSet &) | |
void | initialize (TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final |
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 Member Functions | |
void | clear () final |
Private Attributes | |
const MagneticField * | aField_ |
std::vector< int > | gen_charge_ |
std::vector< std::vector< int > > | gen_daughters_ |
std::vector< float > | gen_energy_ |
std::vector< float > | gen_eta_ |
int | gen_n_ |
std::vector< int > | gen_pdgid_ |
std::vector< float > | gen_phi_ |
std::vector< float > | gen_pt_ |
edm::EDGetToken | gen_PU_token_ |
int | gen_PUNumInt_ |
std::vector< int > | gen_status_ |
edm::EDGetToken | gen_token_ |
float | gen_TrueNumInt_ |
std::vector< float > | genpart_dvx_ |
std::vector< float > | genpart_dvy_ |
std::vector< float > | genpart_dvz_ |
std::vector< float > | genpart_energy_ |
std::vector< float > | genpart_eta_ |
std::vector< float > | genpart_exeta_ |
std::vector< float > | genpart_exphi_ |
std::vector< float > | genpart_exx_ |
std::vector< float > | genpart_exy_ |
std::vector< float > | genpart_fbrem_ |
std::vector< bool > | genpart_fromBeamPipe_ |
std::vector< int > | genpart_gen_ |
std::vector< int > | genpart_mother_ |
std::vector< float > | genpart_ovx_ |
std::vector< float > | genpart_ovy_ |
std::vector< float > | genpart_ovz_ |
std::vector< float > | genpart_phi_ |
std::vector< int > | genpart_pid_ |
std::vector< std::vector< float > > | genpart_posx_ |
std::vector< std::vector< float > > | genpart_posy_ |
std::vector< std::vector< float > > | genpart_posz_ |
std::vector< float > | genpart_pt_ |
std::vector< int > | genpart_reachedEE_ |
edm::EDGetToken | hepmcev_token_ |
std::unique_ptr< FSimEvent > | mySimEvent_ |
edm::EDGetToken | simTracks_token_ |
edm::EDGetToken | simVertices_token_ |
HGCalTriggerTools | triggerTools_ |
float | vtx_x_ |
float | vtx_y_ |
float | vtx_z_ |
Additional Inherited Members | |
Protected Attributes inherited from HGCalTriggerNtupleBase | |
bool | accessEventSetup_ = true |
const std::string | name_ |
Definition at line 115 of file HGCalTriggerNtupleGen.cc.
Enumerator | |
---|---|
notReach | |
outsideEESurface | |
onEESurface |
Definition at line 122 of file HGCalTriggerNtupleGen.cc.
HGCalTriggerNtupleGen::HGCalTriggerNtupleGen | ( | const edm::ParameterSet & | conf | ) |
Definition at line 192 of file HGCalTriggerNtupleGen.cc.
References HGCalTriggerNtupleBase::accessEventSetup_.
|
finalprivatevirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 408 of file HGCalTriggerNtupleGen.cc.
References gen_charge_, gen_daughters_, gen_energy_, gen_eta_, gen_n_, gen_pdgid_, gen_phi_, gen_pt_, gen_PUNumInt_, gen_status_, gen_TrueNumInt_, genpart_dvx_, genpart_dvy_, genpart_dvz_, genpart_energy_, genpart_eta_, genpart_exeta_, genpart_exphi_, genpart_exx_, genpart_exy_, genpart_fbrem_, genpart_fromBeamPipe_, genpart_gen_, genpart_mother_, genpart_ovx_, genpart_ovy_, genpart_ovz_, genpart_phi_, genpart_pid_, genpart_posx_, genpart_posy_, genpart_posz_, genpart_pt_, genpart_reachedEE_, vtx_x_, vtx_y_, and vtx_z_.
Referenced by fill().
|
finalvirtual |
Reimplemented from HGCalTriggerNtupleBase.
Definition at line 249 of file HGCalTriggerNtupleGen.cc.
References funct::abs(), aField_, RecoTauCleanerPlugins::charge, clear(), HGCal_helpers::Coordinates::eta, gen_charge_, gen_daughters_, gen_energy_, gen_eta_, gen_n_, gen_pdgid_, gen_phi_, gen_pt_, gen_PU_token_, gen_PUNumInt_, gen_status_, gen_token_, gen_TrueNumInt_, genpart_dvx_, genpart_dvy_, genpart_dvz_, genpart_energy_, genpart_eta_, genpart_exeta_, genpart_exphi_, genpart_exx_, genpart_exy_, genpart_fbrem_, genpart_fromBeamPipe_, genpart_gen_, genpart_mother_, genpart_ovx_, genpart_ovy_, genpart_ovz_, genpart_phi_, genpart_pid_, genpart_posx_, genpart_posy_, genpart_posz_, genpart_pt_, genpart_reachedEE_, HGCalTriggerNtupleEventSetup::geometry, edm::Event::getByToken(), HGCalTriggerTools::getLayerZ(), hepmcev_token_, mps_fire::i, dqmiolumiharvest::j, HGCalTriggerTools::lastLayerBH(), HGCalTriggerNtupleEventSetup::magfield, mySimEvent_, nlayers, npart, HGCalTriggerNtupleEventSetup::pdt, HGCal_helpers::Coordinates::phi, beam_dqm_sourceclient-live_cfg::primaryVertex, edm::ESHandle< class >::product(), HGCal_helpers::SimpleTrackPropagator::propagate(), HGCalTriggerTools::setGeometry(), HGCal_helpers::SimpleTrackPropagator::setPropagationTargetZ(), simTracks_token_, simVertices_token_, HGCal_helpers::Coordinates::toVector(), triggerTools_, vtx_x_, vtx_y_, vtx_z_, HGCal_helpers::Coordinates::x, HGCal_helpers::Coordinates::y, and HGCal_helpers::Coordinates::z.
|
finalvirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 196 of file HGCalTriggerNtupleGen.cc.
References gen_charge_, gen_daughters_, gen_energy_, gen_eta_, gen_n_, gen_pdgid_, gen_phi_, gen_pt_, gen_PU_token_, gen_PUNumInt_, gen_status_, gen_token_, gen_TrueNumInt_, genpart_dvx_, genpart_dvy_, genpart_dvz_, genpart_energy_, genpart_eta_, genpart_exeta_, genpart_exphi_, genpart_exx_, genpart_exy_, genpart_fbrem_, genpart_fromBeamPipe_, genpart_gen_, genpart_mother_, genpart_ovx_, genpart_ovy_, genpart_ovz_, genpart_phi_, genpart_pid_, genpart_posx_, genpart_posy_, genpart_posz_, genpart_pt_, genpart_reachedEE_, edm::ParameterSet::getParameter(), hepmcev_token_, mySimEvent_, simTracks_token_, simVertices_token_, vtx_x_, vtx_y_, and vtx_z_.
|
private |
Definition at line 181 of file HGCalTriggerNtupleGen.cc.
Referenced by fill().
|
private |
Definition at line 172 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 175 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 171 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 168 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 130 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 173 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 169 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 170 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 128 of file HGCalTriggerNtupleGen.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 131 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 174 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 127 of file HGCalTriggerNtupleGen.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 132 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 145 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 146 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 147 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 144 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 141 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 155 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 154 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 151 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 152 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 156 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 160 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 158 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 153 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 148 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 149 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 150 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 142 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 157 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 161 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 162 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 163 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 143 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 159 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 187 of file HGCalTriggerNtupleGen.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 178 of file HGCalTriggerNtupleGen.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 185 of file HGCalTriggerNtupleGen.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 186 of file HGCalTriggerNtupleGen.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 183 of file HGCalTriggerNtupleGen.cc.
Referenced by fill().
|
private |
Definition at line 134 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 135 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 136 of file HGCalTriggerNtupleGen.cc.
Referenced by clear(), fill(), and initialize().