CMS 3D CMS Logo

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

#include <CastorTTRecord.h>

Inheritance diagram for CastorTTRecord:
edm::one::EDProducer<> edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 CastorTTRecord (const edm::ParameterSet &ps)
 
void getEnergy_fC (double energy[16][14], edm::Handle< CastorDigiCollection > &CastorDigiColl, edm::Event &e, const edm::EventSetup &c)
 
void getTriggerDecisions (std::vector< bool > &decision, double energy[16][14]) const
 
void getTriggerDecisionsPerOctant (std::vector< bool > tdps[16], double energy[16][14]) const
 
void produce (edm::Event &e, const edm::EventSetup &c) override
 
 ~CastorTTRecord () override
 
- Public Member Functions inherited from edm::one::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () 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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

edm::EDGetTokenT< CastorDigiCollectionCastorDigiColl_
 
unsigned int CastorSignalTS_
 
edm::ESGetToken< CastorDbService, CastorDbRecordconditionsToken_
 
double reweighted_gain
 
std::vector< std::string > TrigNames_
 
std::vector< double > TrigThresholds_
 
std::vector< unsigned int > ttpBits_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase 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::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- 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

Definition at line 14 of file CastorTTRecord.h.

Constructor & Destructor Documentation

◆ CastorTTRecord()

CastorTTRecord::CastorTTRecord ( const edm::ParameterSet ps)
explicit

Definition at line 12 of file CastorTTRecord.cc.

12  {
13  CastorDigiColl_ = consumes<CastorDigiCollection>(ps.getParameter<edm::InputTag>("CastorDigiCollection"));
14  CastorSignalTS_ = ps.getParameter<unsigned int>("CastorSignalTS");
15 
16  ttpBits_ = ps.getParameter<std::vector<unsigned int>>("ttpBits");
17  TrigNames_ = ps.getParameter<std::vector<std::string>>("TriggerBitNames");
18  TrigThresholds_ = ps.getParameter<std::vector<double>>("TriggerThresholds");
19  conditionsToken_ = esConsumes<CastorDbService, CastorDbRecord>();
20  reweighted_gain = 1.0;
21 
22  produces<L1GtTechnicalTriggerRecord>();
23 }

References CastorDigiColl_, CastorSignalTS_, conditionsToken_, edm::ParameterSet::getParameter(), reweighted_gain, TrigNames_, TrigThresholds_, and ttpBits_.

◆ ~CastorTTRecord()

CastorTTRecord::~CastorTTRecord ( )
override

Definition at line 25 of file CastorTTRecord.cc.

25 {}

Member Function Documentation

◆ getEnergy_fC()

void CastorTTRecord::getEnergy_fC ( double  energy[16][14],
edm::Handle< CastorDigiCollection > &  CastorDigiColl,
edm::Event e,
const edm::EventSetup c 
)

Definition at line 62 of file CastorTTRecord.cc.

65  {
66  // std::cerr << "**** RUNNING THROUGH CastorTTRecord::getEnergy_fC" <<
67  // std::endl;
68 
69  // Get Conditions
71  const CastorQIEShape *shape = conditions->getCastorShape(); // this one is generic
72 
73  for (int isec = 0; isec < 16; isec++)
74  for (int imod = 0; imod < 14; imod++)
75  energy[isec][imod] = 0;
76 
77  // Loop over digis
79  for (idigi = CastorDigiColl->begin(); idigi != CastorDigiColl->end(); idigi++) {
80  const CastorDataFrame &digi = (*idigi);
81  HcalCastorDetId cell = digi.id();
82 
83  // Get Castor Coder
84  const CastorQIECoder *channelCoder = conditions->getCastorCoder(cell);
85  CastorCoderDb coder(*channelCoder, *shape);
86 
87  // Get Castor Calibration
88  const CastorCalibrations &calibrations = conditions->getCastorCalibrations(cell);
89 
90  // convert adc to fC
91  CaloSamples tool;
92  coder.adc2fC(digi, tool);
93 
94  // pedestal substraction
95  int capid = digi[CastorSignalTS_].capid();
96  double fC = tool[CastorSignalTS_] - calibrations.pedestal(capid);
97 
98  // to correct threshold levels in fC for different gains
99  reweighted_gain = calibrations.gain(capid) / 0.015;
100 
101  energy[digi.id().sector() - 1][digi.id().module() - 1] = fC;
102  }
103 }

References CastorCoderDb::adc2fC(), edm::SortedCollection< T, SORT >::begin(), AlignmentProducer_cff::calibrations, CastorSignalTS_, submitPVValidationJobs::conditions, conditionsToken_, edm::SortedCollection< T, SORT >::end(), HCALHighEnergyHPDFilter_cfi::energy, edm::EventSetup::getHandle(), CastorDataFrame::id(), HcalCastorDetId::module(), reweighted_gain, and HcalCastorDetId::sector().

Referenced by produce().

◆ getTriggerDecisions()

void CastorTTRecord::getTriggerDecisions ( std::vector< bool > &  decision,
double  energy[16][14] 
) const

Definition at line 105 of file CastorTTRecord.cc.

105  {
106  // std::cerr << "**** RUNNING THROUGH CastorTTRecord::getTriggerDecisions" <<
107  // std::endl;
108 
109  // check if number of bits is at least four
110  if (decision.size() < 4)
111  return;
112 
113  std::vector<bool> tdpo[8]; // TriggerDecisionsPerOctant
115 
116  // preset trigger decisions
117  decision.at(0) = true;
118  decision.at(1) = false;
119  decision.at(2) = false;
120  decision.at(3) = false;
121 
122  // canceld for low pt jet
123  // bool EM_decision = false;
124  // bool HAD_decision = false;
125  // loop over castor octants
126  for (int ioct = 0; ioct < 8; ioct++) {
127  int next_oct = (ioct + 1) % 8;
128  int prev_oct = (ioct + 8 - 1) % 8;
129 
130  // gap Trigger
131  if (!tdpo[ioct].at(0))
132  decision.at(0) = false;
133  if (!tdpo[ioct].at(1))
134  decision.at(0) = false;
135 
136  // jet Trigger
137  if (tdpo[ioct].at(2))
138  decision.at(1) = true;
139 
140  // electron
141  // canceld for low pt jet
142  // if( tdpo[ioct].at(3) ) EM_decision = true;
143  // if( tdpo[ioct].at(4) ) HAD_decision = true;
144 
145  // iso muon
146  if (tdpo[ioct].at(5)) {
147  // was one of the other sectors
148  // in the octant empty ?
149  if (tdpo[ioct].at(0)) {
150  if (tdpo[prev_oct].at(1) && tdpo[next_oct].at(0) && tdpo[next_oct].at(1))
151  decision.at(3) = true;
152  } else if (tdpo[ioct].at(1)) {
153  if (tdpo[prev_oct].at(0) && tdpo[prev_oct].at(1) && tdpo[next_oct].at(0))
154  decision.at(3) = true;
155  }
156  // when not no iso muon
157  }
158 
159  // low pt jet Trigger
160  if (tdpo[ioct].at(6))
161  decision.at(2) = true;
162  }
163 
164  // for EM Trigger whole castor not hadronic and somewhere EM
165  // canceld for low pt jet
166  // decision.at(2) = EM_decision && !HAD_decision;
167 }

References HCALHighEnergyHPDFilter_cfi::energy, and getTriggerDecisionsPerOctant().

Referenced by produce().

◆ getTriggerDecisionsPerOctant()

void CastorTTRecord::getTriggerDecisionsPerOctant ( std::vector< bool >  tdps[16],
double  energy[16][14] 
) const

Definition at line 169 of file CastorTTRecord.cc.

169  {
170  // std::cerr << "**** RUNNING THROUGH
171  // CastorTTRecord::getTriggerDecisionsPerOctant" << std::endl;
172 
173  // loop over octatants
174  for (int ioct = 0; ioct < 8; ioct++) {
175  // six bits from HTR card
176  // 0. first sector empty
177  // 1. second sector empty
178  // 2. jet any sector
179  // 3. EM any sector
180  // 4. HAD any sector
181  // 5. muon any sector
182  // add instead of EM Trigger (not bit 6 in real)
183  // 6. low pt jet any sector
184  tdpo[ioct].resize(7);
185 
186  for (int ibit = 0; ibit < 7; ibit++)
187  tdpo[ioct].at(ibit) = false;
188 
189  // loop over castor sectors in octant
190  for (int ioctsec = 0; ioctsec < 2; ioctsec++) {
191  // absolute sector number
192  int isec = 2 * ioct + ioctsec;
193 
194  // init module sums for every sector
195  double fCsum_mod = 0;
196  double fCsum_em = 0, fCsum_ha = 0;
197  double fCsum_jet_had = 0;
198  double fCsum_col[3] = {0, 0, 0};
199 
200  // loop over modules
201  for (int imod = 0; imod < 14; imod++) {
202  // total sum
203  fCsum_mod += energy[isec][imod];
204 
205  // EM & HAD sum
206  if (imod < 2)
207  fCsum_em += energy[isec][imod];
208  if (imod > 2 && imod < 12)
209  fCsum_ha += energy[isec][imod];
210 
211  // sum over three sector parts
212  if (imod < 4)
213  fCsum_col[0] += energy[isec][imod];
214  else if (imod < 8)
215  fCsum_col[1] += energy[isec][imod];
216  else if (imod < 12)
217  fCsum_col[2] += energy[isec][imod];
218 
219  // HAD sum for jet trigger v2
220  if (imod > 1 && imod < 5)
221  fCsum_jet_had += energy[isec][imod];
222  }
223 
224  // gap Trigger
225  if (fCsum_mod < TrigThresholds_.at(0)) {
226  if (ioctsec == 0)
227  tdpo[ioct].at(0) = true;
228  else if (ioctsec == 1)
229  tdpo[ioct].at(1) = true;
230  }
231 
232  // jet Trigger
233  // with gain correction
234  /* old version of jet trigger ( deprecated because of saturation )
235  if( fCsum_mod > TrigThresholds_.at(1) / reweighted_gain )
236  tdpo[ioct].at(2) = true;
237  */
238  if (fCsum_jet_had > TrigThresholds_.at(1) / reweighted_gain)
239  // additional high threshold near saturation for EM part
240  if (energy[isec][0] > 26000 / reweighted_gain && energy[isec][1] > 26000 / reweighted_gain)
241  tdpo[ioct].at(2) = true;
242 
243  // low pt jet Trigger
244  if (fCsum_mod > TrigThresholds_.at(5) / reweighted_gain)
245  tdpo[ioct].at(6) = true;
246 
247  // egamma Trigger
248  // with gain correction only in the EM threshold
249  if (fCsum_em > TrigThresholds_.at(2) / reweighted_gain)
250  tdpo[ioct].at(3) = true;
251  if (fCsum_ha > TrigThresholds_.at(3))
252  tdpo[ioct].at(4) = true;
253 
254  // muon Trigger
255  int countColumns = 0;
256  for (int icol = 0; icol < 3; icol++)
257  if (fCsum_col[icol] > TrigThresholds_.at(4))
258  countColumns++;
259  if (countColumns >= 2)
260  tdpo[ioct].at(5) = true;
261  }
262  }
263 }

References HCALHighEnergyHPDFilter_cfi::energy, reweighted_gain, and TrigThresholds_.

Referenced by getTriggerDecisions().

◆ produce()

void CastorTTRecord::produce ( edm::Event e,
const edm::EventSetup c 
)
overridevirtual

Implements edm::one::EDProducerBase.

Definition at line 27 of file CastorTTRecord.cc.

27  {
28  // std::cerr << "**** RUNNING THROUGH CastorTTRecord::produce" << std::endl;
29 
30  std::vector<L1GtTechnicalTrigger> vecTT(ttpBits_.size());
31 
32  // Get Inputs
33  edm::Handle<CastorDigiCollection> CastorDigiColl;
34  e.getByToken(CastorDigiColl_, CastorDigiColl);
35 
36  if (!CastorDigiColl.failedToGet()) {
37  double cas_efC[16][14];
38  getEnergy_fC(cas_efC, CastorDigiColl, e, eventSetup);
39 
40  std::vector<bool> decision(ttpBits_.size());
41 
42  getTriggerDecisions(decision, cas_efC);
43 
44  for (unsigned int i = 0; i < ttpBits_.size(); i++) {
45  // if( decision.at(i) ) std::cerr << "**** Something Triggered" <<
46  // std::endl; std::cout << "Run CastorTTRecord::produce. TriggerBit = " <<
47  // ttpBits_.at(i) << "; TriggerName = " << TrigNames_.at(i) << "; Decision
48  // = " << decision[i] << std::endl;
49  vecTT.at(i) = L1GtTechnicalTrigger(TrigNames_.at(i), ttpBits_.at(i), 0, decision.at(i));
50  }
51 
52  } else {
53  vecTT.clear();
54  }
55 
56  // Put output into event
57  std::unique_ptr<L1GtTechnicalTriggerRecord> output(new L1GtTechnicalTriggerRecord());
58  output->setGtTechnicalTrigger(vecTT);
59  e.put(std::move(output));
60 }

References CastorDigiColl_, MillePedeFileConverter_cfg::e, getEnergy_fC(), getTriggerDecisions(), mps_fire::i, eostools::move(), convertSQLitetoXML_cfg::output, TrigNames_, and ttpBits_.

Member Data Documentation

◆ CastorDigiColl_

edm::EDGetTokenT<CastorDigiCollection> CastorTTRecord::CastorDigiColl_
private

Definition at line 36 of file CastorTTRecord.h.

Referenced by CastorTTRecord(), and produce().

◆ CastorSignalTS_

unsigned int CastorTTRecord::CastorSignalTS_
private

Definition at line 37 of file CastorTTRecord.h.

Referenced by CastorTTRecord(), and getEnergy_fC().

◆ conditionsToken_

edm::ESGetToken<CastorDbService, CastorDbRecord> CastorTTRecord::conditionsToken_
private

Definition at line 42 of file CastorTTRecord.h.

Referenced by CastorTTRecord(), and getEnergy_fC().

◆ reweighted_gain

double CastorTTRecord::reweighted_gain
private

Definition at line 44 of file CastorTTRecord.h.

Referenced by CastorTTRecord(), getEnergy_fC(), and getTriggerDecisionsPerOctant().

◆ TrigNames_

std::vector<std::string> CastorTTRecord::TrigNames_
private

Definition at line 40 of file CastorTTRecord.h.

Referenced by CastorTTRecord(), and produce().

◆ TrigThresholds_

std::vector<double> CastorTTRecord::TrigThresholds_
private

Definition at line 41 of file CastorTTRecord.h.

Referenced by CastorTTRecord(), and getTriggerDecisionsPerOctant().

◆ ttpBits_

std::vector<unsigned int> CastorTTRecord::ttpBits_
private

Definition at line 39 of file CastorTTRecord.h.

Referenced by CastorTTRecord(), and produce().

mps_fire.i
i
Definition: mps_fire.py:428
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
L1GtTechnicalTrigger
Definition: L1GtTechnicalTrigger.h:33
AlignmentProducer_cff.calibrations
calibrations
Definition: AlignmentProducer_cff.py:59
CastorTTRecord::TrigNames_
std::vector< std::string > TrigNames_
Definition: CastorTTRecord.h:40
CastorDataFrame::id
const HcalCastorDetId & id() const
Definition: CastorDataFrame.h:22
CastorCoderDb
Definition: CastorCoderDb.h:16
edm::Handle
Definition: AssociativeIterator.h:50
CastorTTRecord::getEnergy_fC
void getEnergy_fC(double energy[16][14], edm::Handle< CastorDigiCollection > &CastorDigiColl, edm::Event &e, const edm::EventSetup &c)
Definition: CastorTTRecord.cc:62
CastorCalibrations
Definition: CastorCalibrations.h:9
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
CastorTTRecord::ttpBits_
std::vector< unsigned int > ttpBits_
Definition: CastorTTRecord.h:39
edm::ESHandle
Definition: DTSurvey.h:22
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
HcalCastorDetId
Definition: HcalCastorDetId.h:23
CastorTTRecord::reweighted_gain
double reweighted_gain
Definition: CastorTTRecord.h:44
CastorTTRecord::TrigThresholds_
std::vector< double > TrigThresholds_
Definition: CastorTTRecord.h:41
CastorDataFrame
Definition: CastorDataFrame.h:15
CastorTTRecord::getTriggerDecisions
void getTriggerDecisions(std::vector< bool > &decision, double energy[16][14]) const
Definition: CastorTTRecord.cc:105
HcalCastorDetId::module
int module() const
get the module (1-2 for EM, 1-12 for HAD)
Definition: HcalCastorDetId.h:58
CastorTTRecord::CastorSignalTS_
unsigned int CastorSignalTS_
Definition: CastorTTRecord.h:37
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
HcalCastorDetId::sector
int sector() const
get the sector (1-16)
Definition: HcalCastorDetId.h:62
CastorTTRecord::conditionsToken_
edm::ESGetToken< CastorDbService, CastorDbRecord > conditionsToken_
Definition: CastorTTRecord.h:42
CaloSamples
Definition: CaloSamples.h:14
CastorTTRecord::getTriggerDecisionsPerOctant
void getTriggerDecisionsPerOctant(std::vector< bool > tdps[16], double energy[16][14]) const
Definition: CastorTTRecord.cc:169
submitPVValidationJobs.conditions
list conditions
Definition: submitPVValidationJobs.py:674
eostools.move
def move(src, dest)
Definition: eostools.py:511
L1GtTechnicalTriggerRecord
Definition: L1GtTechnicalTriggerRecord.h:28
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
CastorQIECoder
Definition: CastorQIECoder.h:21
edm::InputTag
Definition: InputTag.h:15
CastorTTRecord::CastorDigiColl_
edm::EDGetTokenT< CastorDigiCollection > CastorDigiColl_
Definition: CastorTTRecord.h:36
CastorQIEShape
Definition: CastorQIEShape.h:14
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37