CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
EcalRawToRecHitRoI::CandJobPSet Class Reference

class to drive the job on Candidate-inheriting object More...

Inheritance diagram for EcalRawToRecHitRoI::CandJobPSet:
EcalRawToRecHitRoI::CalUnpackJobPSet

Public Types

enum  CTYPE {
  view, candidate, chargedcandidate, l1muon,
  l1jet
}
 

Public Member Functions

 CandJobPSet (edm::ParameterSet &cfg)
 
 ~CandJobPSet ()
 
- Public Member Functions inherited from EcalRawToRecHitRoI::CalUnpackJobPSet
 CalUnpackJobPSet ()
 
 CalUnpackJobPSet (edm::ParameterSet &cfg)
 

Public Attributes

bool bePrecise
 
CTYPE cType
 
double epsilon
 
std::string propagatorNameToBePrecise
 
- Public Attributes inherited from EcalRawToRecHitRoI::CalUnpackJobPSet
double Ptmin
 
double regionEtaMargin
 
double regionPhiMargin
 
edm::InputTag Source
 

Detailed Description

class to drive the job on Candidate-inheriting object

Definition at line 132 of file EcalRawToRecHitRoI.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

EcalRawToRecHitRoI::CandJobPSet::CandJobPSet ( edm::ParameterSet cfg)

Definition at line 41 of file EcalRawToRecHitRoI.cc.

References bePrecise, candidate, chargedcandidate, cType, epsilon, edm::ParameterSet::getParameter(), l1jet, l1muon, propagatorNameToBePrecise, AlCaHLTBitMon_QueryRunRegistry::string, and view.

41  : CalUnpackJobPSet(cfg) {
42  epsilon = cfg.getParameter<double>("epsilon");
43  bePrecise = cfg.getParameter<bool>("bePrecise");
44  if (bePrecise){ propagatorNameToBePrecise = cfg.getParameter<std::string>("propagatorNameToBePrecise");}
46  std::string type = cfg.getParameter<std::string>("cType");
47  if (type == "view"){cType=view;}
48  else if (type == "candidate"){cType=candidate;}
49  else if (type == "chargedcandidate"){cType=chargedcandidate;}
50  else if (type == "l1muon"){cType=l1muon;}
51  else if (type == "l1jet"){cType=l1jet;}
52  else {
53  edm::LogWarning("IncorrectConfiguration")<<"\n\n could not interpret the cType: "<<type
54  <<"\n using edm::View< reco::Candidate > by default. expect your trigger path to be slow !\n\n";
55  cType=view;}
56 }
type
Definition: HCALResponse.h:21
T getParameter(std::string const &) const
EcalRawToRecHitRoI::CandJobPSet::~CandJobPSet ( )
inline

Definition at line 136 of file EcalRawToRecHitRoI.h.

136 {}

Member Data Documentation

bool EcalRawToRecHitRoI::CandJobPSet::bePrecise

Definition at line 138 of file EcalRawToRecHitRoI.h.

Referenced by CandJobPSet(), and EcalRawToRecHitRoI::OneCandCollection().

CTYPE EcalRawToRecHitRoI::CandJobPSet::cType

Definition at line 140 of file EcalRawToRecHitRoI.h.

Referenced by CandJobPSet(), and EcalRawToRecHitRoI::OneCandCollection().

double EcalRawToRecHitRoI::CandJobPSet::epsilon
std::string EcalRawToRecHitRoI::CandJobPSet::propagatorNameToBePrecise

Definition at line 139 of file EcalRawToRecHitRoI.h.

Referenced by CandJobPSet(), and EcalRawToRecHitRoI::OneCandCollection().