CmsHI / HiForestSetup

Deprecated
0 stars 1 forks source link

Problem with cfg files in 44X #1

Open jiansunpurdue opened 10 years ago

jiansunpurdue commented 10 years ago

Dear HiForest experts,

I followed the instructions in setup_hiForest2_44x_git.sh and tried to run the code in CMSSW_4_4_4. But the cfg files didn't work.

First, I tried runForest_44X_allTracks.py. The error is followed:

----- Begin Fatal Exception 17-Dec-2013 21:08:30 CET----------------------- An exception of category 'ConfigFileReadError' occurred while [0] Processing the python configuration file named runForest_44X_allTracks.py Exception Message: python encountered the error: <type 'exceptions.RuntimeError'> An entry in sequence hiRecoAllJets has no label ----- End Fatal Exception -------------------------------------------------

Then, I tried runForest_44X.py. There was error again as followed:

Begin processing the 1st record. Run 181969, Event 34206081, LumiSection 842 at 17-Dec-2013 21:10:28.653 CET ----- Begin Fatal Exception 17-Dec-2013 21:10:28 CET----------------------- An exception of category 'ProductNotFound' occurred while [0] Processing run: 181969 lumi: 842 event: 34206081 [1] Running path 'reco_extra' [2] Calling event method for module TrackSelector/'hiTracks' Exception Message: Principal::getByLabel: Found zero products matching all criteria Looking for type: std::vectorreco::Track Looking for module label: hiGeneralCaloMatchedTracks Looking for productInstanceName:

Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception ------------------------------------------------- 17-Dec-2013 21:10:28 CET Closed file file:/afs/cern.ch/work/j/jisun/public/2011reco_highpt.root

TrigReport ---------- Event Summary ------------ TrigReport Events total = 1 passed = 0 failed = 1

I wondered if there is updated setup or cfg files, or if there was something wrong with what I did.

Thanks.

Jian

harmonicoscillator commented 10 years ago

Jian,

What kind of input file are you attempting to forest? The configurations are very sensitive to the process names used during reconstruction, so if you can show us the configuration used for reco that will help.

runForest_44X_allTracks.py is generally only used if you are comparing different tracking methods. You should use runForest_44X.py for data and runForest_MC_44X.py for MC. What kind of forest are you expecting at the end?

Alex

On Tue, Dec 17, 2013 at 3:15 PM, jiansunpurdue notifications@github.comwrote:

Dear HiForest experts,

I followed the instructions in setup_hiForest2_44x_git.sh and tried to run the code in CMSSW_4_4_4. But the cfg files didn't work.

First, I tried runForest_44X_allTracks.py. The error is followed:

----- Begin Fatal Exception 17-Dec-2013 21:08:30 CET----------------------- An exception of category 'ConfigFileReadError' occurred while [0] Processing the python configuration file named runForest_44X_allTracks.py Exception Message: python encountered the error: An entry in sequence hiRecoAllJets has no label ----- End Fatal Exception -------------------------------------------------

Then, I tried runForest_44X.py. There was error again as followed:

Begin processing the 1st record. Run 181969, Event 34206081, LumiSection 842 at 17-Dec-2013 21:10:28.653 CET ----- Begin Fatal Exception 17-Dec-2013 21:10:28 CET----------------------- An exception of category 'ProductNotFound' occurred while [0] Processing run: 181969 lumi: 842 event: 34206081 [1] Running path 'reco_extra' [2] Calling event method for module TrackSelector/'hiTracks' Exception Message: Principal::getByLabel: Found zero products matching all criteria Looking for type: std::vectorreco::Track Looking for module label: hiGeneralCaloMatchedTracks Looking for productInstanceName:

Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception ------------------------------------------------- 17-Dec-2013 21:10:28 CET Closed file file:/afs/ cern.ch/work/j/jisun/public/2011reco_highpt.root

TrigReport ---------- Event Summary ------------ TrigReport Events total = 1 passed = 0 failed = 1

I wondered if there is updated setup or cfg files, or if there was something wrong with what I did.

Thanks.

Jian

— Reply to this email directly or view it on GitHubhttps://github.com/CmsHI/HiForestSetup/issues/1 .

jiansunpurdue commented 10 years ago

Hi Alex,

I am trying to use this dataset: /HIHighPt/HIRun2011-PromptReco-v1/RECO With the hiforest production cfg files, I want to reproduce a reduced hiforest, just keeping two or three trees.

For 2011 data hiforest, we just have hiforest with specific trigger path, right? So I want to produce kind of reduced hiforest probably just keeping hiEvtAnalyzer and hltanalysis but with all events. Do you think if this is practicable?

So now I want to have a cfg file that I can reproduce the 2011 data hiforest. Then based on it, I remove the paths I don't need and get the reduced cfg file.

Thanks.

Jian

----- Original Message ----- From: "R. Alex Barbieri" notifications@github.com To: "CmsHI/HiForestSetup" HiForestSetup@noreply.github.com Cc: "jiansunpurdue" sun229@purdue.edu Sent: Tuesday, December 17, 2013 3:46:11 PM Subject: Re: [HiForestSetup] Problem with cfg files in 44X (#1)

Jian,

What kind of input file are you attempting to forest? The configurations are very sensitive to the process names used during reconstruction, so if you can show us the configuration used for reco that will help.

runForest_44X_allTracks.py is generally only used if you are comparing different tracking methods. You should use runForest_44X.py for data and runForest_MC_44X.py for MC. What kind of forest are you expecting at the end?

Alex

On Tue, Dec 17, 2013 at 3:15 PM, jiansunpurdue notifications@github.comwrote:

Dear HiForest experts,

I followed the instructions in setup_hiForest2_44x_git.sh and tried to run the code in CMSSW_4_4_4. But the cfg files didn't work.

First, I tried runForest_44X_allTracks.py. The error is followed:

----- Begin Fatal Exception 17-Dec-2013 21:08:30 CET----------------------- An exception of category 'ConfigFileReadError' occurred while [0] Processing the python configuration file named runForest_44X_allTracks.py Exception Message: python encountered the error: An entry in sequence hiRecoAllJets has no label ----- End Fatal Exception -------------------------------------------------

Then, I tried runForest_44X.py. There was error again as followed:

Begin processing the 1st record. Run 181969, Event 34206081, LumiSection 842 at 17-Dec-2013 21:10:28.653 CET ----- Begin Fatal Exception 17-Dec-2013 21:10:28 CET----------------------- An exception of category 'ProductNotFound' occurred while [0] Processing run: 181969 lumi: 842 event: 34206081 [1] Running path 'reco_extra' [2] Calling event method for module TrackSelector/'hiTracks' Exception Message: Principal::getByLabel: Found zero products matching all criteria Looking for type: std::vectorreco::Track Looking for module label: hiGeneralCaloMatchedTracks Looking for productInstanceName:

Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception ------------------------------------------------- 17-Dec-2013 21:10:28 CET Closed file file:/afs/ cern.ch/work/j/jisun/public/2011reco_highpt.root

TrigReport ---------- Event Summary ------------ TrigReport Events total = 1 passed = 0 failed = 1

I wondered if there is updated setup or cfg files, or if there was something wrong with what I did.

Thanks.

Jian

— Reply to this email directly or view it on GitHubhttps://github.com/CmsHI/HiForestSetup/issues/1 .

— Reply to this email directly or view it on GitHub .

harmonicoscillator commented 10 years ago

Jian,

The error you received is for a missing track collection which is from iterative tracking; this is not present in that dataset. Since you are not in interested in tracking you should try commenting out tracking to get it working. The rest of the configuration should work for that dataset. Your idea for a reduced hiforest should work fine, but may be more complicated than you expect.

runForest_44X.py should be your starting point.

Alex On Dec 17, 2013 4:34 PM, "jiansunpurdue" notifications@github.com wrote:

Hi Alex,

I am trying to use this dataset: /HIHighPt/HIRun2011-PromptReco-v1/RECO With the hiforest production cfg files, I want to reproduce a reduced hiforest, just keeping two or three trees.

For 2011 data hiforest, we just have hiforest with specific trigger path, right? So I want to produce kind of reduced hiforest probably just keeping hiEvtAnalyzer and hltanalysis but with all events. Do you think if this is practicable?

So now I want to have a cfg file that I can reproduce the 2011 data hiforest. Then based on it, I remove the paths I don't need and get the reduced cfg file.

Thanks.

Jian

----- Original Message ----- From: "R. Alex Barbieri" notifications@github.com To: "CmsHI/HiForestSetup" HiForestSetup@noreply.github.com Cc: "jiansunpurdue" sun229@purdue.edu Sent: Tuesday, December 17, 2013 3:46:11 PM Subject: Re: [HiForestSetup] Problem with cfg files in 44X (#1)

Jian,

What kind of input file are you attempting to forest? The configurations are very sensitive to the process names used during reconstruction, so if you can show us the configuration used for reco that will help.

runForest_44X_allTracks.py is generally only used if you are comparing different tracking methods. You should use runForest_44X.py for data and runForest_MC_44X.py for MC. What kind of forest are you expecting at the end?

Alex

On Tue, Dec 17, 2013 at 3:15 PM, jiansunpurdue notifications@github.comwrote:

Dear HiForest experts,

I followed the instructions in setup_hiForest2_44x_git.sh and tried to run the code in CMSSW_4_4_4. But the cfg files didn't work.

First, I tried runForest_44X_allTracks.py. The error is followed:

----- Begin Fatal Exception 17-Dec-2013 21:08:30 CET----------------------- An exception of category 'ConfigFileReadError' occurred while [0] Processing the python configuration file named runForest_44X_allTracks.py Exception Message: python encountered the error: An entry in sequence hiRecoAllJets has no label

----- End Fatal Exception

Then, I tried runForest_44X.py. There was error again as followed:

Begin processing the 1st record. Run 181969, Event 34206081, LumiSection 842 at 17-Dec-2013 21:10:28.653 CET ----- Begin Fatal Exception 17-Dec-2013 21:10:28 CET----------------------- An exception of category 'ProductNotFound' occurred while [0] Processing run: 181969 lumi: 842 event: 34206081 [1] Running path 'reco_extra' [2] Calling event method for module TrackSelector/'hiTracks' Exception Message: Principal::getByLabel: Found zero products matching all criteria Looking for type: std::vectorreco::Track Looking for module label: hiGeneralCaloMatchedTracks Looking for productInstanceName:

Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception

17-Dec-2013 21:10:28 CET Closed file file:/afs/ cern.ch/work/j/jisun/public/2011reco_highpt.root

TrigReport ---------- Event Summary ------------ TrigReport Events total = 1 passed = 0 failed = 1

I wondered if there is updated setup or cfg files, or if there was something wrong with what I did.

Thanks.

Jian

— Reply to this email directly or view it on GitHub< https://github.com/CmsHI/HiForestSetup/issues/1> .

— Reply to this email directly or view it on GitHub .

— Reply to this email directly or view it on GitHubhttps://github.com/CmsHI/HiForestSetup/issues/1#issuecomment-30793462 .

jiansunpurdue commented 10 years ago

Hi Alex,

Thanks for the information.

Then I will start from runForest_44X.py.

Jian

yetkinyilmaz commented 10 years ago

Hi Jian; are you sure this is the most efficient approach? Do you really need to re-process the sample? If the available files contain all the information you need, it should be straightforward to reduce it to smaller files. Can you clarify a bit better? Maybe you can try to describe your goal briefly in tomorrow's high-pt meeting?

On Dec 17, 2013, at 10:34 PM, jiansunpurdue notifications@github.com wrote:

Hi Alex,

I am trying to use this dataset: /HIHighPt/HIRun2011-PromptReco-v1/RECO With the hiforest production cfg files, I want to reproduce a reduced hiforest, just keeping two or three trees.

For 2011 data hiforest, we just have hiforest with specific trigger path, right? So I want to produce kind of reduced hiforest probably just keeping hiEvtAnalyzer and hltanalysis but with all events. Do you think if this is practicable?

So now I want to have a cfg file that I can reproduce the 2011 data hiforest. Then based on it, I remove the paths I don't need and get the reduced cfg file.

Thanks.

Jian

----- Original Message ----- From: "R. Alex Barbieri" notifications@github.com To: "CmsHI/HiForestSetup" HiForestSetup@noreply.github.com Cc: "jiansunpurdue" sun229@purdue.edu Sent: Tuesday, December 17, 2013 3:46:11 PM Subject: Re: [HiForestSetup] Problem with cfg files in 44X (#1)

Jian,

What kind of input file are you attempting to forest? The configurations are very sensitive to the process names used during reconstruction, so if you can show us the configuration used for reco that will help.

runForest_44X_allTracks.py is generally only used if you are comparing different tracking methods. You should use runForest_44X.py for data and runForest_MC_44X.py for MC. What kind of forest are you expecting at the end?

Alex

On Tue, Dec 17, 2013 at 3:15 PM, jiansunpurdue notifications@github.comwrote:

Dear HiForest experts,

I followed the instructions in setup_hiForest2_44x_git.sh and tried to run the code in CMSSW_4_4_4. But the cfg files didn't work.

First, I tried runForest_44X_allTracks.py. The error is followed:

----- Begin Fatal Exception 17-Dec-2013 21:08:30 CET----------------------- An exception of category 'ConfigFileReadError' occurred while [0] Processing the python configuration file named runForest_44X_allTracks.py Exception Message: python encountered the error: An entry in sequence hiRecoAllJets has no label ----- End Fatal Exception -------------------------------------------------

Then, I tried runForest_44X.py. There was error again as followed:

Begin processing the 1st record. Run 181969, Event 34206081, LumiSection 842 at 17-Dec-2013 21:10:28.653 CET ----- Begin Fatal Exception 17-Dec-2013 21:10:28 CET----------------------- An exception of category 'ProductNotFound' occurred while [0] Processing run: 181969 lumi: 842 event: 34206081 [1] Running path 'reco_extra' [2] Calling event method for module TrackSelector/'hiTracks' Exception Message: Principal::getByLabel: Found zero products matching all criteria Looking for type: std::vectorreco::Track Looking for module label: hiGeneralCaloMatchedTracks Looking for productInstanceName:

Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception ------------------------------------------------- 17-Dec-2013 21:10:28 CET Closed file file:/afs/ cern.ch/work/j/jisun/public/2011reco_highpt.root

TrigReport ---------- Event Summary ------------ TrigReport Events total = 1 passed = 0 failed = 1

I wondered if there is updated setup or cfg files, or if there was something wrong with what I did.

Thanks.

Jian

— Reply to this email directly or view it on GitHubhttps://github.com/CmsHI/HiForestSetup/issues/1 .

— Reply to this email directly or view it on GitHub . — Reply to this email directly or view it on GitHub.

jiansunpurdue commented 10 years ago

Hi Yetkin,

I am producing D meson tree with /HIHighPt/HIRun2011-PromptReco-v1/RECO. But to see the D meson in different centrality bins or with different triggers, I need information from hiforest. So I will match D meson tree to hiforest event by event.

However, for 2011 data, we just have hiforest with specific trigger paths such as HLT_Jet80, which is just about 1/30 events of those in the dataset. If I match my tree to the hiforest triggered by HLT_Jet80, I will lose most of the events. Right?

So we thought we can produce a reduced hiforest just keeping hiEvtAnalyzer and hltanalyzer but with all events. Then I can match the D meson tree to the reduced hiforest and get the centrality, trigger infomation, etc of all events.

Does this make sense?

Thanks.

Jian

----- Original Message ----- From: "yetkinyilmaz" notifications@github.com To: "CmsHI/HiForestSetup" HiForestSetup@noreply.github.com Cc: "jiansunpurdue" sun229@purdue.edu Sent: Tuesday, December 17, 2013 5:21:31 PM Subject: Re: [HiForestSetup] Problem with cfg files in 44X (#1)

Hi Jian; are you sure this is the most efficient approach? Do you really need to re-process the sample? If the available files contain all the information you need, it should be straightforward to reduce it to smaller files. Can you clarify a bit better? Maybe you can try to describe your goal briefly in tomorrow's high-pt meeting?

On Dec 17, 2013, at 10:34 PM, jiansunpurdue notifications@github.com wrote:

Hi Alex,

I am trying to use this dataset: /HIHighPt/HIRun2011-PromptReco-v1/RECO With the hiforest production cfg files, I want to reproduce a reduced hiforest, just keeping two or three trees.

For 2011 data hiforest, we just have hiforest with specific trigger path, right? So I want to produce kind of reduced hiforest probably just keeping hiEvtAnalyzer and hltanalysis but with all events. Do you think if this is practicable?

So now I want to have a cfg file that I can reproduce the 2011 data hiforest. Then based on it, I remove the paths I don't need and get the reduced cfg file.

Thanks.

Jian

----- Original Message ----- From: "R. Alex Barbieri" notifications@github.com To: "CmsHI/HiForestSetup" HiForestSetup@noreply.github.com Cc: "jiansunpurdue" sun229@purdue.edu Sent: Tuesday, December 17, 2013 3:46:11 PM Subject: Re: [HiForestSetup] Problem with cfg files in 44X (#1)

Jian,

What kind of input file are you attempting to forest? The configurations are very sensitive to the process names used during reconstruction, so if you can show us the configuration used for reco that will help.

runForest_44X_allTracks.py is generally only used if you are comparing different tracking methods. You should use runForest_44X.py for data and runForest_MC_44X.py for MC. What kind of forest are you expecting at the end?

Alex

On Tue, Dec 17, 2013 at 3:15 PM, jiansunpurdue notifications@github.comwrote:

Dear HiForest experts,

I followed the instructions in setup_hiForest2_44x_git.sh and tried to run the code in CMSSW_4_4_4. But the cfg files didn't work.

First, I tried runForest_44X_allTracks.py. The error is followed:

----- Begin Fatal Exception 17-Dec-2013 21:08:30 CET----------------------- An exception of category 'ConfigFileReadError' occurred while [0] Processing the python configuration file named runForest_44X_allTracks.py Exception Message: python encountered the error: An entry in sequence hiRecoAllJets has no label ----- End Fatal Exception -------------------------------------------------

Then, I tried runForest_44X.py. There was error again as followed:

Begin processing the 1st record. Run 181969, Event 34206081, LumiSection 842 at 17-Dec-2013 21:10:28.653 CET ----- Begin Fatal Exception 17-Dec-2013 21:10:28 CET----------------------- An exception of category 'ProductNotFound' occurred while [0] Processing run: 181969 lumi: 842 event: 34206081 [1] Running path 'reco_extra' [2] Calling event method for module TrackSelector/'hiTracks' Exception Message: Principal::getByLabel: Found zero products matching all criteria Looking for type: std::vectorreco::Track Looking for module label: hiGeneralCaloMatchedTracks Looking for productInstanceName:

Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception ------------------------------------------------- 17-Dec-2013 21:10:28 CET Closed file file:/afs/ cern.ch/work/j/jisun/public/2011reco_highpt.root

TrigReport ---------- Event Summary ------------ TrigReport Events total = 1 passed = 0 failed = 1

I wondered if there is updated setup or cfg files, or if there was something wrong with what I did.

Thanks.

Jian

— Reply to this email directly or view it on GitHubhttps://github.com/CmsHI/HiForestSetup/issues/1 .

— Reply to this email directly or view it on GitHub . — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub .

yetkinyilmaz commented 10 years ago

Hi Jian; So basically, you're missing the information needed to reconstruct the D's and you really need to process data for that.

I am somehow sceptic about being able to synch the two separate sets of ntuples. I would rather advocate having the relevant information in your processing.

On another side, what is the input to the D-meson reconstruction, i.e. which tracks do you care about? Are you sure the contents of the dataset you mention will be satisfactory?

Anyway, I think this discussion is probably more suited for hn, because it's not really a software issue. @kurtejung etc should also be able to follow for example.

Can we close this thread and keep discussing elsewhere?

On Dec 17, 2013, at 11:36 PM, jiansunpurdue notifications@github.com wrote:

Hi Yetkin,

I am producing D meson tree with /HIHighPt/HIRun2011-PromptReco-v1/RECO. But to see the D meson in different centrality bins or with different triggers, I need information from hiforest. So I will match D meson tree to hiforest event by event.

However, for 2011 data, we just have hiforest with specific trigger paths such as HLT_Jet80, which is just about 1/30 events of those in the dataset. If I match my tree to the hiforest triggered by HLT_Jet80, I will lose most of the events. Right?

So we thought we can produce a reduced hiforest just keeping hiEvtAnalyzer and hltanalyzer but with all events. Then I can match the D meson tree to the reduced hiforest and get the centrality, trigger infomation, etc of all events.

Does this make sense?

Thanks.

Jian

----- Original Message ----- From: "yetkinyilmaz" notifications@github.com To: "CmsHI/HiForestSetup" HiForestSetup@noreply.github.com Cc: "jiansunpurdue" sun229@purdue.edu Sent: Tuesday, December 17, 2013 5:21:31 PM Subject: Re: [HiForestSetup] Problem with cfg files in 44X (#1)

Hi Jian; are you sure this is the most efficient approach? Do you really need to re-process the sample? If the available files contain all the information you need, it should be straightforward to reduce it to smaller files. Can you clarify a bit better? Maybe you can try to describe your goal briefly in tomorrow's high-pt meeting?

On Dec 17, 2013, at 10:34 PM, jiansunpurdue notifications@github.com wrote:

Hi Alex,

I am trying to use this dataset: /HIHighPt/HIRun2011-PromptReco-v1/RECO With the hiforest production cfg files, I want to reproduce a reduced hiforest, just keeping two or three trees.

For 2011 data hiforest, we just have hiforest with specific trigger path, right? So I want to produce kind of reduced hiforest probably just keeping hiEvtAnalyzer and hltanalysis but with all events. Do you think if this is practicable?

So now I want to have a cfg file that I can reproduce the 2011 data hiforest. Then based on it, I remove the paths I don't need and get the reduced cfg file.

Thanks.

Jian

----- Original Message ----- From: "R. Alex Barbieri" notifications@github.com To: "CmsHI/HiForestSetup" HiForestSetup@noreply.github.com Cc: "jiansunpurdue" sun229@purdue.edu Sent: Tuesday, December 17, 2013 3:46:11 PM Subject: Re: [HiForestSetup] Problem with cfg files in 44X (#1)

Jian,

What kind of input file are you attempting to forest? The configurations are very sensitive to the process names used during reconstruction, so if you can show us the configuration used for reco that will help.

runForest_44X_allTracks.py is generally only used if you are comparing different tracking methods. You should use runForest_44X.py for data and runForest_MC_44X.py for MC. What kind of forest are you expecting at the end?

Alex

On Tue, Dec 17, 2013 at 3:15 PM, jiansunpurdue notifications@github.comwrote:

Dear HiForest experts,

I followed the instructions in setup_hiForest2_44x_git.sh and tried to run the code in CMSSW_4_4_4. But the cfg files didn't work.

First, I tried runForest_44X_allTracks.py. The error is followed:

----- Begin Fatal Exception 17-Dec-2013 21:08:30 CET----------------------- An exception of category 'ConfigFileReadError' occurred while [0] Processing the python configuration file named runForest_44X_allTracks.py Exception Message: python encountered the error: An entry in sequence hiRecoAllJets has no label ----- End Fatal Exception -------------------------------------------------

Then, I tried runForest_44X.py. There was error again as followed:

Begin processing the 1st record. Run 181969, Event 34206081, LumiSection 842 at 17-Dec-2013 21:10:28.653 CET ----- Begin Fatal Exception 17-Dec-2013 21:10:28 CET----------------------- An exception of category 'ProductNotFound' occurred while [0] Processing run: 181969 lumi: 842 event: 34206081 [1] Running path 'reco_extra' [2] Calling event method for module TrackSelector/'hiTracks' Exception Message: Principal::getByLabel: Found zero products matching all criteria Looking for type: std::vectorreco::Track Looking for module label: hiGeneralCaloMatchedTracks Looking for productInstanceName:

Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception ------------------------------------------------- 17-Dec-2013 21:10:28 CET Closed file file:/afs/ cern.ch/work/j/jisun/public/2011reco_highpt.root

TrigReport ---------- Event Summary ------------ TrigReport Events total = 1 passed = 0 failed = 1

I wondered if there is updated setup or cfg files, or if there was something wrong with what I did.

Thanks.

Jian

— Reply to this email directly or view it on GitHubhttps://github.com/CmsHI/HiForestSetup/issues/1 .

— Reply to this email directly or view it on GitHub . — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub . — Reply to this email directly or view it on GitHub.

jiansunpurdue commented 10 years ago

Hi YetKin,

Sure, we can close this thread here.

I will start another email to answer your questions.

Thanks.

Jian

----- Original Message ----- From: "yetkinyilmaz" notifications@github.com To: "CmsHI/HiForestSetup" HiForestSetup@noreply.github.com Cc: "jiansunpurdue" sun229@purdue.edu Sent: Wednesday, December 18, 2013 8:02:14 AM Subject: Re: [HiForestSetup] Problem with cfg files in 44X (#1)

Hi Jian; So basically, you're missing the information needed to reconstruct the D's and you really need to process data for that.

I am somehow sceptic about being able to synch the two separate sets of ntuples. I would rather advocate having the relevant information in your processing.

On another side, what is the input to the D-meson reconstruction, i.e. which tracks do you care about? Are you sure the contents of the dataset you mention will be satisfactory?

Anyway, I think this discussion is probably more suited for hn, because it's not really a software issue. @kurtejung etc should also be able to follow for example.

Can we close this thread and keep discussing elsewhere?

On Dec 17, 2013, at 11:36 PM, jiansunpurdue notifications@github.com wrote:

Hi Yetkin,

I am producing D meson tree with /HIHighPt/HIRun2011-PromptReco-v1/RECO. But to see the D meson in different centrality bins or with different triggers, I need information from hiforest. So I will match D meson tree to hiforest event by event.

However, for 2011 data, we just have hiforest with specific trigger paths such as HLT_Jet80, which is just about 1/30 events of those in the dataset. If I match my tree to the hiforest triggered by HLT_Jet80, I will lose most of the events. Right?

So we thought we can produce a reduced hiforest just keeping hiEvtAnalyzer and hltanalyzer but with all events. Then I can match the D meson tree to the reduced hiforest and get the centrality, trigger infomation, etc of all events.

Does this make sense?

Thanks.

Jian

----- Original Message ----- From: "yetkinyilmaz" notifications@github.com To: "CmsHI/HiForestSetup" HiForestSetup@noreply.github.com Cc: "jiansunpurdue" sun229@purdue.edu Sent: Tuesday, December 17, 2013 5:21:31 PM Subject: Re: [HiForestSetup] Problem with cfg files in 44X (#1)

Hi Jian; are you sure this is the most efficient approach? Do you really need to re-process the sample? If the available files contain all the information you need, it should be straightforward to reduce it to smaller files. Can you clarify a bit better? Maybe you can try to describe your goal briefly in tomorrow's high-pt meeting?

On Dec 17, 2013, at 10:34 PM, jiansunpurdue notifications@github.com wrote:

Hi Alex,

I am trying to use this dataset: /HIHighPt/HIRun2011-PromptReco-v1/RECO With the hiforest production cfg files, I want to reproduce a reduced hiforest, just keeping two or three trees.

For 2011 data hiforest, we just have hiforest with specific trigger path, right? So I want to produce kind of reduced hiforest probably just keeping hiEvtAnalyzer and hltanalysis but with all events. Do you think if this is practicable?

So now I want to have a cfg file that I can reproduce the 2011 data hiforest. Then based on it, I remove the paths I don't need and get the reduced cfg file.

Thanks.

Jian

----- Original Message ----- From: "R. Alex Barbieri" notifications@github.com To: "CmsHI/HiForestSetup" HiForestSetup@noreply.github.com Cc: "jiansunpurdue" sun229@purdue.edu Sent: Tuesday, December 17, 2013 3:46:11 PM Subject: Re: [HiForestSetup] Problem with cfg files in 44X (#1)

Jian,

What kind of input file are you attempting to forest? The configurations are very sensitive to the process names used during reconstruction, so if you can show us the configuration used for reco that will help.

runForest_44X_allTracks.py is generally only used if you are comparing different tracking methods. You should use runForest_44X.py for data and runForest_MC_44X.py for MC. What kind of forest are you expecting at the end?

Alex

On Tue, Dec 17, 2013 at 3:15 PM, jiansunpurdue notifications@github.comwrote:

Dear HiForest experts,

I followed the instructions in setup_hiForest2_44x_git.sh and tried to run the code in CMSSW_4_4_4. But the cfg files didn't work.

First, I tried runForest_44X_allTracks.py. The error is followed:

----- Begin Fatal Exception 17-Dec-2013 21:08:30 CET----------------------- An exception of category 'ConfigFileReadError' occurred while [0] Processing the python configuration file named runForest_44X_allTracks.py Exception Message: python encountered the error: An entry in sequence hiRecoAllJets has no label ----- End Fatal Exception -------------------------------------------------

Then, I tried runForest_44X.py. There was error again as followed:

Begin processing the 1st record. Run 181969, Event 34206081, LumiSection 842 at 17-Dec-2013 21:10:28.653 CET ----- Begin Fatal Exception 17-Dec-2013 21:10:28 CET----------------------- An exception of category 'ProductNotFound' occurred while [0] Processing run: 181969 lumi: 842 event: 34206081 [1] Running path 'reco_extra' [2] Calling event method for module TrackSelector/'hiTracks' Exception Message: Principal::getByLabel: Found zero products matching all criteria Looking for type: std::vectorreco::Track Looking for module label: hiGeneralCaloMatchedTracks Looking for productInstanceName:

Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception ------------------------------------------------- 17-Dec-2013 21:10:28 CET Closed file file:/afs/ cern.ch/work/j/jisun/public/2011reco_highpt.root

TrigReport ---------- Event Summary ------------ TrigReport Events total = 1 passed = 0 failed = 1

I wondered if there is updated setup or cfg files, or if there was something wrong with what I did.

Thanks.

Jian

— Reply to this email directly or view it on GitHubhttps://github.com/CmsHI/HiForestSetup/issues/1 .

— Reply to this email directly or view it on GitHub . — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub . — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub .