Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimGeneral
TrackingAnalysis
interface
PSimHitSelector.h
Go to the documentation of this file.
1
#ifndef TrackingAnalysis_PSimHitSelector_h
2
#define TrackingAnalysis_PSimHitSelector_h
3
4
#include <map>
5
#include <string>
6
#include <vector>
7
8
#include "
FWCore/Framework/interface/Event.h
"
9
#include "
FWCore/Framework/interface/EventSetup.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
12
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
13
15
class
PSimHitSelector
16
{
17
18
public
:
19
20
typedef
std::vector<PSimHit>
PSimHitCollection
;
21
23
/* Creates a MuonPSimHitSelector with association given by pset.
24
25
/param[in] pset with the configuration values
26
*/
27
PSimHitSelector
(
edm::ParameterSet
const
&);
28
std::string
mixLabel_
;
29
31
virtual
~PSimHitSelector
() {}
32
34
virtual
void
select
(
PSimHitCollection
&,
edm::Event
const
&,
edm::EventSetup
const
&)
const
;
35
36
protected
:
37
38
typedef
std::map<std::string, std::vector<std::string> >
PSimHitCollectionMap
;
39
40
PSimHitCollectionMap
pSimHitCollectionMap_
;
41
};
42
43
#endif
PSimHitSelector::PSimHitSelector
PSimHitSelector(edm::ParameterSet const &)
Constructor by pset.
Definition:
PSimHitSelector.cc:7
Event.h
EventSetup.h
PSimHitSelector::mixLabel_
std::string mixLabel_
Definition:
PSimHitSelector.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
PSimHitSelector::PSimHitCollectionMap
std::map< std::string, std::vector< std::string > > PSimHitCollectionMap
Definition:
PSimHitSelector.h:38
PSimHitSelector
PSimHitSelector class.
Definition:
PSimHitSelector.h:15
edm::EventSetup
Definition:
EventSetup.h:45
PSimHitSelector::PSimHitCollection
std::vector< PSimHit > PSimHitCollection
Definition:
PSimHitSelector.h:20
PSimHit.h
PSimHitSelector::pSimHitCollectionMap_
PSimHitCollectionMap pSimHitCollectionMap_
Definition:
PSimHitSelector.h:40
PSimHitSelector::~PSimHitSelector
virtual ~PSimHitSelector()
Virtual destructor.
Definition:
PSimHitSelector.h:31
edm::ParameterSet
Definition:
ParameterSet.h:36
PSimHitSelector::select
virtual void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const
Select the psimhit add them to a PSimHitCollection.
Definition:
PSimHitSelector.cc:28
edm::Event
Definition:
Event.h:64
Generated for CMSSW Reference Manual by
1.8.5