CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
HSCPTreeBuilder Class Reference

#include <SUSYBSMAnalysis/HSCP/src/HSCPTreeBuilder.cc>

Inheritance diagram for HSCPTreeBuilder:
edm::EDFilter edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 HSCPTreeBuilder (const edm::ParameterSet &)
 
 ~HSCPTreeBuilder () override
 
- Public Member Functions inherited from edm::EDFilter
 EDFilter ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDFilter () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > 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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void beginJob () override
 
int ClosestMuonIndex (reco::TrackRef track, std::vector< reco::MuonRef >)
 
void endJob () override
 
bool filter (edm::Event &, const edm::EventSetup &) override
 

Private Attributes

float Calo_ecal_beta [10000]
 
float Calo_ecal_beta_err [10000]
 
float Calo_ecal_chi2s [10000][10]
 
float Calo_ecal_crossedE [10000]
 
float Calo_ecal_dEdx [10000]
 
unsigned int Calo_ecal_detIds [10000][10]
 
float Calo_ecal_e1OverE9s [10000][10]
 
float Calo_ecal_energies [10000][10]
 
float Calo_ecal_invBeta_err [10000]
 
int Calo_ecal_numCrysCrossed [10000]
 
float Calo_ecal_outOfTimeChi2s [10000][10]
 
float Calo_ecal_outOfTimeEnergies [10000][10]
 
float Calo_ecal_swissCrossKs [10000][10]
 
float Calo_ecal_time [10000]
 
float Calo_ecal_time_err [10000]
 
float Calo_ecal_timeErrors [10000][10]
 
float Calo_ecal_times [10000][10]
 
float Calo_ecal_trackExitEtas [10000][10]
 
float Calo_ecal_trackExitPhis [10000][10]
 
float Calo_ecal_trackLengths [10000][10]
 
float Event_BField
 
unsigned int Event_BXCrossing
 
unsigned int Event_EventNumber
 
unsigned int Event_LumiSection
 
unsigned int Event_Orbit
 
bool Event_PhysicsDeclared
 
unsigned int Event_RunNumber
 
unsigned int Event_Store
 
bool Event_technicalBits [64]
 
unsigned int Event_Time
 
bool Event_triggerHLTBits [128]
 
bool Event_triggerL1Bits [192]
 
float Gen_beta [10000]
 
float Gen_charge [10000]
 
float Gen_eta [10000]
 
float Gen_mass [10000]
 
float Gen_p [10000]
 
int Gen_pdgId [10000]
 
float Gen_phi [10000]
 
float Gen_pt [10000]
 
float Gen_px [10000]
 
float Gen_py [10000]
 
float Gen_pz [10000]
 
bool Hscp_hasCalo [10000]
 
bool Hscp_hasMuon [10000]
 
bool Hscp_hasRpc [10000]
 
bool Hscp_hasTrack [10000]
 
int Hscp_type [10000]
 
const edm::EventiEvent_
 
const edm::EventSetupiSetup_
 
EDGetTokenT< GenParticleCollectionm_genParticlesToken
 
EDGetTokenT< L1GlobalTriggerReadoutRecordm_gtReadoutRecordToken
 
EDGetTokenT< susybsm::HSCParticleCollectionm_HSCPsToken
 
EDGetTokenT< reco::VertexCollectionm_recoVertexToken
 
EDGetTokenT< edm::TriggerResultsm_trToken
 
float Muon_cb_fIBeta [10000]
 
float Muon_cb_fIBeta_err [10000]
 
float Muon_cb_IBeta [10000]
 
float Muon_cb_IBeta_err [10000]
 
int Muon_cb_ndof [10000]
 
int Muon_charge [10000]
 
float Muon_csc_fIBeta [10000]
 
float Muon_csc_fIBeta_err [10000]
 
float Muon_csc_IBeta [10000]
 
float Muon_csc_IBeta_err [10000]
 
int Muon_csc_ndof [10000]
 
float Muon_dt_fIBeta [10000]
 
float Muon_dt_fIBeta_err [10000]
 
float Muon_dt_IBeta [10000]
 
float Muon_dt_IBeta_err [10000]
 
int Muon_dt_ndof [10000]
 
float Muon_eta [10000]
 
float Muon_p [10000]
 
float Muon_phi [10000]
 
float Muon_pt [10000]
 
bool Muon_qualityValid [10000]
 
int Muon_type [10000]
 
TTree * MyTree
 
unsigned int NGens
 
unsigned int NHSCPs
 
unsigned int NVertices
 
bool reccordGenInfo
 
bool reccordVertexInfo
 
float Rpc_beta [10000]
 
edm::Service< TFileServicetfs
 
int Track_charge [10000]
 
float Track_chi2 [10000]
 
float Track_d0 [10000]
 
float Track_dEdxD1 [10000]
 
unsigned int Track_dEdxD1_NOM [10000]
 
float Track_dEdxD1_NOS [10000]
 
float Track_dEdxD2 [10000]
 
unsigned int Track_dEdxD2_NOM [10000]
 
float Track_dEdxD2_NOS [10000]
 
float Track_dEdxD3 [10000]
 
unsigned int Track_dEdxD3_NOM [10000]
 
float Track_dEdxD3_NOS [10000]
 
float Track_dEdxE1 [10000]
 
unsigned int Track_dEdxE1_NOM [10000]
 
float Track_dEdxE1_NOS [10000]
 
float Track_dEdxE2 [10000]
 
unsigned int Track_dEdxE2_NOM [10000]
 
float Track_dEdxE2_NOS [10000]
 
float Track_dEdxE3 [10000]
 
unsigned int Track_dEdxE3_NOM [10000]
 
float Track_dEdxE3_NOS [10000]
 
float Track_dz [10000]
 
float Track_eta [10000]
 
float Track_eta_err [10000]
 
unsigned int Track_ndof [10000]
 
unsigned int Track_NOH [10000]
 
float Track_p [10000]
 
float Track_phi [10000]
 
float Track_phi_err [10000]
 
float Track_pt [10000]
 
float Track_pt_err [10000]
 
int Track_quality [10000]
 
float Vertex_chi2 [1000]
 
bool Vertex_isFake [1000]
 
float Vertex_ndof [1000]
 
int Vertex_TrackSize [1000]
 
float Vertex_x [1000]
 
float Vertex_x_err [1000]
 
float Vertex_y [1000]
 
float Vertex_y_err [1000]
 
float Vertex_z [1000]
 
float Vertex_z_err [1000]
 

Additional Inherited Members

- Public Types inherited from edm::EDFilter
typedef EDFilter ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDFilter
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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 ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 112 of file HSCPTreeBuilder.cc.

Constructor & Destructor Documentation

◆ HSCPTreeBuilder()

HSCPTreeBuilder::HSCPTreeBuilder ( const edm::ParameterSet iConfig)
explicit

Definition at line 259 of file HSCPTreeBuilder.cc.

259  {
260  m_gtReadoutRecordToken = consumes<L1GlobalTriggerReadoutRecord>(InputTag("gtDigis"));
261  m_trToken = consumes<edm::TriggerResults>(InputTag("TriggerResults"));
262  m_recoVertexToken = consumes<reco::VertexCollection>(InputTag("offlinePrimaryVertices"));
263  m_genParticlesToken = mayConsume<GenParticleCollection>(InputTag("genParticles"));
264  m_HSCPsToken = consumes<susybsm::HSCParticleCollection>(iConfig.getParameter<InputTag>("HSCParticles"));
265 
266  reccordVertexInfo = iConfig.getUntrackedParameter<bool>("reccordVertexInfo", true);
267  reccordGenInfo = iConfig.getUntrackedParameter<bool>("reccordGenInfo", false);
268 
269  std::cout << "######################################################" << endl;
270  std::cout << " USE OF THE HSCPTreeBuilder is deprecated! " << endl;
271  std::cout << "better to use the HSCParticle Producer and then FWLite" << endl;
272  std::cout << "######################################################" << endl;
273 }

References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and HLT_FULL_cff::InputTag.

◆ ~HSCPTreeBuilder()

HSCPTreeBuilder::~HSCPTreeBuilder ( )
override

Definition at line 275 of file HSCPTreeBuilder.cc.

275 {}

Member Function Documentation

◆ beginJob()

void HSCPTreeBuilder::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDFilter.

Definition at line 277 of file HSCPTreeBuilder.cc.

277  {
278  TTree::SetMaxTreeSize(1000 * Long64_t(2000000000)); // authorize Trees up to 2 Terabytes
279  MyTree = tfs->make<TTree>("HscpTree", "HscpTree");
280 
281  MyTree->Branch("Event_EventNumber", &Event_EventNumber, "Event_EventNumber/i");
282  MyTree->Branch("Event_RunNumber", &Event_RunNumber, "Event_RunNumber/i");
283  MyTree->Branch("Event_LumiSection", &Event_LumiSection, "Event_LumiSection/i");
284  MyTree->Branch("Event_BXCrossing", &Event_BXCrossing, "Event_BXCrossing/i");
285  MyTree->Branch("Event_Orbit", &Event_Orbit, "Event_Orbit/i");
286  MyTree->Branch("Event_Store", &Event_Store, "Event_Store/i");
287  MyTree->Branch("Event_Time", &Event_Time, "Event_Time/i");
288  MyTree->Branch("Event_PhysicsDeclared", &Event_PhysicsDeclared, "Event_PhysicsDeclared/O");
289  MyTree->Branch("Event_technicalBits", Event_technicalBits, "Event_technicalBits[64]/O");
290  MyTree->Branch("Event_triggerL1Bits", Event_triggerL1Bits, "Event_triggerL1Bits[192]/O");
291  MyTree->Branch("Event_triggerHLTBits", Event_triggerHLTBits, "Event_triggerHLTBits[128]/O");
292  MyTree->Branch("Event_BField", &Event_BField, "Event_BField/F");
293 
294  if (reccordVertexInfo) {
295  MyTree->Branch("NVertices", &NVertices, "NVertices/I");
296  MyTree->Branch("Vertex_x", Vertex_x, "Vertex_x[NVertices]/F");
297  MyTree->Branch("Vertex_y", Vertex_y, "Vertex_y[NVertices]/F");
298  MyTree->Branch("Vertex_z", Vertex_z, "Vertex_z[NVertices]/F");
299  MyTree->Branch("Vertex_x_err", Vertex_x_err, "Vertex_x_err[NVertices]/F");
300  MyTree->Branch("Vertex_y_err", Vertex_y_err, "Vertex_y_err[NVertices]/F");
301  MyTree->Branch("Vertex_z_err", Vertex_z_err, "Vertex_z_err[NVertices]/F");
302  MyTree->Branch("Vertex_TrackSize", Vertex_TrackSize, "Vertex_TrackSize[NVertices]/I");
303  MyTree->Branch("Vertex_chi2", Vertex_chi2, "Vertex_chi2[NVertices]/F");
304  MyTree->Branch("Vertex_ndof", Vertex_ndof, "Vertex_ndof[NVertices]/F");
305  MyTree->Branch("Vertex_isFake", Vertex_isFake, "Vertex_isFake[NVertices]/O");
306  }
307 
308  MyTree->Branch("NHSCPs", &NHSCPs, "NHSCPs/I");
309  MyTree->Branch("Hscp_hasTrack", Hscp_hasTrack, "Hscp_hasTrack[NHSCPs]/O");
310  MyTree->Branch("Hscp_hasMuon", Hscp_hasMuon, "Hscp_hasMuon[NHSCPs]/O");
311  MyTree->Branch("Hscp_hasRpc", Hscp_hasRpc, "Hscp_hasRpc[NHSCPs]/O");
312  MyTree->Branch("Hscp_hasCalo", Hscp_hasCalo, "Hscp_hasCalo[NHSCPs]/O");
313  MyTree->Branch("Hscp_type", Hscp_type, "Hscp_type[NHSCPs]/I");
314  MyTree->Branch("Track_NOH", Track_NOH, "Track_NOH[NHSCPs]/I");
315  MyTree->Branch("Track_p", Track_p, "Track_p[NHSCPs]/F");
316  MyTree->Branch("Track_pt", Track_pt, "Track_pt[NHSCPs]/F");
317  MyTree->Branch("Track_pt_err", Track_pt_err, "Track_pt_err[NHSCPs]/F");
318  MyTree->Branch("Track_chi2", Track_chi2, "Track_chi2[NHSCPs]/F");
319  MyTree->Branch("Track_ndof", Track_ndof, "Track_ndof[NHSCPs]/F");
320  MyTree->Branch("Track_eta", Track_eta, "Track_eta[NHSCPs]/F");
321  MyTree->Branch("Track_eta_err", Track_eta_err, "Track_eta_err[NHSCPs]/F");
322  MyTree->Branch("Track_phi", Track_phi, "Track_phi[NHSCPs]/F");
323  MyTree->Branch("Track_phi_err", Track_phi_err, "Track_phi_err[NHSCPs]/F");
324  MyTree->Branch("Track_d0", Track_d0, "Track_d0[NHSCPs]/F");
325  MyTree->Branch("Track_dz", Track_dz, "Track_dz[NHSCPs]/F");
326  MyTree->Branch("Track_quality", Track_quality, "Track_quality[NHSCPs]/I");
327  MyTree->Branch("Track_charge", Track_charge, "Track_charge[NHSCPs]/I");
328  MyTree->Branch("Track_dEdxE1", Track_dEdxE1, "Track_dEdxE1[NHSCPs]/F");
329  MyTree->Branch("Track_dEdxE1_NOS", Track_dEdxE1_NOS, "Track_dEdxE1_NOS[NHSCPs]/F");
330  MyTree->Branch("Track_dEdxE1_NOM", Track_dEdxE1_NOM, "Track_dEdxE1_NOM[NHSCPs]/I");
331  MyTree->Branch("Track_dEdxE2", Track_dEdxE2, "Track_dEdxE2[NHSCPs]/F");
332  MyTree->Branch("Track_dEdxE2_NOS", Track_dEdxE2_NOS, "Track_dEdxE2_NOS[NHSCPs]/F");
333  MyTree->Branch("Track_dEdxE2_NOM", Track_dEdxE2_NOM, "Track_dEdxE2_NOM[NHSCPs]/I");
334  MyTree->Branch("Track_dEdxE3", Track_dEdxE3, "Track_dEdxE3[NHSCPs]/F");
335  MyTree->Branch("Track_dEdxE3_NOS", Track_dEdxE3_NOS, "Track_dEdxE3_NOS[NHSCPs]/F");
336  MyTree->Branch("Track_dEdxE3_NOM", Track_dEdxE3_NOM, "Track_dEdxE3_NOM[NHSCPs]/I");
337  MyTree->Branch("Track_dEdxD1", Track_dEdxD1, "Track_dEdxD1[NHSCPs]/F");
338  MyTree->Branch("Track_dEdxD1_NOS", Track_dEdxD1_NOS, "Track_dEdxD1_NOS[NHSCPs]/F");
339  MyTree->Branch("Track_dEdxD1_NOM", Track_dEdxD1_NOM, "Track_dEdxD1_NOM[NHSCPs]/I");
340  MyTree->Branch("Track_dEdxD2", Track_dEdxD2, "Track_dEdxD2[NHSCPs]/F");
341  MyTree->Branch("Track_dEdxD2_NOS", Track_dEdxD2_NOS, "Track_dEdxD2_NOS[NHSCPs]/F");
342  MyTree->Branch("Track_dEdxD2_NOM", Track_dEdxD2_NOM, "Track_dEdxD2_NOM[NHSCPs]/I");
343  MyTree->Branch("Track_dEdxD3", Track_dEdxD3, "Track_dEdxD3[NHSCPs]/F");
344  MyTree->Branch("Track_dEdxD3_NOS", Track_dEdxD3_NOS, "Track_dEdxD3_NOS[NHSCPs]/F");
345  MyTree->Branch("Track_dEdxD3_NOM", Track_dEdxD3_NOM, "Track_dEdxD3_NOM[NHSCPs]/I");
346  MyTree->Branch("Muon_p", Muon_p, "Muon_p[NHSCPs]/F");
347  MyTree->Branch("Muon_pt", Muon_pt, "Muon_pt[NHSCPs]/F");
348  MyTree->Branch("Muon_eta", Muon_eta, "Muon_eta[NHSCPs]/F");
349  MyTree->Branch("Muon_phi", Muon_phi, "Muon_phi[NHSCPs]/F");
350  MyTree->Branch("Muon_type", Muon_type, "Muon_type[NHSCPs]/i");
351  MyTree->Branch("Muon_qualityValid", Muon_qualityValid, "Muon_qualityValid[NHSCPs]/O");
352  MyTree->Branch("Muon_charge", Muon_charge, "Muon_charge[NHSCPs]/i");
353  MyTree->Branch("Muon_dt_IBeta", Muon_dt_IBeta, "Muon_dt_IBeta[NHSCPs]/F");
354  MyTree->Branch("Muon_dt_IBeta_err", Muon_dt_IBeta_err, "Muon_dt_IBeta_err[NHSCPs]/F");
355  MyTree->Branch("Muon_dt_fIBeta", Muon_dt_fIBeta, "Muon_dt_fIBeta[NHSCPs]/F");
356  MyTree->Branch("Muon_dt_fIBeta_err", Muon_dt_fIBeta_err, "Muon_dt_fIBeta_err[NHSCPs]/F");
357  MyTree->Branch("Muon_dt_ndof", Muon_dt_ndof, "Muon_dt_ndof[NHSCPs]/I");
358  MyTree->Branch("Muon_csc_IBeta", Muon_csc_IBeta, "Muon_csc_IBeta[NHSCPs]/F");
359  MyTree->Branch("Muon_csc_IBeta_err", Muon_csc_IBeta_err, "Muon_csc_IBeta_err[NHSCPs]/F");
360  MyTree->Branch("Muon_csc_fIBeta", Muon_csc_fIBeta, "Muon_csc_fIBeta[NHSCPs]/F");
361  MyTree->Branch("Muon_csc_fIBeta_err", Muon_csc_fIBeta_err, "Muon_csc_fIBeta_err[NHSCPs]/F");
362  MyTree->Branch("Muon_csc_ndof", Muon_csc_ndof, "Muon_csc_ndof[NHSCPs]/I");
363  MyTree->Branch("Muon_cb_IBeta", Muon_cb_IBeta, "Muon_cb_IBeta[NHSCPs]/F");
364  MyTree->Branch("Muon_cb_IBeta_err", Muon_cb_IBeta_err, "Muon_cb_IBeta_err[NHSCPs]/F");
365  MyTree->Branch("Muon_cb_fIBeta", Muon_cb_fIBeta, "Muon_cb_fIBeta[NHSCPs]/F");
366  MyTree->Branch("Muon_cb_fIBeta_err", Muon_cb_fIBeta_err, "Muon_cb_fIBeta_err[NHSCPs]/F");
367  MyTree->Branch("Muon_cb_ndof", Muon_cb_ndof, "Muon_cb_ndof[NHSCPs]/I");
368 
369  MyTree->Branch("Rpc_beta", Rpc_beta, "Rpc_beta[NHSCPs]/F");
370 
371  MyTree->Branch("Calo_ecal_crossedE", Calo_ecal_crossedE, "Calo_ecal_crossedE[NHSCPs]/F");
372  MyTree->Branch("Calo_ecal_beta", Calo_ecal_beta, "Calo_ecal_beta[NHSCPs]/F");
373  MyTree->Branch("Calo_ecal_beta_err", Calo_ecal_beta_err, "Calo_ecal_beta_err[NHSCPs]/F");
374  MyTree->Branch("Calo_ecal_invBeta_err", Calo_ecal_invBeta_err, "Calo_ecal_invBeta_err[NHSCPs]/F");
375  MyTree->Branch("Calo_ecal_dEdx", Calo_ecal_dEdx, "Calo_ecal_dEdx[NHSCPs]/F");
376  MyTree->Branch("Calo_ecal_time", Calo_ecal_time, "Calo_ecal_time[NHSCPs]/F");
377  MyTree->Branch("Calo_ecal_time_err", Calo_ecal_time_err, "Calo_ecal_time_err[NHSCPs]/F");
378  MyTree->Branch("Calo_ecal_numCrysCrossed", Calo_ecal_numCrysCrossed, "Calo_ecal_numCrysCrossed[NHSCPs]/I");
379  MyTree->Branch("Calo_ecal_swissCrossKs", Calo_ecal_swissCrossKs, "Calo_ecal_swissCrossKs[NHSCPs][10]/F");
380  MyTree->Branch("Calo_ecal_e1OverE9s", Calo_ecal_e1OverE9s, "Calo_ecal_e1OverE9s[NHSCPs][10]/F");
381  MyTree->Branch("Calo_ecal_trackLengths", Calo_ecal_trackLengths, "Calo_ecal_trackLengths[NHSCPs][10]/F");
382  MyTree->Branch("Calo_ecal_trackExitEtas", Calo_ecal_trackExitEtas, "Calo_ecal_trackExitEtas[NHSCPs][10]/F");
383  MyTree->Branch("Calo_ecal_trackExitPhis", Calo_ecal_trackExitPhis, "Calo_ecal_trackExitPhis[NHSCPs][10]/F");
384  MyTree->Branch("Calo_ecal_energies", Calo_ecal_energies, "Calo_ecal_energies[NHSCPs][10]/F");
385  MyTree->Branch(
386  "Calo_ecal_outOfTimeEnergies", Calo_ecal_outOfTimeEnergies, "Calo_ecal_outOfTimeEnergies[NHSCPs][10]/F");
387  MyTree->Branch("Calo_ecal_chi2s", Calo_ecal_chi2s, "Calo_ecal_chi2s[NHSCPs][10]/F");
388  MyTree->Branch("Calo_ecal_outOfTimeChi2s", Calo_ecal_outOfTimeChi2s, "Calo_ecal_outOfTimeChi2s[NHSCPs][10]/F");
389  MyTree->Branch("Calo_ecal_times", Calo_ecal_times, "Calo_ecal_times[NHSCPs][10]/F");
390  MyTree->Branch("Calo_ecal_timeErrors", Calo_ecal_timeErrors, "Calo_ecal_timeErrors[NHSCPs][10]/F");
391  MyTree->Branch("Calo_ecal_detIds", Calo_ecal_detIds, "Calo_ecal_detIds[NHSCPs][10]/I");
392 
393  if (reccordGenInfo) {
394  MyTree->Branch("NGens", &NGens, "NGens/I");
395  MyTree->Branch("Gen_pdgId", Gen_pdgId, "Gen_pdgId[NGens]/i");
396  MyTree->Branch("Gen_charge", Gen_charge, "Gen_charge[NGens]/F");
397  MyTree->Branch("Gen_p", Gen_p, "Gen_p[NGens]/F");
398  MyTree->Branch("Gen_px", Gen_px, "Gen_px[NGens]/F");
399  MyTree->Branch("Gen_py", Gen_py, "Gen_py[NGens]/F");
400  MyTree->Branch("Gen_pz", Gen_pz, "Gen_pz[NGens]/F");
401  MyTree->Branch("Gen_pt", Gen_pt, "Gen_pt[NGens]/F");
402  MyTree->Branch("Gen_eta", Gen_eta, "Gen_eta[NGens]/F");
403  MyTree->Branch("Gen_phi", Gen_phi, "Gen_phi[NGens]/F");
404  MyTree->Branch("Gen_beta", Gen_beta, "Gen_beta[NGens]/F");
405  MyTree->Branch("Gen_mass", Gen_mass, "Gen_mass[NGens]/F");
406  }
407 }

◆ ClosestMuonIndex()

int HSCPTreeBuilder::ClosestMuonIndex ( reco::TrackRef  track,
std::vector< reco::MuonRef  
)
private

◆ endJob()

void HSCPTreeBuilder::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDFilter.

Definition at line 409 of file HSCPTreeBuilder.cc.

409 {}

◆ filter()

bool HSCPTreeBuilder::filter ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDFilter.

Definition at line 411 of file HSCPTreeBuilder.cc.

411  {
412  bool debug = false;
413  if (debug)
414  cout << "I'm in HSCPTreeBuilder::analyze!" << endl;
415 
416  Event_EventNumber = iEvent.id().event();
417  Event_RunNumber = iEvent.id().run();
418  Event_LumiSection = iEvent.eventAuxiliary().luminosityBlock();
419  Event_BXCrossing = iEvent.eventAuxiliary().bunchCrossing();
420  Event_Orbit = iEvent.eventAuxiliary().orbitNumber();
421  Event_Store = iEvent.eventAuxiliary().storeNumber();
422  Event_Time = iEvent.eventAuxiliary().time().value();
423 
424  // BField part:
426  iSetup.get<IdealMagneticFieldRecord>().get(MF);
427  const MagneticField* theMagneticField = MF.product();
428  Event_BField = fabs(theMagneticField->inTesla(GlobalPoint(0, 0, 0)).z());
429 
430  // L1 TRIGGER part:
432  iEvent.getByToken(m_gtReadoutRecordToken, h_gtReadoutRecord);
433  L1GtFdlWord fdlWord = h_gtReadoutRecord->gtFdlWord();
434  TechnicalTriggerWord L1technical = fdlWord.gtTechnicalTriggerWord();
435  Event_PhysicsDeclared = h_gtReadoutRecord->gtFdlWord().physicsDeclared();
436  for (unsigned int i = 0; i < 64; ++i) {
437  Event_technicalBits[i] = L1technical[i];
438  }
439  DecisionWord L1decision = fdlWord.gtDecisionWord();
440  for (unsigned int i = 0; i < 128; ++i) {
441  Event_triggerL1Bits[i] = L1decision[i];
442  }
443  DecisionWordExtended L1decisionE = fdlWord.gtDecisionWordExtended();
444  for (unsigned int i = 0; i < 64; ++i) {
445  Event_triggerL1Bits[128 + i] = L1decisionE[i];
446  }
447 
448  // HLT TRIGGER part:
450  iEvent.getByToken(m_trToken, trh);
451  for (unsigned int i = 0; i < trh->size() && i < 128; ++i) {
452  Event_triggerHLTBits[i] = trh->at(i).accept();
453  }
454 
455  edm::Handle<reco::VertexCollection> recoVertexHandle;
456  iEvent.getByToken(m_recoVertexToken, recoVertexHandle);
457  reco::VertexCollection recoVertex = *recoVertexHandle;
458 
459  if (reccordVertexInfo) {
460  NVertices = 0;
461  for (unsigned int i = 0; i < recoVertex.size(); i++) {
462  Vertex_x[NVertices] = recoVertex[i].x();
463  Vertex_y[NVertices] = recoVertex[i].y();
464  Vertex_z[NVertices] = recoVertex[i].z();
465  Vertex_x_err[NVertices] = recoVertex[i].xError();
466  Vertex_y_err[NVertices] = recoVertex[i].yError();
467  Vertex_z_err[NVertices] = recoVertex[i].zError();
468  Vertex_TrackSize[NVertices] = recoVertex[i].tracksSize();
469  Vertex_chi2[NVertices] = recoVertex[i].chi2();
470  Vertex_ndof[NVertices] = recoVertex[i].ndof();
471  Vertex_isFake[NVertices] = recoVertex[i].isFake();
472  NVertices++;
473  }
474  }
475 
476  // Source Collection
477  edm::Handle<susybsm::HSCParticleCollection> HSCPCollectionHandle;
478  iEvent.getByToken(m_HSCPsToken, HSCPCollectionHandle);
479  susybsm::HSCParticleCollection HSCPCollection = *HSCPCollectionHandle.product();
480 
481  NHSCPs = 0;
482  for (unsigned int i = 0; i < HSCPCollection.size(); i++) {
483  susybsm::HSCParticle hscp = HSCPCollection[i];
484  reco::MuonRef muon = hscp.muonRef();
485  reco::TrackRef track = hscp.trackRef();
486  ;
487 
488  Hscp_hasTrack[NHSCPs] = hscp.hasTrackRef();
489  Hscp_hasMuon[NHSCPs] = hscp.hasMuonRef();
490  Hscp_hasRpc[NHSCPs] = hscp.hasRpcInfo();
491  Hscp_hasCalo[NHSCPs] = hscp.hasCaloInfo();
492  Hscp_type[NHSCPs] = hscp.type();
493 
494  if (track.isNonnull() && Hscp_hasTrack[NHSCPs]) {
495  Track_p[NHSCPs] = track->p();
496  Track_pt[NHSCPs] = track->pt();
497  Track_pt_err[NHSCPs] = track->ptError();
498  Track_eta[NHSCPs] = track->eta();
499  Track_eta_err[NHSCPs] = track->etaError();
500  Track_phi[NHSCPs] = track->phi();
501  Track_phi_err[NHSCPs] = track->phiError();
502  Track_NOH[NHSCPs] = track->found();
503  Track_chi2[NHSCPs] = track->chi2();
504  Track_ndof[NHSCPs] = track->ndof();
505  Track_d0[NHSCPs] = -1.0f * track->dxy(recoVertex[0].position());
506  Track_dz[NHSCPs] = -1.0f * track->dz(recoVertex[0].position());
507  Track_quality[NHSCPs] = track->qualityMask();
508  Track_charge[NHSCPs] = track->charge();
509  /* Track_dEdxE1 [NHSCPs] = hscp.dedxEstimator1().dEdx();
510  Track_dEdxE1_NOM [NHSCPs] = hscp.dedxEstimator1().numberOfMeasurements();
511  Track_dEdxE1_NOS [NHSCPs] = hscp.dedxEstimator1().numberOfSaturatedMeasurements();
512  Track_dEdxE2 [NHSCPs] = hscp.dedxEstimator2().dEdx();
513  Track_dEdxE2_NOM [NHSCPs] = hscp.dedxEstimator2().numberOfMeasurements();
514  Track_dEdxE2_NOS [NHSCPs] = hscp.dedxEstimator2().numberOfSaturatedMeasurements();
515  Track_dEdxE3 [NHSCPs] = hscp.dedxEstimator3().dEdx();
516  Track_dEdxE3_NOM [NHSCPs] = hscp.dedxEstimator3().numberOfMeasurements();
517  Track_dEdxE3_NOS [NHSCPs] = hscp.dedxEstimator3().numberOfSaturatedMeasurements();
518  Track_dEdxD1 [NHSCPs] = hscp.dedxDiscriminator1().dEdx();
519  Track_dEdxD1_NOM [NHSCPs] = hscp.dedxDiscriminator1().numberOfMeasurements();
520  Track_dEdxD1_NOS [NHSCPs] = hscp.dedxDiscriminator1().numberOfSaturatedMeasurements();
521  Track_dEdxD2 [NHSCPs] = hscp.dedxDiscriminator2().dEdx();
522  Track_dEdxD2_NOM [NHSCPs] = hscp.dedxDiscriminator2().numberOfMeasurements();
523  Track_dEdxD2_NOS [NHSCPs] = hscp.dedxDiscriminator2().numberOfSaturatedMeasurements();
524  Track_dEdxD3 [NHSCPs] = hscp.dedxDiscriminator3().dEdx();
525  Track_dEdxD3_NOM [NHSCPs] = hscp.dedxDiscriminator3().numberOfMeasurements();
526  Track_dEdxD3_NOS [NHSCPs] = hscp.dedxDiscriminator3().numberOfSaturatedMeasurements();
527 */
528  }
529 
530  if (muon.isNonnull() && Hscp_hasMuon[NHSCPs]) {
531  Muon_p[NHSCPs] = muon->p();
532  Muon_pt[NHSCPs] = muon->pt();
533  Muon_eta[NHSCPs] = muon->eta();
534  Muon_phi[NHSCPs] = muon->phi();
535  Muon_type[NHSCPs] = muon->type();
536  Muon_qualityValid[NHSCPs] = muon->isQualityValid();
537  Muon_charge[NHSCPs] = muon->charge();
538  /* Muon_dt_IBeta [NHSCPs] = hscp.muonTimeDt().inverseBeta();
539  Muon_dt_IBeta_err [NHSCPs] = hscp.muonTimeDt().inverseBetaErr();
540  Muon_dt_fIBeta [NHSCPs] = hscp.muonTimeDt().freeInverseBeta();
541  Muon_dt_fIBeta_err [NHSCPs] = hscp.muonTimeDt().freeInverseBetaErr();
542  Muon_dt_ndof [NHSCPs] = hscp.muonTimeDt().nDof();
543  Muon_csc_IBeta [NHSCPs] = hscp.muonTimeCsc().inverseBeta();
544  Muon_csc_IBeta_err [NHSCPs] = hscp.muonTimeCsc().inverseBetaErr();
545  Muon_csc_fIBeta [NHSCPs] = hscp.muonTimeCsc().freeInverseBeta();
546  Muon_csc_fIBeta_err[NHSCPs] = hscp.muonTimeCsc().freeInverseBetaErr();
547  Muon_csc_ndof [NHSCPs] = hscp.muonTimeCsc().nDof();
548  Muon_cb_IBeta [NHSCPs] = hscp.muonTimeCombined().inverseBeta();
549  Muon_cb_IBeta_err [NHSCPs] = hscp.muonTimeCombined().inverseBetaErr();
550  Muon_cb_fIBeta [NHSCPs] = hscp.muonTimeCombined().freeInverseBeta();
551  Muon_cb_fIBeta_err [NHSCPs] = hscp.muonTimeCombined().freeInverseBetaErr();
552  Muon_cb_ndof [NHSCPs] = hscp.muonTimeCombined().nDof();
553 */
554  }
555 
556  if (hscp.hasCaloInfo()) {
557  // Calo_ecal_crossedE [NHSCPs] = hscp.calo().ecalCrossedEnergy;
558  // Calo_ecal_beta [NHSCPs] = hscp.calo().ecalBeta;
559  // Calo_ecal_beta_err [NHSCPs] = hscp.calo().ecalBetaError;
560  // Calo_ecal_invBeta_err [NHSCPs] = hscp.calo().ecalInvBetaError;
561  // Calo_ecal_dEdx [NHSCPs] = hscp.calo().ecalDeDx;
562  // Calo_ecal_time [NHSCPs] = hscp.calo().ecalTime;
563  // Calo_ecal_time_err [NHSCPs] = hscp.calo().ecalTimeError;
564  // Calo_ecal_numCrysCrossed[NHSCPs] = hscp.calo().ecalCrysCrossed;
565  /* for(int i=0; i < Calo_ecal_numCrysCrossed[NHSCPs] && i < MAX_ECALCRYS; ++i)
566  {
567  Calo_ecal_swissCrossKs [NHSCPs][i] = hscp.calo().ecalSwissCrossKs[i];
568  Calo_ecal_e1OverE9s [NHSCPs][i] = hscp.calo().ecalE1OverE9s[i];
569  Calo_ecal_trackLengths [NHSCPs][i] = hscp.calo().ecalTrackLengths[i];
570  GlobalPoint exitPosition = hscp.calo().ecalTrackExitPositions[i];
571  Calo_ecal_trackExitEtas [NHSCPs][i] = exitPosition.eta();
572  Calo_ecal_trackExitPhis [NHSCPs][i] = exitPosition.phi();
573  Calo_ecal_energies [NHSCPs][i] = hscp.calo().ecalEnergies[i];
574  Calo_ecal_outOfTimeEnergies[NHSCPs][i] = hscp.calo().ecalOutOfTimeEnergies[i];
575  Calo_ecal_chi2s [NHSCPs][i] = hscp.calo().ecalChi2s[i];
576  Calo_ecal_outOfTimeChi2s [NHSCPs][i] = hscp.calo().ecalOutOfTimeChi2s[i];
577  Calo_ecal_times [NHSCPs][i] = hscp.calo().ecalTimes[i];
578  Calo_ecal_timeErrors [NHSCPs][i] = hscp.calo().ecalTimeErrors[i];
579  Calo_ecal_detIds [NHSCPs][i] = hscp.calo().ecalDetIds[i];
580  }
581 */
582  }
583 
584  if (Hscp_hasRpc[NHSCPs]) {
585  Rpc_beta[NHSCPs] = hscp.rpc().beta;
586  }
587 
588  NHSCPs++;
589  }
590 
591  if (reccordGenInfo) {
594  NGens = 0;
595  for (unsigned int i = 0; i < genParticles->size(); i++) {
596  const GenParticle& part = (*genParticles)[i];
597  if (part.status() != 1)
598  continue;
599  if (part.pt() < 5)
600  continue;
601  // if(fabs(part.pdgId())<1000000) continue;
602 
603  Gen_pdgId[NGens] = part.pdgId();
604  Gen_charge[NGens] = part.charge();
605  Gen_p[NGens] = part.p();
606  Gen_px[NGens] = part.px();
607  Gen_py[NGens] = part.py();
608  Gen_pz[NGens] = part.pz();
609  Gen_pt[NGens] = part.pt();
610  Gen_eta[NGens] = part.eta();
611  Gen_phi[NGens] = part.phi();
612  Gen_beta[NGens] = part.p() / part.energy();
613  Gen_mass[NGens] = part.mass();
614  NGens++;
615  }
616  }
617 
618  MyTree->Fill();
619  return true;
620 }

References edm::HLTPathStatus::accept(), edm::HLTGlobalStatus::at(), susybsm::RPCBetaMeasurement::beta, gather_cfg::cout, debug, genParticles2HepMC_cfi::genParticles, edm::EventSetup::get(), edm::get(), L1GtFdlWord::gtDecisionWord(), L1GtFdlWord::gtDecisionWordExtended(), L1GtFdlWord::gtTechnicalTriggerWord(), susybsm::HSCParticle::hasCaloInfo(), susybsm::HSCParticle::hasMuonRef(), susybsm::HSCParticle::hasRpcInfo(), susybsm::HSCParticle::hasTrackRef(), mps_fire::i, iEvent, MagneticField::inTesla(), cmsRun_displayProdMFGeom_cfg::MF, susybsm::HSCParticle::muonRef(), position, edm::Handle< T >::product(), HLTEgPhaseIITestSequence_cff::recoVertex, susybsm::HSCParticle::rpc(), edm::HLTGlobalStatus::size(), HLT_FULL_cff::track, susybsm::HSCParticle::trackRef(), susybsm::HSCParticle::type(), and PV3DBase< T, PVType, FrameType >::z().

Member Data Documentation

◆ Calo_ecal_beta

float HSCPTreeBuilder::Calo_ecal_beta[10000]
private

Definition at line 225 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_beta_err

float HSCPTreeBuilder::Calo_ecal_beta_err[10000]
private

Definition at line 226 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_chi2s

float HSCPTreeBuilder::Calo_ecal_chi2s[10000][10]
private

Definition at line 239 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_crossedE

float HSCPTreeBuilder::Calo_ecal_crossedE[10000]
private

Definition at line 224 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_dEdx

float HSCPTreeBuilder::Calo_ecal_dEdx[10000]
private

Definition at line 228 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_detIds

unsigned int HSCPTreeBuilder::Calo_ecal_detIds[10000][10]
private

Definition at line 243 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_e1OverE9s

float HSCPTreeBuilder::Calo_ecal_e1OverE9s[10000][10]
private

Definition at line 233 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_energies

float HSCPTreeBuilder::Calo_ecal_energies[10000][10]
private

Definition at line 237 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_invBeta_err

float HSCPTreeBuilder::Calo_ecal_invBeta_err[10000]
private

Definition at line 227 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_numCrysCrossed

int HSCPTreeBuilder::Calo_ecal_numCrysCrossed[10000]
private

Definition at line 231 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_outOfTimeChi2s

float HSCPTreeBuilder::Calo_ecal_outOfTimeChi2s[10000][10]
private

Definition at line 240 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_outOfTimeEnergies

float HSCPTreeBuilder::Calo_ecal_outOfTimeEnergies[10000][10]
private

Definition at line 238 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_swissCrossKs

float HSCPTreeBuilder::Calo_ecal_swissCrossKs[10000][10]
private

Definition at line 232 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_time

float HSCPTreeBuilder::Calo_ecal_time[10000]
private

Definition at line 229 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_time_err

float HSCPTreeBuilder::Calo_ecal_time_err[10000]
private

Definition at line 230 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_timeErrors

float HSCPTreeBuilder::Calo_ecal_timeErrors[10000][10]
private

Definition at line 242 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_times

float HSCPTreeBuilder::Calo_ecal_times[10000][10]
private

Definition at line 241 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_trackExitEtas

float HSCPTreeBuilder::Calo_ecal_trackExitEtas[10000][10]
private

Definition at line 235 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_trackExitPhis

float HSCPTreeBuilder::Calo_ecal_trackExitPhis[10000][10]
private

Definition at line 236 of file HSCPTreeBuilder.cc.

◆ Calo_ecal_trackLengths

float HSCPTreeBuilder::Calo_ecal_trackLengths[10000][10]
private

Definition at line 234 of file HSCPTreeBuilder.cc.

◆ Event_BField

float HSCPTreeBuilder::Event_BField
private

Definition at line 148 of file HSCPTreeBuilder.cc.

◆ Event_BXCrossing

unsigned int HSCPTreeBuilder::Event_BXCrossing
private

Definition at line 143 of file HSCPTreeBuilder.cc.

◆ Event_EventNumber

unsigned int HSCPTreeBuilder::Event_EventNumber
private

Definition at line 140 of file HSCPTreeBuilder.cc.

◆ Event_LumiSection

unsigned int HSCPTreeBuilder::Event_LumiSection
private

Definition at line 142 of file HSCPTreeBuilder.cc.

◆ Event_Orbit

unsigned int HSCPTreeBuilder::Event_Orbit
private

Definition at line 144 of file HSCPTreeBuilder.cc.

◆ Event_PhysicsDeclared

bool HSCPTreeBuilder::Event_PhysicsDeclared
private

Definition at line 147 of file HSCPTreeBuilder.cc.

◆ Event_RunNumber

unsigned int HSCPTreeBuilder::Event_RunNumber
private

Definition at line 141 of file HSCPTreeBuilder.cc.

◆ Event_Store

unsigned int HSCPTreeBuilder::Event_Store
private

Definition at line 145 of file HSCPTreeBuilder.cc.

◆ Event_technicalBits

bool HSCPTreeBuilder::Event_technicalBits[64]
private

Definition at line 139 of file HSCPTreeBuilder.cc.

◆ Event_Time

unsigned int HSCPTreeBuilder::Event_Time
private

Definition at line 146 of file HSCPTreeBuilder.cc.

◆ Event_triggerHLTBits

bool HSCPTreeBuilder::Event_triggerHLTBits[128]
private

Definition at line 138 of file HSCPTreeBuilder.cc.

◆ Event_triggerL1Bits

bool HSCPTreeBuilder::Event_triggerL1Bits[192]
private

Definition at line 137 of file HSCPTreeBuilder.cc.

◆ Gen_beta

float HSCPTreeBuilder::Gen_beta[10000]
private

Definition at line 255 of file HSCPTreeBuilder.cc.

◆ Gen_charge

float HSCPTreeBuilder::Gen_charge[10000]
private

Definition at line 247 of file HSCPTreeBuilder.cc.

◆ Gen_eta

float HSCPTreeBuilder::Gen_eta[10000]
private

Definition at line 253 of file HSCPTreeBuilder.cc.

◆ Gen_mass

float HSCPTreeBuilder::Gen_mass[10000]
private

Definition at line 256 of file HSCPTreeBuilder.cc.

◆ Gen_p

float HSCPTreeBuilder::Gen_p[10000]
private

Definition at line 248 of file HSCPTreeBuilder.cc.

◆ Gen_pdgId

int HSCPTreeBuilder::Gen_pdgId[10000]
private

Definition at line 246 of file HSCPTreeBuilder.cc.

◆ Gen_phi

float HSCPTreeBuilder::Gen_phi[10000]
private

Definition at line 254 of file HSCPTreeBuilder.cc.

◆ Gen_pt

float HSCPTreeBuilder::Gen_pt[10000]
private

Definition at line 252 of file HSCPTreeBuilder.cc.

◆ Gen_px

float HSCPTreeBuilder::Gen_px[10000]
private

Definition at line 249 of file HSCPTreeBuilder.cc.

◆ Gen_py

float HSCPTreeBuilder::Gen_py[10000]
private

Definition at line 250 of file HSCPTreeBuilder.cc.

◆ Gen_pz

float HSCPTreeBuilder::Gen_pz[10000]
private

Definition at line 251 of file HSCPTreeBuilder.cc.

◆ Hscp_hasCalo

bool HSCPTreeBuilder::Hscp_hasCalo[10000]
private

Definition at line 166 of file HSCPTreeBuilder.cc.

◆ Hscp_hasMuon

bool HSCPTreeBuilder::Hscp_hasMuon[10000]
private

Definition at line 164 of file HSCPTreeBuilder.cc.

◆ Hscp_hasRpc

bool HSCPTreeBuilder::Hscp_hasRpc[10000]
private

Definition at line 165 of file HSCPTreeBuilder.cc.

◆ Hscp_hasTrack

bool HSCPTreeBuilder::Hscp_hasTrack[10000]
private

Definition at line 163 of file HSCPTreeBuilder.cc.

◆ Hscp_type

int HSCPTreeBuilder::Hscp_type[10000]
private

Definition at line 167 of file HSCPTreeBuilder.cc.

◆ iEvent_

const edm::Event* HSCPTreeBuilder::iEvent_
private

Definition at line 124 of file HSCPTreeBuilder.cc.

◆ iSetup_

const edm::EventSetup* HSCPTreeBuilder::iSetup_
private

Definition at line 123 of file HSCPTreeBuilder.cc.

◆ m_genParticlesToken

EDGetTokenT<GenParticleCollection> HSCPTreeBuilder::m_genParticlesToken
private

Definition at line 131 of file HSCPTreeBuilder.cc.

◆ m_gtReadoutRecordToken

EDGetTokenT<L1GlobalTriggerReadoutRecord> HSCPTreeBuilder::m_gtReadoutRecordToken
private

Definition at line 128 of file HSCPTreeBuilder.cc.

◆ m_HSCPsToken

EDGetTokenT<susybsm::HSCParticleCollection> HSCPTreeBuilder::m_HSCPsToken
private

Definition at line 132 of file HSCPTreeBuilder.cc.

◆ m_recoVertexToken

EDGetTokenT<reco::VertexCollection> HSCPTreeBuilder::m_recoVertexToken
private

Definition at line 130 of file HSCPTreeBuilder.cc.

◆ m_trToken

EDGetTokenT<edm::TriggerResults> HSCPTreeBuilder::m_trToken
private

Definition at line 129 of file HSCPTreeBuilder.cc.

◆ Muon_cb_fIBeta

float HSCPTreeBuilder::Muon_cb_fIBeta[10000]
private

Definition at line 219 of file HSCPTreeBuilder.cc.

◆ Muon_cb_fIBeta_err

float HSCPTreeBuilder::Muon_cb_fIBeta_err[10000]
private

Definition at line 220 of file HSCPTreeBuilder.cc.

◆ Muon_cb_IBeta

float HSCPTreeBuilder::Muon_cb_IBeta[10000]
private

Definition at line 217 of file HSCPTreeBuilder.cc.

◆ Muon_cb_IBeta_err

float HSCPTreeBuilder::Muon_cb_IBeta_err[10000]
private

Definition at line 218 of file HSCPTreeBuilder.cc.

◆ Muon_cb_ndof

int HSCPTreeBuilder::Muon_cb_ndof[10000]
private

Definition at line 221 of file HSCPTreeBuilder.cc.

◆ Muon_charge

int HSCPTreeBuilder::Muon_charge[10000]
private

Definition at line 206 of file HSCPTreeBuilder.cc.

◆ Muon_csc_fIBeta

float HSCPTreeBuilder::Muon_csc_fIBeta[10000]
private

Definition at line 214 of file HSCPTreeBuilder.cc.

◆ Muon_csc_fIBeta_err

float HSCPTreeBuilder::Muon_csc_fIBeta_err[10000]
private

Definition at line 215 of file HSCPTreeBuilder.cc.

◆ Muon_csc_IBeta

float HSCPTreeBuilder::Muon_csc_IBeta[10000]
private

Definition at line 212 of file HSCPTreeBuilder.cc.

◆ Muon_csc_IBeta_err

float HSCPTreeBuilder::Muon_csc_IBeta_err[10000]
private

Definition at line 213 of file HSCPTreeBuilder.cc.

◆ Muon_csc_ndof

int HSCPTreeBuilder::Muon_csc_ndof[10000]
private

Definition at line 216 of file HSCPTreeBuilder.cc.

◆ Muon_dt_fIBeta

float HSCPTreeBuilder::Muon_dt_fIBeta[10000]
private

Definition at line 209 of file HSCPTreeBuilder.cc.

◆ Muon_dt_fIBeta_err

float HSCPTreeBuilder::Muon_dt_fIBeta_err[10000]
private

Definition at line 210 of file HSCPTreeBuilder.cc.

◆ Muon_dt_IBeta

float HSCPTreeBuilder::Muon_dt_IBeta[10000]
private

Definition at line 207 of file HSCPTreeBuilder.cc.

◆ Muon_dt_IBeta_err

float HSCPTreeBuilder::Muon_dt_IBeta_err[10000]
private

Definition at line 208 of file HSCPTreeBuilder.cc.

◆ Muon_dt_ndof

int HSCPTreeBuilder::Muon_dt_ndof[10000]
private

Definition at line 211 of file HSCPTreeBuilder.cc.

◆ Muon_eta

float HSCPTreeBuilder::Muon_eta[10000]
private

Definition at line 202 of file HSCPTreeBuilder.cc.

◆ Muon_p

float HSCPTreeBuilder::Muon_p[10000]
private

Definition at line 200 of file HSCPTreeBuilder.cc.

◆ Muon_phi

float HSCPTreeBuilder::Muon_phi[10000]
private

Definition at line 203 of file HSCPTreeBuilder.cc.

◆ Muon_pt

float HSCPTreeBuilder::Muon_pt[10000]
private

Definition at line 201 of file HSCPTreeBuilder.cc.

◆ Muon_qualityValid

bool HSCPTreeBuilder::Muon_qualityValid[10000]
private

Definition at line 205 of file HSCPTreeBuilder.cc.

◆ Muon_type

int HSCPTreeBuilder::Muon_type[10000]
private

Definition at line 204 of file HSCPTreeBuilder.cc.

◆ MyTree

TTree* HSCPTreeBuilder::MyTree
private

Definition at line 136 of file HSCPTreeBuilder.cc.

◆ NGens

unsigned int HSCPTreeBuilder::NGens
private

Definition at line 245 of file HSCPTreeBuilder.cc.

◆ NHSCPs

unsigned int HSCPTreeBuilder::NHSCPs
private

Definition at line 162 of file HSCPTreeBuilder.cc.

◆ NVertices

unsigned int HSCPTreeBuilder::NVertices
private

Definition at line 150 of file HSCPTreeBuilder.cc.

◆ reccordGenInfo

bool HSCPTreeBuilder::reccordGenInfo
private

Definition at line 134 of file HSCPTreeBuilder.cc.

◆ reccordVertexInfo

bool HSCPTreeBuilder::reccordVertexInfo
private

Definition at line 133 of file HSCPTreeBuilder.cc.

◆ Rpc_beta

float HSCPTreeBuilder::Rpc_beta[10000]
private

Definition at line 222 of file HSCPTreeBuilder.cc.

◆ tfs

edm::Service<TFileService> HSCPTreeBuilder::tfs
private

Definition at line 126 of file HSCPTreeBuilder.cc.

◆ Track_charge

int HSCPTreeBuilder::Track_charge[10000]
private

Definition at line 181 of file HSCPTreeBuilder.cc.

◆ Track_chi2

float HSCPTreeBuilder::Track_chi2[10000]
private

Definition at line 172 of file HSCPTreeBuilder.cc.

◆ Track_d0

float HSCPTreeBuilder::Track_d0[10000]
private

Definition at line 179 of file HSCPTreeBuilder.cc.

◆ Track_dEdxD1

float HSCPTreeBuilder::Track_dEdxD1[10000]
private

Definition at line 191 of file HSCPTreeBuilder.cc.

◆ Track_dEdxD1_NOM

unsigned int HSCPTreeBuilder::Track_dEdxD1_NOM[10000]
private

Definition at line 193 of file HSCPTreeBuilder.cc.

◆ Track_dEdxD1_NOS

float HSCPTreeBuilder::Track_dEdxD1_NOS[10000]
private

Definition at line 192 of file HSCPTreeBuilder.cc.

◆ Track_dEdxD2

float HSCPTreeBuilder::Track_dEdxD2[10000]
private

Definition at line 194 of file HSCPTreeBuilder.cc.

◆ Track_dEdxD2_NOM

unsigned int HSCPTreeBuilder::Track_dEdxD2_NOM[10000]
private

Definition at line 196 of file HSCPTreeBuilder.cc.

◆ Track_dEdxD2_NOS

float HSCPTreeBuilder::Track_dEdxD2_NOS[10000]
private

Definition at line 195 of file HSCPTreeBuilder.cc.

◆ Track_dEdxD3

float HSCPTreeBuilder::Track_dEdxD3[10000]
private

Definition at line 197 of file HSCPTreeBuilder.cc.

◆ Track_dEdxD3_NOM

unsigned int HSCPTreeBuilder::Track_dEdxD3_NOM[10000]
private

Definition at line 199 of file HSCPTreeBuilder.cc.

◆ Track_dEdxD3_NOS

float HSCPTreeBuilder::Track_dEdxD3_NOS[10000]
private

Definition at line 198 of file HSCPTreeBuilder.cc.

◆ Track_dEdxE1

float HSCPTreeBuilder::Track_dEdxE1[10000]
private

Definition at line 182 of file HSCPTreeBuilder.cc.

◆ Track_dEdxE1_NOM

unsigned int HSCPTreeBuilder::Track_dEdxE1_NOM[10000]
private

Definition at line 184 of file HSCPTreeBuilder.cc.

◆ Track_dEdxE1_NOS

float HSCPTreeBuilder::Track_dEdxE1_NOS[10000]
private

Definition at line 183 of file HSCPTreeBuilder.cc.

◆ Track_dEdxE2

float HSCPTreeBuilder::Track_dEdxE2[10000]
private

Definition at line 185 of file HSCPTreeBuilder.cc.

◆ Track_dEdxE2_NOM

unsigned int HSCPTreeBuilder::Track_dEdxE2_NOM[10000]
private

Definition at line 187 of file HSCPTreeBuilder.cc.

◆ Track_dEdxE2_NOS

float HSCPTreeBuilder::Track_dEdxE2_NOS[10000]
private

Definition at line 186 of file HSCPTreeBuilder.cc.

◆ Track_dEdxE3

float HSCPTreeBuilder::Track_dEdxE3[10000]
private

Definition at line 188 of file HSCPTreeBuilder.cc.

◆ Track_dEdxE3_NOM

unsigned int HSCPTreeBuilder::Track_dEdxE3_NOM[10000]
private

Definition at line 190 of file HSCPTreeBuilder.cc.

◆ Track_dEdxE3_NOS

float HSCPTreeBuilder::Track_dEdxE3_NOS[10000]
private

Definition at line 189 of file HSCPTreeBuilder.cc.

◆ Track_dz

float HSCPTreeBuilder::Track_dz[10000]
private

Definition at line 178 of file HSCPTreeBuilder.cc.

◆ Track_eta

float HSCPTreeBuilder::Track_eta[10000]
private

Definition at line 174 of file HSCPTreeBuilder.cc.

◆ Track_eta_err

float HSCPTreeBuilder::Track_eta_err[10000]
private

Definition at line 175 of file HSCPTreeBuilder.cc.

◆ Track_ndof

unsigned int HSCPTreeBuilder::Track_ndof[10000]
private

Definition at line 173 of file HSCPTreeBuilder.cc.

◆ Track_NOH

unsigned int HSCPTreeBuilder::Track_NOH[10000]
private

Definition at line 168 of file HSCPTreeBuilder.cc.

◆ Track_p

float HSCPTreeBuilder::Track_p[10000]
private

Definition at line 169 of file HSCPTreeBuilder.cc.

◆ Track_phi

float HSCPTreeBuilder::Track_phi[10000]
private

Definition at line 176 of file HSCPTreeBuilder.cc.

◆ Track_phi_err

float HSCPTreeBuilder::Track_phi_err[10000]
private

Definition at line 177 of file HSCPTreeBuilder.cc.

◆ Track_pt

float HSCPTreeBuilder::Track_pt[10000]
private

Definition at line 170 of file HSCPTreeBuilder.cc.

◆ Track_pt_err

float HSCPTreeBuilder::Track_pt_err[10000]
private

Definition at line 171 of file HSCPTreeBuilder.cc.

◆ Track_quality

int HSCPTreeBuilder::Track_quality[10000]
private

Definition at line 180 of file HSCPTreeBuilder.cc.

◆ Vertex_chi2

float HSCPTreeBuilder::Vertex_chi2[1000]
private

Definition at line 158 of file HSCPTreeBuilder.cc.

◆ Vertex_isFake

bool HSCPTreeBuilder::Vertex_isFake[1000]
private

Definition at line 160 of file HSCPTreeBuilder.cc.

◆ Vertex_ndof

float HSCPTreeBuilder::Vertex_ndof[1000]
private

Definition at line 159 of file HSCPTreeBuilder.cc.

◆ Vertex_TrackSize

int HSCPTreeBuilder::Vertex_TrackSize[1000]
private

Definition at line 157 of file HSCPTreeBuilder.cc.

◆ Vertex_x

float HSCPTreeBuilder::Vertex_x[1000]
private

Definition at line 151 of file HSCPTreeBuilder.cc.

◆ Vertex_x_err

float HSCPTreeBuilder::Vertex_x_err[1000]
private

Definition at line 154 of file HSCPTreeBuilder.cc.

◆ Vertex_y

float HSCPTreeBuilder::Vertex_y[1000]
private

Definition at line 152 of file HSCPTreeBuilder.cc.

◆ Vertex_y_err

float HSCPTreeBuilder::Vertex_y_err[1000]
private

Definition at line 155 of file HSCPTreeBuilder.cc.

◆ Vertex_z

float HSCPTreeBuilder::Vertex_z[1000]
private

Definition at line 153 of file HSCPTreeBuilder.cc.

◆ Vertex_z_err

float HSCPTreeBuilder::Vertex_z_err[1000]
private

Definition at line 156 of file HSCPTreeBuilder.cc.

HSCPTreeBuilder::Track_dEdxD1_NOM
unsigned int Track_dEdxD1_NOM[10000]
Definition: HSCPTreeBuilder.cc:193
HSCPTreeBuilder::NVertices
unsigned int NVertices
Definition: HSCPTreeBuilder.cc:150
HSCPTreeBuilder::Muon_csc_IBeta_err
float Muon_csc_IBeta_err[10000]
Definition: HSCPTreeBuilder.cc:213
susybsm::HSCParticle
Definition: HSCParticle.h:42
HSCPTreeBuilder::Track_d0
float Track_d0[10000]
Definition: HSCPTreeBuilder.cc:179
MagneticField::inTesla
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
mps_fire.i
i
Definition: mps_fire.py:428
HSCPTreeBuilder::Calo_ecal_time
float Calo_ecal_time[10000]
Definition: HSCPTreeBuilder.cc:229
HSCPTreeBuilder::Event_PhysicsDeclared
bool Event_PhysicsDeclared
Definition: HSCPTreeBuilder.cc:147
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11779
HSCPTreeBuilder::Track_eta_err
float Track_eta_err[10000]
Definition: HSCPTreeBuilder.cc:175
genParticles2HepMC_cfi.genParticles
genParticles
Definition: genParticles2HepMC_cfi.py:4
HSCPTreeBuilder::Hscp_hasCalo
bool Hscp_hasCalo[10000]
Definition: HSCPTreeBuilder.cc:166
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HSCPTreeBuilder::Calo_ecal_time_err
float Calo_ecal_time_err[10000]
Definition: HSCPTreeBuilder.cc:230
HSCPTreeBuilder::Track_dEdxE3_NOS
float Track_dEdxE3_NOS[10000]
Definition: HSCPTreeBuilder.cc:189
HSCPTreeBuilder::Muon_pt
float Muon_pt[10000]
Definition: HSCPTreeBuilder.cc:201
HSCPTreeBuilder::Gen_pt
float Gen_pt[10000]
Definition: HSCPTreeBuilder.cc:252
HSCPTreeBuilder::Calo_ecal_beta_err
float Calo_ecal_beta_err[10000]
Definition: HSCPTreeBuilder.cc:226
HSCPTreeBuilder::Calo_ecal_chi2s
float Calo_ecal_chi2s[10000][10]
Definition: HSCPTreeBuilder.cc:239
HSCPTreeBuilder::Track_phi
float Track_phi[10000]
Definition: HSCPTreeBuilder.cc:176
muon
Definition: MuonCocktails.h:17
HSCPTreeBuilder::Calo_ecal_timeErrors
float Calo_ecal_timeErrors[10000][10]
Definition: HSCPTreeBuilder.cc:242
HSCPTreeBuilder::Calo_ecal_numCrysCrossed
int Calo_ecal_numCrysCrossed[10000]
Definition: HSCPTreeBuilder.cc:231
HSCPTreeBuilder::Muon_phi
float Muon_phi[10000]
Definition: HSCPTreeBuilder.cc:203
HSCPTreeBuilder::Gen_pdgId
int Gen_pdgId[10000]
Definition: HSCPTreeBuilder.cc:246
susybsm::HSCParticle::hasMuonRef
bool hasMuonRef() const
Definition: HSCParticle.h:48
HSCPTreeBuilder::Track_NOH
unsigned int Track_NOH[10000]
Definition: HSCPTreeBuilder.cc:168
HSCPTreeBuilder::Track_dEdxE3_NOM
unsigned int Track_dEdxE3_NOM[10000]
Definition: HSCPTreeBuilder.cc:190
susybsm::HSCParticle::rpc
const RPCBetaMeasurement & rpc() const
Definition: HSCParticle.h:69
HSCPTreeBuilder::Track_chi2
float Track_chi2[10000]
Definition: HSCPTreeBuilder.cc:172
HSCPTreeBuilder::NGens
unsigned int NGens
Definition: HSCPTreeBuilder.cc:245
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
HSCPTreeBuilder::Track_charge
int Track_charge[10000]
Definition: HSCPTreeBuilder.cc:181
gather_cfg.cout
cout
Definition: gather_cfg.py:144
HSCPTreeBuilder::Track_dEdxE1
float Track_dEdxE1[10000]
Definition: HSCPTreeBuilder.cc:182
HSCPTreeBuilder::Calo_ecal_times
float Calo_ecal_times[10000][10]
Definition: HSCPTreeBuilder.cc:241
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89353
HSCPTreeBuilder::Muon_eta
float Muon_eta[10000]
Definition: HSCPTreeBuilder.cc:202
HSCPTreeBuilder::Gen_mass
float Gen_mass[10000]
Definition: HSCPTreeBuilder.cc:256
HSCPTreeBuilder::Track_dEdxE2
float Track_dEdxE2[10000]
Definition: HSCPTreeBuilder.cc:185
L1GtFdlWord::gtDecisionWordExtended
const DecisionWordExtended & gtDecisionWordExtended() const
get/set extended algorithms bits (extended decision word)
Definition: L1GtFdlWord.h:153
HSCPTreeBuilder::Muon_dt_IBeta_err
float Muon_dt_IBeta_err[10000]
Definition: HSCPTreeBuilder.cc:208
HSCPTreeBuilder::Track_pt
float Track_pt[10000]
Definition: HSCPTreeBuilder.cc:170
HSCPTreeBuilder::Muon_csc_fIBeta_err
float Muon_csc_fIBeta_err[10000]
Definition: HSCPTreeBuilder.cc:215
HSCPTreeBuilder::Vertex_z
float Vertex_z[1000]
Definition: HSCPTreeBuilder.cc:153
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
susybsm::HSCParticleCollection
std::vector< HSCParticle > HSCParticleCollection
Definition: HSCParticle.h:86
HSCPTreeBuilder::Event_triggerHLTBits
bool Event_triggerHLTBits[128]
Definition: HSCPTreeBuilder.cc:138
HSCPTreeBuilder::Vertex_y
float Vertex_y[1000]
Definition: HSCPTreeBuilder.cc:152
edm::Handle
Definition: AssociativeIterator.h:50
GenParticle
Definition: GenParticle.py:1
HSCPTreeBuilder::Muon_dt_IBeta
float Muon_dt_IBeta[10000]
Definition: HSCPTreeBuilder.cc:207
HSCPTreeBuilder::Track_dEdxE1_NOS
float Track_dEdxE1_NOS[10000]
Definition: HSCPTreeBuilder.cc:183
HSCPTreeBuilder::Muon_csc_IBeta
float Muon_csc_IBeta[10000]
Definition: HSCPTreeBuilder.cc:212
HSCPTreeBuilder::Muon_cb_fIBeta
float Muon_cb_fIBeta[10000]
Definition: HSCPTreeBuilder.cc:219
edm::Ref< MuonCollection >
HSCPTreeBuilder::Track_dEdxD2_NOM
unsigned int Track_dEdxD2_NOM[10000]
Definition: HSCPTreeBuilder.cc:196
susybsm::HSCParticle::hasRpcInfo
bool hasRpcInfo() const
Definition: HSCParticle.h:52
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
susybsm::RPCBetaMeasurement::beta
float beta
Definition: HSCParticle.h:34
HSCPTreeBuilder::Gen_phi
float Gen_phi[10000]
Definition: HSCPTreeBuilder.cc:254
HSCPTreeBuilder::NHSCPs
unsigned int NHSCPs
Definition: HSCPTreeBuilder.cc:162
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
HSCPTreeBuilder::Calo_ecal_swissCrossKs
float Calo_ecal_swissCrossKs[10000][10]
Definition: HSCPTreeBuilder.cc:232
HSCPTreeBuilder::Gen_eta
float Gen_eta[10000]
Definition: HSCPTreeBuilder.cc:253
HSCPTreeBuilder::Event_RunNumber
unsigned int Event_RunNumber
Definition: HSCPTreeBuilder.cc:141
HSCPTreeBuilder::Track_dEdxD3_NOS
float Track_dEdxD3_NOS[10000]
Definition: HSCPTreeBuilder.cc:198
HSCPTreeBuilder::Vertex_x
float Vertex_x[1000]
Definition: HSCPTreeBuilder.cc:151
HSCPTreeBuilder::Event_technicalBits
bool Event_technicalBits[64]
Definition: HSCPTreeBuilder.cc:139
HSCPTreeBuilder::Track_quality
int Track_quality[10000]
Definition: HSCPTreeBuilder.cc:180
debug
#define debug
Definition: HDRShower.cc:19
part
part
Definition: HCALResponse.h:20
HSCPTreeBuilder::Muon_p
float Muon_p[10000]
Definition: HSCPTreeBuilder.cc:200
HSCPTreeBuilder::Calo_ecal_detIds
unsigned int Calo_ecal_detIds[10000][10]
Definition: HSCPTreeBuilder.cc:243
HSCPTreeBuilder::Event_Time
unsigned int Event_Time
Definition: HSCPTreeBuilder.cc:146
HSCPTreeBuilder::Calo_ecal_invBeta_err
float Calo_ecal_invBeta_err[10000]
Definition: HSCPTreeBuilder.cc:227
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
susybsm::HSCParticle::hasCaloInfo
bool hasCaloInfo() const
Definition: HSCParticle.h:53
HSCPTreeBuilder::Calo_ecal_outOfTimeEnergies
float Calo_ecal_outOfTimeEnergies[10000][10]
Definition: HSCPTreeBuilder.cc:238
HSCPTreeBuilder::Muon_cb_ndof
int Muon_cb_ndof[10000]
Definition: HSCPTreeBuilder.cc:221
edm::HLTGlobalStatus::size
unsigned int size() const
Get number of paths stored.
Definition: HLTGlobalStatus.h:35
HSCPTreeBuilder::Track_dEdxD2
float Track_dEdxD2[10000]
Definition: HSCPTreeBuilder.cc:194
HSCPTreeBuilder::Track_phi_err
float Track_phi_err[10000]
Definition: HSCPTreeBuilder.cc:177
HSCPTreeBuilder::m_gtReadoutRecordToken
EDGetTokenT< L1GlobalTriggerReadoutRecord > m_gtReadoutRecordToken
Definition: HSCPTreeBuilder.cc:128
HSCPTreeBuilder::Vertex_x_err
float Vertex_x_err[1000]
Definition: HSCPTreeBuilder.cc:154
HSCPTreeBuilder::m_trToken
EDGetTokenT< edm::TriggerResults > m_trToken
Definition: HSCPTreeBuilder.cc:129
edm::ESHandle< MagneticField >
HSCPTreeBuilder::Hscp_hasMuon
bool Hscp_hasMuon[10000]
Definition: HSCPTreeBuilder.cc:164
HSCPTreeBuilder::Muon_csc_ndof
int Muon_csc_ndof[10000]
Definition: HSCPTreeBuilder.cc:216
HSCPTreeBuilder::Calo_ecal_energies
float Calo_ecal_energies[10000][10]
Definition: HSCPTreeBuilder.cc:237
HSCPTreeBuilder::Muon_type
int Muon_type[10000]
Definition: HSCPTreeBuilder.cc:204
HSCPTreeBuilder::Track_eta
float Track_eta[10000]
Definition: HSCPTreeBuilder.cc:174
Point3DBase< float, GlobalTag >
HSCPTreeBuilder::Calo_ecal_beta
float Calo_ecal_beta[10000]
Definition: HSCPTreeBuilder.cc:225
HSCPTreeBuilder::m_HSCPsToken
EDGetTokenT< susybsm::HSCParticleCollection > m_HSCPsToken
Definition: HSCPTreeBuilder.cc:132
HSCPTreeBuilder::Calo_ecal_e1OverE9s
float Calo_ecal_e1OverE9s[10000][10]
Definition: HSCPTreeBuilder.cc:233
HSCPTreeBuilder::Vertex_z_err
float Vertex_z_err[1000]
Definition: HSCPTreeBuilder.cc:156
HSCPTreeBuilder::Event_Orbit
unsigned int Event_Orbit
Definition: HSCPTreeBuilder.cc:144
HSCPTreeBuilder::Track_dEdxE3
float Track_dEdxE3[10000]
Definition: HSCPTreeBuilder.cc:188
HSCPTreeBuilder::Hscp_hasRpc
bool Hscp_hasRpc[10000]
Definition: HSCPTreeBuilder.cc:165
HSCPTreeBuilder::Gen_py
float Gen_py[10000]
Definition: HSCPTreeBuilder.cc:250
edm::HLTPathStatus::accept
bool accept() const
has this path accepted the event?
Definition: HLTPathStatus.h:59
susybsm::HSCParticle::hasTrackRef
bool hasTrackRef() const
Definition: HSCParticle.h:50
HSCPTreeBuilder::Gen_charge
float Gen_charge[10000]
Definition: HSCPTreeBuilder.cc:247
HSCPTreeBuilder::m_recoVertexToken
EDGetTokenT< reco::VertexCollection > m_recoVertexToken
Definition: HSCPTreeBuilder.cc:130
HSCPTreeBuilder::Muon_qualityValid
bool Muon_qualityValid[10000]
Definition: HSCPTreeBuilder.cc:205
HSCPTreeBuilder::Event_triggerL1Bits
bool Event_triggerL1Bits[192]
Definition: HSCPTreeBuilder.cc:137
HSCPTreeBuilder::m_genParticlesToken
EDGetTokenT< GenParticleCollection > m_genParticlesToken
Definition: HSCPTreeBuilder.cc:131
HSCPTreeBuilder::Muon_charge
int Muon_charge[10000]
Definition: HSCPTreeBuilder.cc:206
HSCPTreeBuilder::Vertex_ndof
float Vertex_ndof[1000]
Definition: HSCPTreeBuilder.cc:159
L1GtFdlWord
Definition: L1GtFdlWord.h:29
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
iEvent
int iEvent
Definition: GenABIO.cc:224
HSCPTreeBuilder::Event_EventNumber
unsigned int Event_EventNumber
Definition: HSCPTreeBuilder.cc:140
edm::HLTGlobalStatus::at
const HLTPathStatus & at(const unsigned int i) const
Definition: HLTGlobalStatus.h:55
susybsm::HSCParticle::muonRef
reco::MuonRef muonRef() const
Definition: HSCParticle.h:66
HSCPTreeBuilder::Muon_dt_ndof
int Muon_dt_ndof[10000]
Definition: HSCPTreeBuilder.cc:211
HSCPTreeBuilder::Gen_beta
float Gen_beta[10000]
Definition: HSCPTreeBuilder.cc:255
L1GtFdlWord::gtDecisionWord
const DecisionWord & gtDecisionWord() const
get/set/print algorithms bits (decision word)
Definition: L1GtFdlWord.h:128
HSCPTreeBuilder::Muon_cb_fIBeta_err
float Muon_cb_fIBeta_err[10000]
Definition: HSCPTreeBuilder.cc:220
HSCPTreeBuilder::Track_dz
float Track_dz[10000]
Definition: HSCPTreeBuilder.cc:178
HSCPTreeBuilder::Calo_ecal_dEdx
float Calo_ecal_dEdx[10000]
Definition: HSCPTreeBuilder.cc:228
HSCPTreeBuilder::Track_dEdxD1
float Track_dEdxD1[10000]
Definition: HSCPTreeBuilder.cc:191
get
#define get
HSCPTreeBuilder::Calo_ecal_trackLengths
float Calo_ecal_trackLengths[10000][10]
Definition: HSCPTreeBuilder.cc:234
HSCPTreeBuilder::Muon_dt_fIBeta_err
float Muon_dt_fIBeta_err[10000]
Definition: HSCPTreeBuilder.cc:210
HSCPTreeBuilder::Muon_cb_IBeta_err
float Muon_cb_IBeta_err[10000]
Definition: HSCPTreeBuilder.cc:218
HSCPTreeBuilder::Muon_csc_fIBeta
float Muon_csc_fIBeta[10000]
Definition: HSCPTreeBuilder.cc:214
DecisionWord
std::vector< bool > DecisionWord
typedefs
Definition: L1GlobalTriggerReadoutSetupFwd.h:34
HSCPTreeBuilder::Gen_px
float Gen_px[10000]
Definition: HSCPTreeBuilder.cc:249
HLTEgPhaseIITestSequence_cff.recoVertex
recoVertex
Definition: HLTEgPhaseIITestSequence_cff.py:50
HSCPTreeBuilder::Rpc_beta
float Rpc_beta[10000]
Definition: HSCPTreeBuilder.cc:222
HSCPTreeBuilder::reccordGenInfo
bool reccordGenInfo
Definition: HSCPTreeBuilder.cc:134
DecisionWordExtended
std::vector< bool > DecisionWordExtended
Definition: L1GlobalTriggerReadoutSetupFwd.h:38
L1GtFdlWord::gtTechnicalTriggerWord
const TechnicalTriggerWord & gtTechnicalTriggerWord() const
get/set technical trigger bits
Definition: L1GtFdlWord.h:112
HSCPTreeBuilder::Calo_ecal_trackExitEtas
float Calo_ecal_trackExitEtas[10000][10]
Definition: HSCPTreeBuilder.cc:235
HSCPTreeBuilder::Track_dEdxE2_NOM
unsigned int Track_dEdxE2_NOM[10000]
Definition: HSCPTreeBuilder.cc:187
HSCPTreeBuilder::Track_dEdxE1_NOM
unsigned int Track_dEdxE1_NOM[10000]
Definition: HSCPTreeBuilder.cc:184
HSCPTreeBuilder::Track_ndof
unsigned int Track_ndof[10000]
Definition: HSCPTreeBuilder.cc:173
HSCPTreeBuilder::Event_Store
unsigned int Event_Store
Definition: HSCPTreeBuilder.cc:145
HSCPTreeBuilder::Track_dEdxD1_NOS
float Track_dEdxD1_NOS[10000]
Definition: HSCPTreeBuilder.cc:192
susybsm::HSCParticle::trackRef
reco::TrackRef trackRef() const
Definition: HSCParticle.h:64
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
susybsm::HSCParticle::type
int type() const
Definition: HSCParticle.cc:5
HSCPTreeBuilder::Track_pt_err
float Track_pt_err[10000]
Definition: HSCPTreeBuilder.cc:171
HSCPTreeBuilder::Calo_ecal_outOfTimeChi2s
float Calo_ecal_outOfTimeChi2s[10000][10]
Definition: HSCPTreeBuilder.cc:240
HSCPTreeBuilder::Muon_cb_IBeta
float Muon_cb_IBeta[10000]
Definition: HSCPTreeBuilder.cc:217
HSCPTreeBuilder::Track_p
float Track_p[10000]
Definition: HSCPTreeBuilder.cc:169
HSCPTreeBuilder::Track_dEdxD2_NOS
float Track_dEdxD2_NOS[10000]
Definition: HSCPTreeBuilder.cc:195
cmsRun_displayProdMFGeom_cfg.MF
MF
Definition: cmsRun_displayProdMFGeom_cfg.py:49
HSCPTreeBuilder::Event_BXCrossing
unsigned int Event_BXCrossing
Definition: HSCPTreeBuilder.cc:143
HSCPTreeBuilder::Calo_ecal_crossedE
float Calo_ecal_crossedE[10000]
Definition: HSCPTreeBuilder.cc:224
HSCPTreeBuilder::Vertex_chi2
float Vertex_chi2[1000]
Definition: HSCPTreeBuilder.cc:158
HSCPTreeBuilder::Vertex_isFake
bool Vertex_isFake[1000]
Definition: HSCPTreeBuilder.cc:160
HSCPTreeBuilder::Calo_ecal_trackExitPhis
float Calo_ecal_trackExitPhis[10000][10]
Definition: HSCPTreeBuilder.cc:236
HSCPTreeBuilder::Vertex_TrackSize
int Vertex_TrackSize[1000]
Definition: HSCPTreeBuilder.cc:157
HSCPTreeBuilder::Track_dEdxD3
float Track_dEdxD3[10000]
Definition: HSCPTreeBuilder.cc:197
HSCPTreeBuilder::Hscp_type
int Hscp_type[10000]
Definition: HSCPTreeBuilder.cc:167
HSCPTreeBuilder::Track_dEdxD3_NOM
unsigned int Track_dEdxD3_NOM[10000]
Definition: HSCPTreeBuilder.cc:199
TechnicalTriggerWord
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
Definition: L1GlobalTriggerReadoutSetupFwd.h:41
HSCPTreeBuilder::Hscp_hasTrack
bool Hscp_hasTrack[10000]
Definition: HSCPTreeBuilder.cc:163
HSCPTreeBuilder::Gen_pz
float Gen_pz[10000]
Definition: HSCPTreeBuilder.cc:251
MagneticField
Definition: MagneticField.h:19
HSCPTreeBuilder::Gen_p
float Gen_p[10000]
Definition: HSCPTreeBuilder.cc:248
HSCPTreeBuilder::Vertex_y_err
float Vertex_y_err[1000]
Definition: HSCPTreeBuilder.cc:155
HSCPTreeBuilder::Event_BField
float Event_BField
Definition: HSCPTreeBuilder.cc:148
edm::InputTag
Definition: InputTag.h:15
HSCPTreeBuilder::Track_dEdxE2_NOS
float Track_dEdxE2_NOS[10000]
Definition: HSCPTreeBuilder.cc:186
HSCPTreeBuilder::Event_LumiSection
unsigned int Event_LumiSection
Definition: HSCPTreeBuilder.cc:142
HSCPTreeBuilder::MyTree
TTree * MyTree
Definition: HSCPTreeBuilder.cc:136
HSCPTreeBuilder::Muon_dt_fIBeta
float Muon_dt_fIBeta[10000]
Definition: HSCPTreeBuilder.cc:209
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
HSCPTreeBuilder::tfs
edm::Service< TFileService > tfs
Definition: HSCPTreeBuilder.cc:126
HSCPTreeBuilder::reccordVertexInfo
bool reccordVertexInfo
Definition: HSCPTreeBuilder.cc:133