Skip to content

Commit

Permalink
remove some couts, shut up the debug couts and remove fro GIT the two…
Browse files Browse the repository at this point in the history
… root files committed mistakenly before
  • Loading branch information
nancymarinelli committed Mar 1, 2017
1 parent 3030901 commit 9686c98
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 17 deletions.
16 changes: 3 additions & 13 deletions SimCalorimetry/EcalEBTrigPrimAlgos/src/EcalFenixTcpFormat.cc
Expand Up @@ -29,28 +29,18 @@ void EcalFenixTcpFormat::process(std::vector<int> &Etin, std::vector<int> &Etout
int myEt;
int eTTotShift=2;

std::cout << " FenixTcpFormatter Etin size() " << Etin.size() << std::endl;
// std::cout << " FenixTcpFormatter Etin size() " << Etin.size() << std::endl;
for (unsigned int i=0; i<Etin.size();++i) {
// bug fix 091009:
myEt=Etin[i];
std::cout << " Et " << myEt << std::endl;
//std::cout << " Et " << myEt << std::endl;
if (myEt>0xfff)
myEt=0xfff ;

myEt >>= eTTotShift ;
std::cout << " after myEt>>= eTTotShift " << myEt << std::endl;
//std::cout << " after myEt>>= eTTotShift " << myEt << std::endl;
if (myEt>0x3ff) myEt=0x3ff ;

/*
int lut_out;
if (*badTTStatus_!=0){
lut_out = 0;
}
else
lut_out = (lut_)[myEt] ;
*/

// int ttFlag = (lut_out & 0x700) >> 8 ;

//myEt = lut_out & 0xff ;
// the lut is foreseen for 8 bits. Useless to use it here
Expand Down
Binary file not shown.
1 change: 0 additions & 1 deletion SimCalorimetry/EcalEBTrigPrimProducers/test/checkTP_cfg.py
Expand Up @@ -25,7 +25,6 @@
barrelEcalDigis = cms.InputTag("simEcalDigis","ebDigis"),
AnalyzeRecHits = cms.bool(True),
Debug = cms.bool(False),
# inputTP = cms.InputTag("EcalEBTrigPrimProducer")
inputTP = cms.InputTag("simEcalEBTriggerPrimitiveDigis")

)
Expand Down
Binary file not shown.
Expand Up @@ -124,23 +124,22 @@


process.simEcalEBTriggerPrimitiveDigis = cms.EDProducer("EcalEBTrigPrimProducer",
#process.EcalEBTrigPrimProducer = cms.EDProducer("EcalEBTrigPrimProducer",
BarrelOnly = cms.bool(True),
# barrelEcalDigis = cms.InputTag("simEcalUnsuppressedDigis","","HLT"),
# barrelEcalDigis = cms.InputTag("simEcalUnsuppressedDigis","ebDigis"),
barrelEcalDigis = cms.InputTag("simEcalDigis","ebDigis"),
# barrelEcalDigis = cms.InputTag("selectDigi","selectedEcalEBDigiCollection"),
binOfMaximum = cms.int32(6), ## optional from release 200 on, from 1-10
TcpOutput = cms.bool(False),
Debug = cms.bool(True),
Debug = cms.bool(False),
Famos = cms.bool(False),
nOfSamples = cms.int32(1)
)




#process.pNancy = cms.Path( process.EcalEBTrigPrimProducer )

process.pNancy = cms.Path( process.simEcalEBTriggerPrimitiveDigis )


Expand Down

0 comments on commit 9686c98

Please sign in to comment.